WO2021208994A1 - Sub-bitstream extraction - Google Patents
Sub-bitstream extraction Download PDFInfo
- Publication number
- WO2021208994A1 WO2021208994A1 PCT/CN2021/087382 CN2021087382W WO2021208994A1 WO 2021208994 A1 WO2021208994 A1 WO 2021208994A1 CN 2021087382 W CN2021087382 W CN 2021087382W WO 2021208994 A1 WO2021208994 A1 WO 2021208994A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- aps
- chroma
- alf
- video
- bitstream
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Definitions
- This patent document relates to image and video coding and decoding.
- Digital video accounts for the largest bandwidth use on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, it is expected that the bandwidth demand for digital video usage will continue to grow.
- the present document discloses techniques that can be used by video encoders and decoders for processing coded representation of video using control information useful for decoding of the coded representation.
- a video processing method includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies that a variable indicating a number of sublayers in each coding layer of each output layer set is derived based on syntax elements included in a video parameter set (VPS) ; and wherein the rule further specifies that, during a sub-bitstream extraction process, information from the variable is used to remove video coding layer network abstraction layer units from the bitstream.
- VPS video parameter set
- a video processing method includes determining, for a conversion between a video comprising a video block and a bitstream of the video, that default chroma quantization parameter (QP) tables are based on a value of a ChromaArrayType that indicates a color format of the video; and performing the conversion based on the determining.
- QP chroma quantization parameter
- a video processing method includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies a number of adaptation parameter set (APS) network abstraction layer units or a characteristic of the APS network abstraction layer units that include information for the conversion.
- APS adaptation parameter set
- a video processing method includes performing a conversion between a video comprising video pictures and a coded representation of the video, wherein the coded representation conforms to a format rule, wherein the format rule specifies whether and where one or more syntax elements indicative of one or more initial quantization parameter (QP) values used during the conversion are included in the coded representation.
- a video encoder apparatus is disclosed. The video encoder comprises a processor configured to implement above-described methods.
- a video decoder apparatus comprising a processor configured to implement above-described methods.
- a computer readable medium having code stored thereon is disclose.
- the code embodies one of the methods described herein in the form of processor-executable code.
- FIG. 1 is an illustration of the two scalar quantizers used in dependent quantization.
- FIG. 2 shows an example of state transition and quantizer selection for dependent quantization.
- FIG. 3 is a block diagram of an example video processing system.
- FIG. 4 is a block diagram of a video processing apparatus.
- FIG. 5 is a flowchart for an example method of video processing.
- FIG. 6 is a block diagram that illustrates a video coding system in accordance with some embodiments of the present disclosure.
- FIG. 7 is a block diagram that illustrates an encoder in accordance with some embodiments of the present disclosure.
- FIG. 8 is a block diagram that illustrates a decoder in accordance with some embodiments of the present disclosure.
- FIGS. 9 to 11 are flowcharts for example methods of video processing.
- This invention is related to video coding technologies. Specifically, it is related to initial quantization parameter (QP) and chroma QP table in video coding. It may be applied to the existing video coding standard like HEVC, or the standard (Versatile Video Coding) to be finalized. It may be also applicable to future video coding standards or video codec.
- QP initial quantization parameter
- chroma QP table in video coding. It may be applied to the existing video coding standard like HEVC, or the standard (Versatile Video Coding) to be finalized. It may be also applicable to future video coding standards or video codec.
- Video coding standards have evolved primarily through the development of the well-known ITU-T and ISO/IEC standards.
- the ITU-T produced H. 261 and H. 263, ISO/IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced the H. 262/MPEG-2 Video and H. 264/MPEG-4 Advanced Video Coding (AVC) and H. 265/HEVC standards.
- AVC H. 264/MPEG-4 Advanced Video Coding
- H. 265/HEVC High Efficiency Video Coding
- the video coding standards are based on the hybrid video coding structure wherein temporal prediction plus transform coding are utilized.
- Joint Video Exploration Team JVET was founded by VCEG and MPEG jointly in 2015.
- JVET Joint Exploration Model
- VVC draft i.e., Versatile Video Coding (Draft 8)
- Draft 8 Versatile Video Coding
- HEVC High Efficiency Video Coding
- a fixed look-up table is used to convert the luma quantization parameter QPY to chroma quantization parameter QPC.
- VVC a more flexible luma-to-chroma QP mapping is used.
- the luma-to-chroma QP mapping relationship is signalled in the SPS using a flexible piecewise linear model, with the only constraint on the linear model being that the slope of each piece cannot be negative (i.e., as luma QP increases, chroma QP must stay flat or increase, but cannot decrease) .
- the piecewise linear model is defined by: 1) the number of pieces in the model; 2) input (luma) and output (chroma) delta QPs for that piece.
- the input range of the piecewise linear model is [-QpBdOffsetY, 63] and the output range of the piecewise linear model is [-QpBdOffsetC, 63] .
- the QP mapping relationship can be signalled separately for Cb, Cr and joint Cb/Cr coding, or signalled jointly for all three types of residual coding.
- CU-level QP adaptation is allowed in VVC.
- Delta QP values for luma and chroma components can be signalled separately.
- the allowed chroma QP offset values are signalled in the form of offset lists in the PPS in a similar manner as in HEVC.
- the lists are defined separately for Cb, Cr and joint Cb/Cr coding. Up to 6 offset values are allowed for each of Cb, Cr, and joint Cb/Cr lists.
- an index is signalled to indicate which one of the offset values in the offset list is used to adjust the chroma QP for that CU.
- CU chroma QP offset signalling is also consistent with the VPDU CU QP delta availability, and for CU larger than 64x64, send the chroma QP offset with the first transform unit regardless of whether it has non-zero CBF or not.
- dependent scalar quantization refers to an approach in which the set of admissible reconstruction values for a transform coefficient depends on the values of the transform coefficient levels that precede the current transform coefficient level in reconstruction order.
- the main effect of this approach is that, in comparison to conventional independent scalar quantization as used in HEVC, the admissible reconstruction vectors are packed denser in the N-dimensional vector space (N represents the number of transform coefficients in a transform block) . That means, for a given average number of admissible reconstruction vectors per N-dimensional unit volume, the average distortion between an input vector and the closest reconstruction vector is reduced.
- the approach of dependent scalar quantization is realized by: (a) defining two scalar quantizers with different reconstruction levels and (b) defining a process for switching between the two scalar quantizers.
- the two scalar quantizers used are illustrated in FIG. 1.
- the location of the available reconstruction levels is uniquely specified by a quantization step size ⁇ .
- the scalar quantizer used (Q0 or Q1) is not explicitly signalled in the bitstream. Instead, the quantizer used for a current transform coefficient is determined by the parities of the transform coefficient levels that precede the current transform coefficient in coding/reconstruction order.
- the switching between the two scalar quantizers is realized via a state machine with four states.
- the state can take four different values: 0, 1, 2, 3. It is uniquely determined by the parities of the transform coefficient levels preceding the current transform coefficient in coding/reconstruction order.
- the state is set equal to 0.
- the transform coefficients are reconstructed in scanning order (i.e., in the same order they are entropy decoded) .
- the state is updated as shown in Figure 18, where k denotes the value of the transform coefficient level.
- VVC supports to use the default scaling matrices or signal user-defined scaling matrices.
- the DEFAULT mode scaling matrices are all flat, with elements equal to 16 for all TB sizes. IBC and intra coding modes currently share the same scaling matrices.
- the number of MatrixType and MatrixType_DC are updated as follows:
- MatrixType: 30 2 (2 for intra&IBC/inter) ⁇ 3 (Y/Cb/Cr components) ⁇ 5 (square TB size: from 4 ⁇ 4 to 64 ⁇ 64 for luma, from 4 ⁇ 4 to 32 ⁇ 32 for chroma)
- the DC values are separately coded for following scaling matrices: 16 ⁇ 16, 32 ⁇ 32, and 64 ⁇ 64.
- scaling matrices 16 ⁇ 16, 32 ⁇ 32, and 64 ⁇ 64.
- the 8 ⁇ 8 base scaling matrix is up-sampled (by duplication of elements) to the corresponding square size (i.e. 16 ⁇ 16, 32 ⁇ 32, 64 ⁇ 64) .
- the zeroing-out of the high frequency coefficients for 64-point transform is applied, corresponding high frequencies of the scaling matrices are also zeroed out.
- the width or height of the TB is greater than or equal to 32, only left or top half of the coefficients is kept, and the remaining coefficients are assigned to zero. Moreover, the number of elements signalled for the 64 ⁇ 64 scaling matrix is also reduced from 8 ⁇ 8 to three 4 ⁇ 4 submatrices, since the bottom-right 4 ⁇ 4 elements are never used.
- 2x2, 2x4, and 4x2 chroma intra coding blocks (CBs) do not exist, and the smallest intra block size is equal to 2x8 and 8x2, as well as the smallest chroma intra block copy (IBC) block size. Furthermore, inter-prediction is disabled for 4x4 luma CBs.
- 2x2 chroma blocks can be created only by applying a subblock transform (SBT) .
- SBT subblock transform
- 2x2 intra chroma quantization matrices QMs are removed from the default QM list, and not code user-defined intra QMs for this size.
- VVC supports a mode where the chroma residuals are coded jointly; this is named as JCCR (Joint Coding of Chroma Residuals) .
- JCCR Joint Coding of Chroma Residuals
- the usage (activation) of a joint chroma coding mode is indicated by a TU-level flag tu_joint_cbcr_residual_flag and the selected mode is implicitly indicated by the chroma CBFs.
- the flag tu_joint_cbcr_residual_flag is present if either or both chroma CBFs for a TU are equal to 1.
- chroma QP offset values are signalled for the joint chroma residual coding mode to differentiate from the usual chroma QP offset values signalled for regular chroma residual coding mode. These chroma QP offset values are used to derive the chroma QP values for those blocks coded using the joint chroma residual coding mode.
- a corresponding joint chroma coding mode modes 2 in the following table
- this chroma QP offset is added to the applied luma-derived chroma QP during quantization and decoding of that TU.
- the chroma QPs are derived in the same way as for conventional Cb or Cr blocks.
- the reconstruction process of the chroma residuals (resCb and resCr) from the transmitted transform blocks is depicted in Table 1.
- this mode is activated, one single joint chroma residual block (resJointC [x] [y] in the following table) is signalled, and residual block for Cb (resCb) and residual block for Cr (resCr) are derived considering information such as tu_cbf_cb, tu_cbf_cr, and CSign, which is a sign value specified in the slice header.
- the joint chroma components are derived as explained in the following.
- resJointC ⁇ 1, 2 ⁇ are generated by the encoder as follows:
- the value CSign is a sign value (+1 or -1) , which is specified in the slice header, resJointC [] [] is the transmitted residual.
- the SPS includes a structure named chroma QP table, shown as follows:
- sps_joint_cbcr_enabled_flag 0 specifies that the joint coding of chroma residuals is disabled.
- sps_joint_cbcr_enabled_flag 1 specifies that the joint coding of chroma residuals is enabled.
- the value of sps_joint_cbcr_enabled_flag is inferred to be equal to 0.
- same_qp_table_for_chroma 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1.
- same_qp_table_for_chroma 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, are signalled in the SPS.
- same_qp_table_for_chroma is not present in the bitstream, the value of same_qp_table_for_chroma is inferred to be equal to 1.
- qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table.
- the value of qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive.
- the value of qp_table_start_minus26 [i] is inferred to be equal to 0.
- num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table.
- the value of num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1 [0] is inferred to be equal to 0.
- delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table.
- delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
- delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table.
- ChromaQpTable [i] for i 0..
- numQpTables -1 is derived as follows:
- ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- QpBdOffset is derived as:
- bit_depth_minus8 specifies the bit depth of the samples of the luma and chroma arrays, BitDepth, and the value of the luma and chroma quantization parameter range offset, QpBdOffset, as follows:
- BitDepth 8 + bit_depth_minus8
- bit_depth_minus8 shall be in the range of 0 to 8, inclusive.
- init_qp_minus26 There is a syntax element, named init_qp_minus26, in PPS.
- the semantics is as follows: init_qp_minus26 plus 26 specifies the initial value of SliceQp Y for each slice referring to the PPS.
- the initial value of SliceQp Y is modified at the picture level when a non-zero value of ph_qp_delta is decoded or at the slice level when a non-zero value of slice_qp_delta is decoded.
- the value of init_qp_minus26 shall be in the range of - (26 + QpBdOffset) to +37, inclusive.
- the value of SliceQp Y shall be in the range of -QpBdOffset to +63, inclusive.
- I and B/P pictures or slices may need different chroma QP tables, however, they share the same in the current VVC draft text.
- Transform skip may need another chroma QP table.
- Chroma QP table start point should cover the whole QP range which is not the case in the current design.
- Chroma QP table may have a biased start point.
- the number of points in a chroma QP table should be able to be 0, but this is disallowed in the current design since the num_points_in_qp_table_minus1 is coded and the minimum allowed value of the syntax element is equal to 0 and consequently the minimum number of points is 1.
- Specifying a QP clipping in the derivation of chroma QP may be better than specifying a bitstream conformance constraint for limiting the derived chroma QP value, as the former would prevent a violation from happening.
- slice_ts_residual_coding_disabled_flag is used to specify whether transform skip based residual coding (TSRC) or regular residual coding (RRC) is used for a transform bock.
- TSRC transform skip based residual coding
- RRC regular residual coding
- SPS/PPS higer-level
- CU/TU lower-level
- chroma ALF and CC-ALF are disabled implicitly when luma ALF is disabled at SPS/PH/SH. However, such a restriction is not applied at CTU level. When luma ALF is disabled for a CTU, the chroma ALF and CC-ALF may still be applied for the CTU. Such a design is conflicting with the intention of controlling chroma ALF/CC-ALF based on luma ALF at higher levels
- Chroma QP tables may have a default set of values, dependent on colour format.
- nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT.
- nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in the range of 0 to NumLayersInOls [targetOlsIdx] -1 inclusive.
- TemporalId is greater than or equal to NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
- parameter sets etc. non-VCL NAL units that satisfy the all the three conditions would also be removed. That is not desirable, and parameter sets, e.g., PPSs and APSs can be shared by pictures with different TemporalId values, and can be placed at the beginning of the bitstream.
- the current spec allows 8 ALF_APS, 8 SCALING_APS, and 3 LMCS APS, respectively.
- the number of APS NAL units allowed for pictures may be not enough, e.g., a typical use case is that a picture contains 96 subpictures and each subpicture may require different ALF_APS. In such case, current eight ALF_APS NAL units are not sufficient to achieve a decent coding efficiency. Therefore, there is a need to support a larger number of APSs.
- floor (x) denotes a function that returns the greatest integer that is less than or equal to x.
- the initial QP value syntax element which is used to specify the initial QP values, e.g., currently denoted as init_qp_minus26 in JVET-Q2001-vC, in PPS may be moved to PH.
- the initial QP value syntax element may be repeated at PH.
- the initial QP value syntax element may be signalled in both PPS and PH, and the initial QP value syntax element signalled in PH may override or update (by adding the signalled delta) the initial QP value syntax element signalled in PPS.
- the initial QP value syntax element may be signalled in the SPS, possibly also signalled in one or more of the PPS, PH, and SH, and when present, the value at a lower level overrides or updates (by adding the signalled delta) the value signalled at a higher level.
- the initial QP value signalled at the highest level is ue (v) coded
- the delta values signalled in the lower levels are se (v) coded.
- each of them may be corresponding to a specific type.
- the specific type may include a picture/slice type (e.g., I/P/B; Intra/Inter) .
- a picture/slice type e.g., I/P/B; Intra/Inter
- the specific type may include a video content type (e.g., screen content or camera captured content) .
- the specific type may include an index of a subpicture or other subpicture identification information, i.e., different subpictures may be associated with different syntax elements for initial QPs derivation.
- the specific type may include an index of a slice or other slice identification information, i.e., different slices may be associated with different syntax elements for initial QPs derivation.
- the specific type may include an index of a tile or other tile identification information, i.e., different tiles may be associated with different syntax elements for initial QPs derivation.
- the specific type may include a transform type. (e.g., transform skip mode or not transform skip mode) .
- the initial QP value syntax element (e.g., in SH/PH/PPS/SPS) may be offseted by a number K not equal to 26.
- K is smaller than 26.
- the syntax element may be replaced by init_qp_minusK and/or the value of the syntax element shall be in the range of - (K+QpBdOffset) to (63-K) , inclusive, where K is smaller than 26.
- K is equal to 20.
- the syntax element may be replaced by init_qp_minus20 and/or the value of the syntax element shall be in the range of - (20+QpBdOffset) to 43 (i.e., 63-20) , inclusive.
- K is larger than 26.
- the syntax element may be replaced by init_qp_minusK, and the value of the syntax element shall be in the range of - (K+QpBdOffset) to (63-K) , inclusive, where K is a constant larger than 26.
- K is equal to 32.
- the syntax element may be replaced by init_qp_minus32 and the value of the syntax element shall be in the range of - (32+QpBdOffset) to 31 (i.e., 63-32) , inclusive.
- K may be set to a function of the maximum allowed QP and/or the the minimum allowed QP. For example, K may be set equal to (the maximum allowed QP -the minimum allowed QP) /2 or (the maximum allowed QP + 1 -the minimum allowed QP) /2.
- K may be dependent on picture/slice/block types; and/or prediction modes and/or bitdepth.
- the value of K for a I slice/picture is no greater than that for a P/B slices/pictures.
- the initial QP value syntax element (e.g., in SH/PH/PPS) may be offseted by a number dependent on the internal bit depth.
- the initial QP value syntax element may be offseted by floor ( (-QpBdOffset+M) /2) .
- the value of the syntax element plus floor ( (-QpBdOffset+M) /2) shall be in the range of -QpBdOffset to 63, inclusive.
- the initial QP value syntax element may be offseted by (floor ( (-QpBdOffset+M) /2) + K) , where K is a constant number.
- the value of the syntax element plus (floor ( (-QpBdOffset+M) /2) + K) shall be in the range of -QpBdOffset to N, inclusive.
- N may be set to the maximum allowed QP value (e.g., 63) .
- M may be set to the maximum allowed QP value (e.g., 63) or maximum allowed QP value plus/minus 1.
- Chroma QP tables may be determined according to picture/slice types.
- different picture/slice types may have different sets of chroma QP tables.
- I pictures/slices may have their own chroma QP tables.
- I and B and P pictures/slices may each have their own chroma QP tables.
- B and P pictures/slices may share the same set of chroma QP tables.
- the number of chroma QP tables to be signalled may be dependent on M.
- semantics of same_qp_table_for_chroma may be further modified to ‘same_qp_table_for_chroma equal to 1 specifies that only one chroma QP mapping table is signalled for a picture/slice type’ .
- number of chroma QP tables to be signalled may be set to (same_qp_table_for_chroma ? 1 : (M* (sps_joint_cbcr_enabled_flag ? 3 : 2) ) ) wherein M is greater than 1.
- iii an indication of whether all blocks share the same chroma QP tables is firstly signalled, and number of QP tables may be set to (same qp table for chroma ? 1 : (sps_joint_cbcr_enabled_flag ? 3 : 2) ) , followed by detailed information of chroma QP tables.
- An indication e.g., sps_non_intra_present_flag, may be added into SPS to indicate if the current sequence may contain B/P slices.
- the flag when the flag is 1, it indicates that all slices in the current sequences are of intra slices.
- the flag when the flag is 0, it indicates that there may be B/P slices in the current sequence.
- Either one or two sets of chroma QP tables may be signalled in the SPS.
- a flag is added to the SPS, e.g., named sps_one_set_of_chroma_qp_tables_flag.
- sps_one_set_of_chroma_qp_tables_flag 1 specifies the presence of one set of chroma QP tables in the SPS (i.e., as in the current VVC draft text) , and this set of chroma QP tables only applies to intra coded entities (pictures, slices, CTUS, CUs, or coded blocks) .
- the only set of chroma QP tables applies only to intra pictures (for which all slices are intra slices, i.e., I slices) in CLVSs referring to the SPS.
- the only set of chroma QP tables applies only to intra slices in CLVSs referring to the SPS.
- the only set of chroma QP tables applies only to intra CTUs in CLVSs referring to the SPS.
- the only set of chroma QP tables applies only to intra CUs in CLVSs referring to the SPS.
- the only set of chroma QP tables applies only to intra coded blocks in CLVSs referring to the SPS.
- sps_one_set_of_chroma_qp_tables_flag 1 specifies the presence of one set of chroma QP tables in the SPS (i.e., as in the current VVC draft text) , and this set of chroma QP tables applies to both intra and inter coded entities (pictures, slices, CTUS, CUs, or coded blocks) .
- sps_one_set_of_chroma_qp_tables_flag 0 specifies the presence of two set of chroma QP tables in the SPS (i.e., adding one more set of chroma QP tables) , the 0-th set of chroma QP tables only applies to intra coded entities (pictures, slices, CTUS, CUs, or coded blocks) , and the 1-th set of chroma QP tables only applies to inter coded entities (pictures, slices, CTUS, CUs, or coded blocks) .
- the 0-th set of chroma QP tables applies only to intra pictures (for which all slices are intra slices) in CLVSs referring to the SPS
- the 1-th set of chroma QP tables applies only to inter pictures (for which all slices are inter slices, i.e., B or P slices) in CLVSs referring to the SPS.
- the 0-th set of chroma QP tables applies only to intra slices in CLVSs referring to the SPS, and the 1-th set of chroma QP tables applies only to inter slices in CLVSs referring to the SPS.
- the 0-th set of chroma QP tables applies only to intra CTUs in CLVSs referring to the SPS
- the 1-th set of chroma QP tables applies only to inter CTUs in CLVSs referring to the SPS.
- the 0-th set of chroma QP tables applies only to intra CUs in CLVSs referring to the SPS
- the 1-th set of chroma QP tables applies only to inter CUs in CLVSs referring to the SPS.
- the 0-th set of chroma QP tables applies only to intra coded blocks in CLVSs referring to the SPS
- the 1-th set of chroma QP tables applies only to inter coded blocks in CLVSs referring to the SPS.
- the flag may be sent only when ChromaArrayType is not equal to 0.
- Chroma QP tables may be determined according to prediction modes.
- intra CUs and other CUs may have a different set of chroma QP tables.
- intra/palette CUs and other CUs may have a different set of chroma QP tables.
- intra/IBC/palette CUs and other CUs may have a different set of chroma QP tables.
- intra/IBC CUs and other CUs may have a different set of chroma QP table.
- the number of chroma QP tables to be signalled may be dependent on number of the classified sets of prediction modes.
- the prediction mode may mean the prediction mode of the luma CB.
- Transform skip blocks may have a different set of chroma QP tables.
- a may only apply to luma blocks coded in transform skip mode.
- the maximum allowed value of the chroma QP table start point syntax element i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be 37.
- the chroma QP table start point syntax element i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be offseted by a number K smaller than 26.
- the syntax element may be replaced by qp_table_start_minusK and/or the value of the syntax element plus K shall be in the range of - (K+QpBdOffset) to (M-K) , inclusive, where K is smaller than 26.
- the syntax element may be replaced by qp_table_start_minusK and/or the value of the syntax element shall be in the range of - (K+QpBdOffset) to (M-1-K) , inclusive, where K is smaller than 26.
- K is equal to 20.
- the syntax element may be replaced by init_qp_minus20 and/or the value of the syntax element plus 20 shall be in the range of - (20+QpBdOffset) to (M-20) , inclusive.
- K is equal to 20.
- the syntax element may be replaced by init_qp_minus20 and/or the value of the syntax element plus 20 shall be in the range of - (20+QpBdOffset) to (M-1-20) , inclusive.
- the initial QP value syntax element may be offseted by a number K larger than 26.
- the syntax element may be replaced by init_qp_minusK, and the value of the syntax element plus K shall be in the range of - (K+QpBdOffset) to (M-K) , inclusive, where K is a constant larger than 26.
- the syntax element may be replaced by init_qp_minusK, and the value of the syntax element plus K shall be in the range of - (K+QpBdOffset) to (M-1-K) , inclusive, where K is a constant larger than 26.
- K is equal to 32.
- the syntax element may be replaced by init_qp_minus32 and the value of the syntax element plus 32 shall be in the range of - (32+QpBdOffset) to (M-32) , inclusive.
- K is equal to 32.
- the syntax element may be replaced by init_qp_minus32 and the value of the syntax element plus 32 shall be in the range of - (32+QpBdOffset) to (M-1-32) , inclusive.
- K may be dependent on picture/slice types; and/or prediction modes and/or bit depth.
- K is set to 1.
- K is set to 32.
- M may be the maximum allowed QP value, e.g., 63.
- K 0.
- syntax element may be binarized with uv (e) instead of sv (e) .
- the chroma QP table start point syntax element i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be offseted by a value depend on if the current picture is intra only picture.
- the offset may depend on intra_only_constraint_flag.
- the syntax element related to the number of pivot points in a chroma QP table i.e., currently denoted as num_points_in_qp_table_minus1, should be able to present 0 number of points.
- the syntax element num_points_in_qp_table_minus1 may be replaced by num_points_in_qp_table that is used to specify the number of points in a chroma QP table and the value is a non-negative integer.
- the value of the syntax element that denotes the number of pivot points shall be in the range of 0 to (63+QpBdOffset) .
- the i-th entry of a chroma QP table is set equal to the i-th entry of a luma QP table.
- the i-th entry of a chroma QP table is set equal to (the i-th entry of a luma QP table plus an offset) .
- the offset may be dependent on the coded method (e.g., JCCR on or off)
- Parsing of the chroma QP table start point syntax element may be conditional on if the number of pivot points is 0 or not.
- parsing of the syntax element may be skipped.
- a QP clipping may be always applied to the chroma QP table index.
- the clipping range is from -QpBdOffset to 63, inclusive.
- a QP clipping may be always applied to the mapped chroma QPs in a chroma QP table.
- the clipping range is from -QpBdOffset to 63, inclusive.
- Chroma QP tables may be signalled in both SPS and PPS.
- chroma QP table in PPS may overwrite the corresponding table in SPS.
- Chroma QP tables may be signalled in PH or SH.
- chroma QP table in PH or SH may overwrite the corresponding table in SPS or PPS.
- the default chroma QP tables may depend on ChromaArrayType.
- ChromaArrayType is equal to 2 (i.e. 4: 2: 2 colour format)
- whether to allow TSRC for a video unit may be dependent on syntax elements (e.g., one or more flags) signalled in the SPS/PPS/PH/SH/block/CU/TU-level.
- the TSRC enabling/disabling flag may be signalled either in the PH or the SH, but not both,
- the TSRC enabling/disabling flags may be signalled in both the PH and SH,
- the TSRC enabling/disabling flags in the SH may be not signalled when the TSRC enabling/disabling flags in the PH specifying that the TSRC is disabled for all slices referring to the PH.
- the block/CU/TU-level TSRC enabling/disabling flag is coded with context-adaptive arithmetic entropy-coded syntax element, such as ae (v) coding.
- the signalling of the TSRC enabling/disabling flag for a video unit may be dependent on whether the transform skip is enabled/used for a video unit.
- the TSRC enabling/disabling flag in the PPS-level is required be equal to a certain value that specifying the TSRC is disabled for pictures referring to the current PPS.
- the transform skip is disabled at a higher-level (e.g., sps_transform_skip_enabled_flag is equal to 0)
- the TSRC enabling/disabling flags at the lower-level and/or same-layer e.g., SPS/PH/SH/block/CU/TU-level
- the transform skip is enabled at a higher-level (e.g., SPS) but not used for a video unit (e.g., the TU-level transform_skip_flag is equal to 0) , then the TSRC enabling/disabling flag of the current video unit (e.g., TU) is not signalled.
- a higher-level e.g., SPS
- the TU-level transform_skip_flag is equal to 0
- the value of the TSRC enabling/disabling flag is inferred to be a certain value that specifying the TSRC is disabled for the video unit.
- the signalling of the TSRC enabling/disabling flag at low-level may be dependent on the TSRC enabling/disabling flag at higher-level.
- the signalling of the TSRC enabling/disabling flag at picture/slice level may be dependent on whether the TSRC is enabled at SPS/PPS-level.
- the signalling of the TSRC enabling/disabling flag at block/CU/TU level may be dependent on whether the TSRC is enabled at SPS/PPS/picture/slice-level.
- the TSRC enabling/disabling flag at block/CU/TU level is not signalled.
- the TSRC enabling/disabling flag is not present, it is inferred to a certain value (such as a value specifying the TSRC is disabled for the current video unit) .
- the value of the TSRC enabling/disabling flag at PPS-level may be dependent on whether the TSRC is enabled at SPS-level.
- the SPS-level TSRC enabling/disabling flag specifies that the TSRC is disabled for the CLVS
- the value of the PPS-level TSRC enabling/disabling flag is required to be equal to a certain value that specifying the TSRC is disabled for pictures referring to the current PPS.
- the usage is inferred to be false when luma ALF is disabled for a CTU.
- chroma ALF/CC-ALF are disabled when luma ALF is disabled in a CTU
- nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT.
- nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in the range of 0 to NumLayersInOls [targetOlsIdx] -1 inclusive.
- TemporalId is greater than or equal to NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
- nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT.
- nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in the range of 0 to NumLayersInOls [targetOlsIdx] -1 inclusive.
- TemporalId is greater than or equal to NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
- the maximum allowed number of filters may refer to “the maximum allowed number of filters that can be signaled by one or multiple APSs for a sequence/picture/slice.
- the maximum allowed number of APS NAL units may refer to “the maximum allowed number of APS NAL units that can be signaled for a sequence/picture/slice.
- the maximum allowed number of filter coefficients may refer to “the maximum allowed number of filter coefficients that can be signaled by one or multiple APSs for a sequence/picture/slice.
- the kinds of APS NAL units below may be one or more of ALF APS, LMCS APS, and SCALING APS.
- APS containing information related to different color components may be signalled separately.
- an APS NAL unit may contain luma-related syntax elements (e.g., luma filters) only.
- luma-related syntax elements e.g., luma filters
- an APS NAL unit may contain chroma (such as Cb and/or Cr) -related syntax elements (e.g., chroma filters) only.
- chroma such as Cb and/or Cr
- chroma filters e.g., chroma filters
- an APS NAL unit may contain chroma ALF syntax elements only.
- an APS NAL unit may contain CCALF syntax elements only.
- an APS NAL unit may contain CCALF Cb syntax elements only.
- an APS NAL unit may contain CCALF Cr syntax elements only.
- luma and chroma filters of ALF may have different APS types (e.g., aps_params_type) .
- one or multiple SEs are signaled in an APS to indicate which color component (s) is contained in the APS.
- the maximum allowed number of APS NAL units that can be signaled for a sequence/picture/slice may be dependent on a predefined value (such as a pre-defined memory size or a predefined number of filters) .
- number of filters signaled in APSs for a sequence/picture/slice shall be no greater than a maximum allowed number of filters signaled in APSs.
- number of filter coefficients signaled in APSs for a sequence/picture/slice shall be no greater than a maximum allowed number of filter coefficients signaled in APSs.
- the maximum allowed number of filter coefficients signaled in APSs may be a predefined number.
- the maximum allowed number of filter coefficients signaled in APSs may be different for different APS types.
- the maximum allowed number of filter coefficients signaled in APSs may be signaled from the encoder to the decoder, such as in VPS/SPS/PPS/PH/SH/sequence header.
- number of filters signaled in APSs for a sequence/picture/slice shall be no greater than a maximum allowed number of filters signaled in APSs.
- the maximum allowed numbers of filters signaled in APSs for different color components may be different.
- the maximum allowed number of luma filters signaled in APSs and the maximum number of chroma filters signaled in APSs may be different.
- the maximum allowed number of luma filters signaled in APSs of a paticular APS type is equal to a first certain value.
- the maximum allowed number of chroma (such as Cb and/or Cr) filters signaled in APSs of a paticular APS type (e.g., ALF/LMCS/SCALING) is equal to a second certain value.
- the maximum allowed number of luma filters signaled in APSs of all APS types is equal to a first certain value.
- the maximum allowed number of chroma (such as Cb and/or Cr) filters signaled in APSs of all APS types (e.g., ALF/LMCS/SCALING) is equal to a second certain value.
- the maximum allowed number of ALF luma filters, the maximum allowed number of ALF chroma filters and the maximum allowed number of CCALF filters may be different.
- X1, X2, X3, Y1, Y2 are pre-defined values.
- each of the maximum allowed numbers of filters within an APS NAL unit is equal to K_i, wherein K indicates a certain value, and i indicates the filter type (e.g., luma filter, chroma filter, ccalf filter, and etc) .
- the maximum allowed numbers may be signalled from the encoder to the decoder, such as in the VPS/SPS/PPS/PH/SH/sequence header.
- the “maximum allowed number” in this claim may refer to the maximum allowed number of APS NAL units, or the maximum allowed number of filters, or the maximum allowed number of filter coefficients.
- the maximum allowed numbers for a particular type of APS NAL unit (e.g., aps_params_type equal to ALF APS) may be signalled.
- the maximum allowed numbers may be signalled at SPS level.
- the maximum allowed numbers may be signalled at PH/SH level.
- the signalling of the maximum allowed numbers may be dependent on whether a coding tool (ALF/CCALF/LMCS/scaling list) is enabled or not.
- the number is inferred to be equal to a certain value (e.g. 0) when not present.
- the maximum allowed number for ALF APS having the APS ID (e.g., adaptation_parameter_set_id) equal to CCALF APS ID (e.g., ph_cc_alf_cb_aps_id, ph_cc_alf_cr_aps_id, slice_cc_alf_cb_aps_id, slice_cc_alf_cr_aps_id) may not be signalled.
- the number is inferred to be equal to a certain value (e.g. 0) when not present.
- How to signal the maximum allowed number for a smaller video unit may depend on the maximum allowed number for a higher level (e.g., SPS) .
- the maximum allowed number of ALF luma APSs is dependent on the maximum allowed number of ALF APSs.
- N a variable derived from the maximum allowed numbers (denoted as N) (e.g. N -M or M -N, wherein M is a certain value smaller than N) may be signalled.
- the maximum allowed numbers depend on chroma format.
- the maximum allowed number for luma/chroma may depend on whether the ChromaArrayType is equal to 0 (e.g., 4: 0: 0 and 4: 0: 0 with separate color plane coding) or not.
- the maximum allowed number of ALF/SCALING/LMCS APSs depend on whether the ChromaArrayType is equal to 0 or not.
- the maximum allowed numbers above may depend on whether a coding tool is enabled.
- the maximum allowed numbers above depend on whether the ALF is enabled, and/or whether CCALF is enabled at SPS/PPS/PH/SH level.
- the maximum allowed number of ALF APSs depend on whether the ALF is enabled, and/or whether CCALF is enabled at SPS/PPS/PH/SH level.
- the maximum allowed number of LMCS APSs depend on whether the LMCS is enabled, and/or whether chroma residual scaling (CRS) is enabled at SPS/PPS/PH/SH level.
- CRS chroma residual scaling
- the maximum allowed number of SCALING APSs depend on whether the explicit scaling list is enabled at SPS/PPS/PH/SH level.
- how to code an APS ID may be dependent on a restricted number.
- the APS ID may be ue (v) coded, in the range of 0 to K (e.g., 127, or 255) , inclusive.
- X may be signaled before APS ID is coded.
- X may be derived before APS ID is coded.
- X may be derived based on a maximum allowed number.
- the max number of APS ID is signalled.
- the APS ID may be u (v) coded.
- the APS ID mentioned above may be one or more of follows:
- slice_alf_aps_id_luma [i] slice_alf_aps_id_chroma, slice_cc_alf_cb_aps_id, slice_cc_alf_cr_aps_id in the SH syntax structure.
- constraints above may be represented by bitstream conformance, bitstream constraints, or explicitly signalling in the syntax table.
- the limitations/restrictions/constraints above may depend on profile/level/general constraint flags and etc.
- Embodiment 1 chroma QP tables according to slice type
- [qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table.
- the value of qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive.
- the value of qp_table_start_minus26 [i] is inferred to be equal to 0. ] ]
- [num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table.
- the value of num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- the value of num_points_in_qp_table_minus1 [0] is inferred to be equal to 0. ] ]
- delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table.
- delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0. ] ]
- [delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table.
- sps_non_intra_present_flag 0 specifies that all slices are of intra slice in the sequence.
- sps_non_intra_present_flag 1 specific that there may be non intra slices present in the sequence.
- intra_same_qp_table_for_chroma 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for intra slices.
- intra_same_qp_table_for_chroma 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for intra slices are signalled in the SPS.
- the value of intra_same_qp_table_for_chroma is inferred to be equal to 1.
- intra_qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for intra slices.
- the value of intra_qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive.
- intra_qp_table_start_minus26 [i] is not present in the bitstream, the value of intra_qp_table_start_minus26 [i] is inferred to be equal to 0.
- intra_num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for intra slices.
- the value of intra_num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- intra_num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of intra_num_points_in_qp_table_minus1 [0] is inferred to be equal to 0.
- intra_delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for intra slices.
- intra_delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of intra_delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
- intra_delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for intra slices.
- inter_same_qp_table_for_chroma 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for B or P slices.
- inter_same_qp_table_for_chroma 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for B or P slices are signalled in the SPS.
- the value of inter_same_qp_table_for_chroma is inferred to be equal to 1.
- inter_qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for B or P slices.
- the value of intra_qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive.
- the value of inter_qp_table_start_minus26 [i] is inferred to be equal to 0.
- inter_num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for B or P slices.
- the value of inter_num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- the value of inter_num_points_in_qp_table_minus1 [0] is inferred to be equal to 0.
- inter_delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for B or P slices.
- inter_delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of inter_delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
- inter_delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for B or P slices.
- IntraChromaQpTable [1] [k] and IntraChromaQpTable [2] [k] are set equal to IntraChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- InterChromaQpTable [1] [k] and InterChromaQpTable [2] [k] are set equal to InterChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- ChromaArrayType is not equal to 0 and treeType is equal to SINGLE_TREE or DUAL_TREE_CHROMA, the following applies:
- variable Qp Y is set equal to the luma quantization parameter Qp Y of the luma coding unit that covers the luma location (xCb + cbWidth /2, yCb + cbHeight /2) .
- qP Chroma Clip3 (-QpBdOffset, 63, Qp Y ) (1143)
- Embodiment 2 number of pivot points and clipping of mapped chroma QP
- num_points_in_qp_table [ [_minus1] ] [i] [ [plus 1] ] specifies the number of points used to describe the i-th chroma QP mapping table.
- the value of num_points_in_qp_table [ [_minus1] ] [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. [ [When num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1 [0] is inferred to be equal to 0. ] ]
- delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table.
- delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
- delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table.
- ChromaQpTable [i] for i 0..
- numQpTables -1 is derived as follows:
- ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- ChromaQpTable [i] for i 0..
- numQpTables -1 is derived as follows:
- ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- the newly added text is marked in bold italicized underlined text and the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets. It is based on JVET-Q2001-vE.
- sps_one_set_of_chroma_qp_tables_flag 0 specifies that there are two sets of chroma QP mapping tables.
- sps_one_set_of_chroma_qp_tables_flag 1 specifies that there are just one set of chroma QP mapping tables.
- same_qp_table_for_chroma _set0 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for the 1 st set of chroma QP mapping tables .
- same_qp_table_for_chroma _set0 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for the 1 st set of chroma QP mapping tables , are signalled in the SPS.
- same_qp_table_for_chroma _set0 is not present in the bitstream, the value of same_qp_table_for_chroma _set0 is inferred to be equal to 1.
- num_points_in_qp_table_minus1 _set0 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for the 1 st set of chroma QP mapping tables .
- the value of num_points_in_qp_table_minus1 _set0 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- the value of num_points_in_qp_table_minus1 _set0 [0] is inferred to be equal to 0.
- qp_table_start [ [_minus26] ] _set0 [i] [ [plus 26] ] specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for the 1 st set of chroma QP mapping tables .
- the value of qp_table_start [ [_minus26] ] _ set0 [i] shall be in the range of [ [-26] ] -QpBdOffset to [ [36] ] 62 inclusive.
- delta_qp_in_val_minus1 _set0 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for the 1 st set of chroma QP mapping tables .
- delta_qp_in_val_minus1 _set0 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 _set0 [0] [j] is inferred to be equal to 0.
- delta_qp_diff_val _set0 [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for the 1 st set of chroma QP mapping tables.
- same_qp_table_for_chroma_set1 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for the 2 nd set of chroma QP mapping tables.
- same_qp_table_for_chroma_set1 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for the 2 nd set of chroma QP mapping tables, are signalled in the SPS.
- same_qp_table_for_chroma_set1 is not present in the bitstream, the value of same_qp_table_for_chroma_set1 is inferred to be equal to 1.
- num_points_in_qp_table_minus1_set1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for the 2 nd set of chroma QP mapping tables.
- the value of num_points_in_qp_table_minus1_set1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- num_points_in_qp_table_minus1_set1 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1_set1 [0] is inferred to be equal to 0.
- qp_table_start_set1 [i] specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for the 2 nd set of chroma QP mapping tables.
- the value of qp_table_start_set1 [i] shall be in the range of -QpBdOffset to 62 inclusive.
- the value of qp_table_start_set1 [i] is inferred to be equal to 0.
- delta_qp_in_val_minus1_set1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for the 2 nd set of chroma QP mapping tables.
- delta_qp_in_val_minus1_set1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1_set1 [0] [j] is inferred to be equal to 0.
- delta_qp_diff_val_set1 [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for the 2 nd set of chroma QP mapping tables.
- ChromaQpTable [i] denotes the ChromaQpTableSetX [i]
- qp_table_start [i] denotes the qp_table_start_setX [i]
- delta_qp_in_val_minus1 [i] denotes delta_qp_in_val_minus1_setX [i]
- delta_qp_diff_val [i] denotes delta_qp_diff_val_setX [i] for X being 0 and 1 respectively, the following applies:
- ChromaQpTable X [1] [k] and ChromaQpTable X [2] [k] are set equal to ChromaQpTable X [0] [k] for X being 0 and 1 and for k in the range of -QpBdOffset to 63, inclusive.
- ChromaArrayType is not equal to 0 and treeType is equal to SINGLE_TREE or DUAL_TREE_CHROMA, the following applies:
- variable Qp Y is set equal to the luma quantization parameter Qp Y of the luma coding unit that covers the luma location (xCb + cbWidth /2, yCb + cbHeight /2) .
- qP Chroma Clip3 (-QpBdOffset, 63, Qp Y ) (1143)
- the newly added text is marked in bold italicized underlined and the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets. It is based on JVET-Q2001-vE.
- sps_one_set_of_chroma_qp_tables_flag 0 specifies that there are two sets of chroma QP mapping tables.
- sps_one_set_of_chroma_qp_tables_flag 1 specifies that there are just one set of chroma QP mapping tables.
- the value of sps_one_set_of_chroma_qp_tables_flag is inferred to be equal to 1.
- same_qp_table_for_chroma [l] 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for the l-th set of chroma QP mapping tables .
- same_qp_table_for_chroma [l] 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for the l-th set of chroma QP mapping tables , are signalled in the SPS.
- same_qp_table_for_chroma [l] is not present in the bitstream, the value of same_qp_table_for_chroma [l] is inferred to be equal to 1.
- qp_table_start_minus26 [l] [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for the l-th set of chroma QP mapping tables .
- the value of qp_table_start_minus26 [l] [i] shall be in the range of -26 -QpBdOffset to 36 inclusive.
- qp_table_start_minus26 [l] [i] is not present in the bitstream, the value of qp_table_start_minus26 [l] [i] is inferred to be equal to 0.
- num_points_in_qp_table_minus1 [l] [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for the l-th set of chroma QP mapping tables .
- the value of num_points_in_qp_table_minus1 [l] [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive.
- num_points_in_qp_table_minus1 [l] [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1 [l] [0] is inferred to be equal to 0.
- delta_qp_in_val_minus1 [l] [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for the l-th set of chroma QP mapping tables .
- delta_qp_in_val_minus1 [l] [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [l] [0] [j] is inferred to be equal to 0.
- delta_qp_diff_val [l] [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for the l-th set of chroma QP mapping tables.
- ChromaQpTable [l] [i] for l 0..
- sps_one_set_of_chroma_qp_tables_flag ? 1 : 2 and i 0..
- numQpTables [l] –1 are derived as follows:
- ChromaQpTable [l] [1] [k] and ChromaQpTable [l] [2] [k] are set equal to ChromaQpTable [l] [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
- ChromaArrayType is not equal to 0 and treeType is equal to SINGLE_TREE or DUAL_TREE_CHROMA, the following applies:
- variable Qp Y is set equal to the luma quantization parameter Qp Y of the luma coding unit that covers the luma location (xCb + cbWidth /2, yCb + cbHeight /2) .
- qP Chroma Clip3 (-QpBdOffset, 63, Qp Y ) (1143)
- the changed texts are based on the latest VVC text in JVET-Q2001-vE. Most relevant parts that have been added or modified are highlighted in bold italicized underlined text, and some of the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets.
- the SPS syntax structure may be changed as follows:
- sps_ts_residual_coding_enabled_flag 1 specifies that slice_ts_residual_coding_disabled_flag may be present in the CLVS.
- sps_ts_residual_coding_enabled_flag 0 specifies that slice_ts_residual_coding_disabled_flag is not present in the CLVS.
- the value of sps_ts_residual_coding_enabled_flag is inferred to be equal to 0.
- the PPS syntax structure may be changed as follows:
- pps_ts_residual_coding_enabled_flag 1 specifies that ph/slice_ts_residual_coding_enabled_flag may be present in pictures/slices referring to the PPS.
- pps_ts_residual_coding_enabled_flag 0 specifies that ph/slice_ts_residual_coding_enabled_flag is not present in the pictures/slices referring to the PPS.
- ts_residual_coding_flag_in_ph 1 specifies that ph_ts_residual_coding_disabled_flag may be present in the PH.
- pps_ts_residual_coding_enabled_flag 0 specifies that slice_ts_residual_coding_disabled_flag may be present in the SH.
- the PH syntax structure may be changed as follows:
- ph_ts_residual_coding_enabled_flag 0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for all slices of the current picture.
- ph_ts_residual_coding_enabled_flag 1 specifies that the residual_ts_coding () syntax structure may be used to parse the residual samples of a transform skip block for all slices of the current picture.
- the PH syntax structure may be changed as follows:
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [1] ] 0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [0] ] 1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag When slice_ts_residual_coding_ [ [disabled] ] enabled _flag is not present, it is infered to be equal to [ [0] ] ph_ts_residual_coding_enabled_flag .
- transform_unit () syntax structure may be changed as follows:
- tu_ts_residual_coding_flag [x0] [y0] [cIdx] 1 specifies that for the current coding unit, when slice_ts_residual_coding_enabled_flag and transform_skip_flag [x0] [y0] [cIdx] are equal to 1, then transform skip residual coding is used.
- tu_ts_residual_coding_flag [x0] [y0] [cIdx] 0 specifies that for the current coding unit, when slice_ts_residual_coding_enabled_flag and transform_skip_flag [x0] [y0] [cIdx] are equal to 1, the transform residual coding is used.
- tu_ts_residual_coding_flag [x0] [y0] [cIdx] is not signaled, it is inferred to be equal to 0.
- the PPS, PH, SH syntax may be changed as follows:
- pps_ts_residual_coding_enabled_flag 1 specifies that ph/slice_ts_residual_coding_enabled_flag may be present in pictures/slices referring to the PPS.
- pps_ts_residual_coding_enabled_flag 0 specifies that ph/slice_ts_residual_coding_enabled_flag is not present in the pictures/slices referring to the PPS.
- ph_ts_residual_coding_enabled_flag 0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for all slices of the current picture.
- ph_ts_residual_coding_enabled_flag 1 specifies that the residual_ts_coding () syntax structure may be used to parse the residual samples of a transform skip block for all slices of the current picture.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [ [1] ] 0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [0] ] 1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag is not present, it is infered to be equal to 0.
- the PPS, SH syntax may be changed as follows:
- pps_ts_residual_coding_enabled_flag 1 specifies that ph/slice_ts_residual_coding_enabled_flag may be present in pictures/slices referring to the PPS.
- pps_ts_residual_coding_enabled_flag 0 specifies that ph/slice_ts_residual_coding_enabled_flag is not present in the pictures/slices referring to the PPS.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [ [1] ] 0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [0] ] 1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag is not present, it is infered to be equal to 0.
- the SH syntax may be changed as follows:
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [ [1] ] 0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag [ [0] ] 1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice.
- slice_ts_residual_coding_ [ [disabled] ] enabled _flag is not present, it is infered to be equal to 0.
- FIG. 3 is a block diagram showing an example video processing system 1900 in which various techniques disclosed herein may be implemented.
- the system 1900 may include input 1902 for receiving video content.
- the video content may be received in a raw or uncompressed format, e.g., 8 or 10 bit multi-component pixel values, or may be in a compressed or encoded format.
- the input 1902 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interface include wired interfaces such as Ethernet, passive optical network (PON) , etc. and wireless interfaces such as Wi-Fi or cellular interfaces.
- PON passive optical network
- the system 1900 may include a coding component 1904 that may implement the various coding or encoding methods described in the present document.
- the coding component 1904 may reduce the average bitrate of video from the input 1902 to the output of the coding component 1904 to produce a coded representation of the video.
- the coding techniques are therefore sometimes called video compression or video transcoding techniques.
- the output of the coding component 1904 may be either stored, or transmitted via a communication connected, as represented by the component 1906.
- the stored or communicated bitstream (or coded) representation of the video received at the input 1902 may be used by the component 1908 for generating pixel values or displayable video that is sent to a display interface 1910.
- the process of generating user-viewable video from the bitstream representation is sometimes called video decompression.
- certain video processing operations are referred to as “coding” operations or tools, it will be appreciated that the coding tools or operations are used at an encoder and corresponding decoding tools or operations that reverse the results of the coding will be performed by
- peripheral bus interface or a display interface may include universal serial bus (USB) or high definition multimedia interface (HDMI) or Displayport, and so on.
- storage interfaces include SATA (serial advanced technology attachment) , PCI, IDE interface, and the like.
- FIG. 4 is a block diagram of a video processing apparatus 3600.
- the apparatus 3600 may be used to implement one or more of the methods described herein.
- the apparatus 3600 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on.
- the apparatus 3600 may include one or more processors 3602, one or more memories 3604 and video processing hardware 3606.
- the processor (s) 3602 may be configured to implement one or more methods described in the present document.
- the memory (memories) 3604 may be used for storing data and code used for implementing the methods and techniques described herein.
- the video processing hardware 3606 may be used to implement, in hardware circuitry, some techniques described in the present document.
- FIG. 6 is a block diagram that illustrates an example video coding system 100 that may utilize the techniques of this disclosure.
- video coding system 100 may include a source device 110 and a destination device 120.
- Source device 110 generates encoded video data which may be referred to as a video encoding device.
- Destination device 120 may decode the encoded video data generated by source device 110 which may be referred to as a video decoding device.
- Source device 110 may include a video source 112, a video encoder 114, and an input/output (I/O) interface 116.
- Video source 112 may include a source such as a video capture device, an interface to receive video data from a video content provider, and/or a computer graphics system for generating video data, or a combination of such sources.
- the video data may comprise one or more pictures.
- Video encoder 114 encodes the video data from video source 112 to generate a bitstream.
- the bitstream may include a sequence of bits that form a coded representation of the video data.
- the bitstream may include coded pictures and associated data.
- the coded picture is a coded representation of a picture.
- the associated data may include sequence parameter sets, picture parameter sets, and other syntax structures.
- I/O interface 116 may include a modulator/demodulator (modem) and/or a transmitter.
- the encoded video data may be transmitted directly to destination device 120 via I/O interface 116 through network 130a.
- the encoded video data may also be stored onto a storage medium/server 130b for access by destination device 120.
- Destination device 120 may include an I/O interface 126, a video decoder 124, and a display device 122.
- I/O interface 126 may include a receiver and/or a modem. I/O interface 126 may acquire encoded video data from the source device 110 or the storage medium/server 130b. Video decoder 124 may decode the encoded video data. Display device 122 may display the decoded video data to a user. Display device 122 may be integrated with the destination device 120, or may be external to destination device 120 which be configured to interface with an external display device.
- Video encoder 114 and video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, Versatile Video Coding (VVC) standard and other current and/or further standards.
- HEVC High Efficiency Video Coding
- VVC Versatile Video Coding
- FIG. 7 is a block diagram illustrating an example of video encoder 200, which may be video encoder 114 in the system 100 illustrated in FIG. 6.
- Video encoder 200 may be configured to perform any or all of the techniques of this disclosure.
- video encoder 200 includes a plurality of functional components. The techniques described in this disclosure may be shared among the various components of video encoder 200.
- a processor may be configured to perform any or all of the techniques described in this disclosure.
- the functional components of video encoder 200 may include a partition unit 201, a predication unit 202 which may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.
- a partition unit 201 may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.
- video encoder 200 may include more, fewer, or different functional components.
- predication unit 202 may include an intra block copy (IBC) unit.
- the IBC unit may perform predication in an IBC mode in which at least one reference picture is a picture where the current video block is located.
- IBC intra block copy
- motion estimation unit 204 and motion compensation unit 205 may be highly integrated, but are represented in the example of FIG. 7 separately for purposes of explanation.
- Partition unit 201 may partition a picture into one or more video blocks.
- Video encoder 200 and video decoder 300 may support various video block sizes.
- Mode select unit 203 may select one of the coding modes, intra or inter, e.g., based on error results, and provide the resulting intra-or inter-coded block to a residual generation unit 207 to generate residual block data and to a reconstruction unit 212 to reconstruct the encoded block for use as a reference picture.
- Mode select unit 203 may select a combination of intra and inter predication (CIIP) mode in which the predication is based on an inter predication signal and an intra predication signal.
- CIIP intra and inter predication
- Mode select unit 203 may also select a resolution for a motion vector (e.g., a sub-pixel or integer pixel precision) for the block in the case of inter-predication.
- motion estimation unit 204 may generate motion information for the current video block by comparing one or more reference frames from buffer 213 to the current video block.
- Motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from buffer 213 other than the picture associated with the current video block.
- Motion estimation unit 204 and motion compensation unit 205 may perform different operations for a current video block, for example, depending on whether the current video block is in an I slice, a P slice, or a B slice.
- motion estimation unit 204 may perform uni-directional prediction for the current video block, and motion estimation unit 204 may search reference pictures of list 0 or list 1 for a reference video block for the current video block. Motion estimation unit 204 may then generate a reference index that indicates the reference picture in list 0 or list 1 that contains the reference video block and a motion vector that indicates a spatial displacement between the current video block and the reference video block. Motion estimation unit 204 may output the reference index, a prediction direction indicator, and the motion vector as the motion information of the current video block. Motion compensation unit 205 may generate the predicted video block of the current block based on the reference video block indicated by the motion information of the current video block.
- motion estimation unit 204 may perform bi-directional prediction for the current video block, motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block and may also search the reference pictures in list 1 for another reference video block for the current video block. Motion estimation unit 204 may then generate reference indexes that indicate the reference pictures in list 0 and list 1 containing the reference video blocks and motion vectors that indicate spatial displacements between the reference video blocks and the current video block. Motion estimation unit 204 may output the reference indexes and the motion vectors of the current video block as the motion information of the current video block. Motion compensation unit 205 may generate the predicted video block of the current video block based on the reference video blocks indicated by the motion information of the current video block.
- motion estimation unit 204 may output a full set of motion information for decoding processing of a decoder.
- motion estimation unit 204 may do not output a full set of motion information for the current video. Rather, motion estimation unit 204 may signal the motion information of the current video block with reference to the motion information of another video block. For example, motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.
- motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to the video decoder 300 that the current video block has the same motion information as the another video block.
- motion estimation unit 204 may identify, in a syntax structure associated with the current video block, another video block and a motion vector difference (MVD) .
- the motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the indicated video block.
- the video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
- video encoder 200 may predictively signal the motion vector.
- Two examples of predictive signaling techniques that may be implemented by video encoder 200 include advanced motion vector predication (AMVP) and merge mode signaling.
- AMVP advanced motion vector predication
- merge mode signaling merge mode signaling
- Intra prediction unit 206 may perform intra prediction on the current video block. When intra prediction unit 206 performs intra prediction on the current video block, intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture.
- the prediction data for the current video block may include a predicted video block and various syntax elements.
- Residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., indicated by the minus sign) the predicted video block (s) of the current video block from the current video block.
- the residual data of the current video block may include residual video blocks that correspond to different sample components of the samples in the current video block.
- residual generation unit 207 may not perform the subtracting operation.
- Transform processing unit 208 may generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to a residual video block associated with the current video block.
- quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
- QP quantization parameter
- Inverse quantization unit 210 and inverse transform unit 211 may apply inverse quantization and inverse transforms to the transform coefficient video block, respectively, to reconstruct a residual video block from the transform coefficient video block.
- Reconstruction unit 212 may add the reconstructed residual video block to corresponding samples from one or more predicted video blocks generated by the predication unit 202 to produce a reconstructed video block associated with the current block for storage in the buffer 213.
- loop filtering operation may be performed reduce video blocking artifacts in the video block.
- Entropy encoding unit 214 may receive data from other functional components of the video encoder 200. When entropy encoding unit 214 receives the data, entropy encoding unit 214 may perform one or more entropy encoding operations to generate entropy encoded data and output a bitstream that includes the entropy encoded data.
- Some embodiments of the disclosed technology include making a decision or determination to enable a video processing tool or mode.
- the encoder when the video processing tool or mode is enabled, the encoder will use or implement the tool or mode in the processing of a block of video, but may not necessarily modify the resulting bitstream based on the usage of the tool or mode. That is, a conversion from the block of video to the bitstream (or the bitstream representation) of the video will use the video processing tool or mode when it is enabled based on the decision or determination.
- the decoder when the video processing tool or mode is enabled, the decoder will process the bitstream with the knowledge that the bitstream has been modified based on the video processing tool or mode. That is, a conversion from the bitstream of the video to the block of video will be performed using the video processing tool or mode that was enabled based on the decision or determination.
- FIG. 8 is a block diagram illustrating an example of video decoder 300 which may be video decoder 114 in the system 100 illustrated in FIG. 6.
- the video decoder 300 may be configured to perform any or all of the techniques of this disclosure.
- the video decoder 300 includes a plurality of functional components.
- the techniques described in this disclosure may be shared among the various components of the video decoder 300.
- a processor may be configured to perform any or all of the techniques described in this disclosure.
- video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transformation unit 305, and a reconstruction unit 306 and a buffer 307.
- Video decoder 300 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 200 (FIG. 7) .
- Entropy decoding unit 301 may retrieve an encoded bitstream.
- the encoded bitstream may include entropy coded video data (e.g., encoded blocks of video data) .
- Entropy decoding unit 301 may decode the entropy coded video data, and from the entropy decoded video data, motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list indexes, and other motion information. Motion compensation unit 302 may, for example, determine such information by performing the AMVP and merge mode.
- Motion compensation unit 302 may produce motion compensated blocks, possibly performing interpolation based on interpolation filters. Identifiers for interpolation filters to be used with sub-pixel precision may be included in the syntax elements.
- Motion compensation unit 302 may use interpolation filters as used by video encoder 200 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 302 may determine the interpolation filters used by video encoder 200 according to received syntax information and use the interpolation filters to produce predictive blocks.
- Motion compensation unit 302 may uses some of the syntax information to determine sizes of blocks used to encode frame (s) and/or slice (s) of the encoded video sequence, partition information that describes how each macroblock of a picture of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-encoded block, and other information to decode the encoded video sequence.
- Intra prediction unit 303 may use intra prediction modes for example received in the bitstream to form a prediction block from spatially adjacent blocks.
- Inverse quantization unit 303 inverse quantizes, i.e., de-quantizes, the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 301.
- Inverse transform unit 303 applies an inverse transform.
- Reconstruction unit 306 may sum the residual blocks with the corresponding prediction blocks generated by motion compensation unit 202 or intra-prediction unit 303 to form decoded blocks. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts.
- the decoded video blocks are then stored in buffer 307, which provides reference blocks for subsequent motion compensation/intra predication and also produces decoded video for presentation on a display device.
- FIG. 9 is a flowchart for an example method 900 of video processing.
- Operation 902 includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies that a variable indicating a number of sublayers in each coding layer of each output layer set is derived based on syntax elements included in a video parameter set (VPS) ; and wherein the rule further specifies that, during a sub-bitstream extraction process, information from the variable is used to remove video coding layer network abstraction layer units from the bitstream.
- VPS video parameter set
- the variable includes an array NumSubLayersInLayerInOLS [] [] .
- all video coding layer network abstraction layer units are removed from the bitstream when all of the following conditions are true: nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT, nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in a range of 0 to NumLayersInOls [targetOlsIdx] -1, inclusive, and TemporalId is greater than or equal to the NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
- the rule further specifies that, during the sub-bitstream extraction process, information from the variable is not used to remove certain types of non-video coding layer network abstraction layer units from the bitstream.
- FIG. 10 is a flowchart for an example method 1000 of video processing.
- Operation 1002 includes determining, for a conversion between a video comprising a video block and a bitstream of the video, that default chroma quantization parameter (QP) tables are based on a value of a ChromaArrayType that indicates a color format of the video.
- Operation 1004 includes performing the conversion based on the determining.
- QP chroma quantization parameter
- identity QP chroma QP tables are the default chroma QP tables.
- value of the ChromaArrayType is equal to 3 is associated with a 4: 4: 4 color format.
- identity QP chroma QP tables are the default chroma QP tables.
- value of the ChromaArrayType is equal to 2 is associated with a 4: 2: 2 color format.
- FIG. 11 is a flowchart for an example method 1100 of video processing.
- Operation 1102 includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies a number of adaptation parameter set (APS) network abstraction layer units or a characteristic of the APS network abstraction layer units that include information for the conversion.
- APS adaptation parameter set
- the rule specifies that each of the APS network abstraction layer units includes information related to a different color component of the video. In some embodiments of method 1100, the rule specifies that an APS network abstraction layer unit includes luma-related syntax elements only. In some embodiments of method 1100, the rule specifies that an APS network abstraction layer unit includes chroma-related syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes chroma adaptive loop filter (ALF) syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) syntax elements only.
- ALF adaptive loop filter
- CC-ALF cross component adaptive loop filter
- the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) blue-difference chroma (Cb) syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) red-difference chroma (Cr) syntax elements only.
- CC-ALF cross component adaptive loop filter
- Cr red-difference chroma
- the rule specifies that luma filters and chroma filters for a coding tool are associated with different APS types.
- the coding tool includes an adaptive loop filter (ALF) , a luma mapping with chroma scaling (LMCS) , or a scaling list.
- ALF adaptive loop filter
- LMCS luma mapping with chroma scaling
- the rule specifies that one or more syntax elements in the bitstream are in included in an APS to indicate which of one or more color components are included in the APS.
- the rule specifies that a maximum allowed number of the APS network abstraction layer units included in a sequence, a picture, or a slice is based on a predefined value.
- the predefined value includes a pre-defined memory size or a predefined number of filters.
- a number of filters included in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filters indicated in the one or more APSs.
- a number of filter coefficients included in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filter coefficients indicated in the one or more APSs.
- the maximum allowed number of filter coefficients indicated in the one or more APSs is a predefined number.
- the maximum allowed number of filter coefficients indicated in the one or more APSs is different for different APS types. In some embodiments of method 1100, the maximum allowed number of filter coefficients indicated in the one or more APSs is included in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a picture header (PH) , a slice header (SH) , or a sequence header.
- VPS video parameter set
- SPS sequence parameter set
- PPS picture parameter set
- PH picture header
- SH slice header
- a number of filters indicated in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filters indicated in the one or more APSs.
- a maximum allowed numbers of filters indicated in one or more APSs in the bitstream for different color components is different.
- a maximum allowed number of luma filters indicated in the one or more APSs and a maximum number of chroma filters indicated in the one or more APSs are different.
- a maximum allowed number of luma filters indicated in the one or more APSs of an APS type is equal to a first value.
- a maximum allowed number of chroma filters indicated in the one or more APSs of an APS type is equal to a second value. In some embodiments of method 1100, a maximum allowed number of luma filters indicated in the one or more APSs of all APS types is equal to a first value. In some embodiments of method 1100, a maximum allowed number of chroma filters indicated in the one or more APSs of all APS types is equal to a second certain value.
- the APS type includes an adaptive loop filter (ALF) APS, a luma mapping with chroma scaling (LMCS) APS, or a scaling APS, or all APS types include the ALF APS, the LMCS APS, and the scaling APS.
- ALF adaptive loop filter
- LMCS luma mapping with chroma scaling
- a scaling APS or all APS types include the ALF APS, the LMCS APS, and the scaling APS.
- a maximum allowed number of adaptive loop filter (ALF) luma filters, a maximum allowed number of ALF chroma filters, and a maximum allowed number of cross-component ALF (CC-ALF) filters are different.
- the maximum allowed number of ALF luma filters is equal X1.
- the maximum allowed number of ALF chroma filters for an ALF APS unit is equal X2.
- the maximum allowed number of CC-ALF filters for an ALF APS unit is equal X3. In some embodiments of method 1100, the maximum allowed number of CC-ALF blue-difference chroma (Cb) filters for an ALF APS unit is equal Y1. In some embodiments of method 1100, the maximum allowed number of CC-ALF red-difference chroma (Cr) filters for an ALF APS unit is equal Y2. In some embodiments of method 1100, X1, X2, X3, Y1, or Y2 are pre-defined values.
- the rule further specifies that each maximum allowed numbers of filters for a filter type within the APS network abstraction layer units is equal to K_i, wherein K indicates a value, and i indicates the filter type.
- K_i for adaptive loop filter (ALF) luma filters is equal to 200.
- K_i for adaptive loop filter (ALF) chroma filters is equal to 64.
- K_i for cross-component adaptive loop filter (CC-ALF) filters is equal to 64.
- K_i for cross-component adaptive loop filter (CC-ALF) blue-difference chroma (Cb) filters is equal to 32.
- K_i for cross-component adaptive loop filter (CC-ALF) red-difference chroma (Cr) filters is equal to 32.
- one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a picture header (PH) , a slice header (SH) , or a sequence header.
- the one or more maximum allowed numbers for a type of APS network abstraction layer unit are included in the bitstream.
- the one or more maximum allowed numbers are included in the SPS.
- the one or more maximum allowed numbers are included in the PH or the SH. In some embodiments of method 1100, the one or more maximum allowed numbers are indicated in the bitstream based on whether a coding tool is enabled.
- the coding tool includes an adaptive loop filter (ALF) , a cross-component ALF (CC-ALF) , a luma mapping with chroma scaling (LMCS) , or a scaling list. In some embodiments of method 1100, when the ALF or the CC-ALF is disabled, the one or more maximum allowed numbers for an APS associated with the ALF or the CC-ALF are not included in the bitstream.
- the one or more maximum allowed numbers are inferred to be a certain value. In some embodiments of method 1100, when the CC-ALF is disabled, the one or more maximum allowed numbers for an ALF APS having an APS identifier equal to a CC-ALF APS identifier are not included in the bitstream. In some embodiments of method 1100, the one or more maximum allowed numbers are inferred to be a certain value. In some embodiments of method 1100, how to include the one or more maximum allowed numbers for a video unit of the video at a first video level is based on the one or more maximum allowed numbers for a second video level of the video, and the second video level is higher than the first video level.
- the one or more maximum allowed number for an adaptive loop filter (ALF) luma APSs are based on the one or more maximum allowed numbers for an ALF APSs.
- a variable or obtained from the one or more maximum allowed numbers is indicated in the bitstream.
- one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream, and the one or more maximum allowed numbers are based on a chroma format.
- the one or more maximum allowed numbers for a luma video block or a chroma video block of the video is based on whether a ChromaArrayType is equal to zero, and the ChromaArrayType indicates a color format of the video.
- the one or more maximum allowed numbers for an adaptive loop filter (ALF) APS, a cross-component ALF (CC-ALF) APS, a luma mapping with chroma scaling (LMCS) APS, or a scaling list is based on whether a ChromaArrayType is equal to zero, and the ChromaArrayType indicates a color format of the video.
- ALF adaptive loop filter
- CC-ALF cross-component ALF
- LMCS luma mapping with chroma scaling
- one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream, and the one or more maximum allowed numbers are based on whether a coding tool is enabled.
- the one or more maximum allowed numbers are based on whether an adaptive loop filter (ALF) coding tool is enabled and/or whether a cross-component ALF (CC-ALF) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- ALF adaptive loop filter
- CC-ALF cross-component ALF
- the one or more maximum allowed numbers for an adaptive loop filter (ALF) APS is based on whether an ALF coding tool is enabled and/or whether a cross-component ALF (CC-ALF) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- SPS sequence parameter set
- PPS picture parameter set
- PH picture header
- SH slice header
- the one or more maximum allowed numbers for a luma mapping with chroma scaling (LMCS) APS is based on whether a LMCS coding tool is enabled and/or whether a chroma residual scaling (CRS) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- the one or more maximum allowed numbers for a scaling APS is based on whether an explicit scaling list is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- the rule specifies that how an APS identifier (APS ID) is included in an APS network abstraction layer unit is based on a restricted number.
- the APS ID is ue (v) coded in a range from 0 to K, inclusive, and wherein K is an integer.
- the APS ID is u (X) coded, and wherein X is an integer.
- X is included in the bitstream before the APS ID is included in the bitstream.
- X is derived before the APS ID is included in the bitstream.
- X is derived based on one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream. In some embodiments of method 1100, a maximum number of the APS ID is included in the bitstream. In some embodiments of method 1100, the maximum number of the APS ID is u (X) coded, and wherein X is an integer. In some embodiments of method 1100, the APS ID is u (v) coded.
- the APS ID includes any one or more of the following: an adaptation_parameter_set_id in an APS syntax structure in the bitstream, a ph_alf_aps_id_luma [i] , a ph_alf_aps_id_chroma, a ph_cc_alf_cb_aps_id, or a ph_cc_alf_cr_aps_id in a picture header (PH) syntax structure in the bitstream, a slice_alf_aps_id_luma [i] , a slice_alf_aps_id_chroma, a slice_cc_alf_cb_aps_id, or a slice_cc_alf_cr_aps_id in a slice header (SH) syntax structure in the bitstream, a ph_lmcs_aps_i
- a use of the method is implicitly or explicated indicated in the bitstream. In some embodiments of method 1100, a use of the method is controlled by a syntax element in the bitstream.
- the APS network abstraction layer units include one or more of an adaptive loop filter (ALF) APS, a luma mapping with chroma scaling (LMCS) APS, and a scaling APS.
- the performing the conversion comprising encoding the video into the bitstream.
- the performing the conversion comprises generating the bitstream from the video, and the method further comprises storing the bitstream in a non-transitory computer-readable recording medium.
- the performing the conversion comprises decoding the video from the bitstream.
- a video decoding apparatus comprising a processor configured to implement operations described for method (s) 900-1100.
- a video encoding apparatus comprising a processor configured to implement operations described for method (s) 900-1100.
- a computer program product having computer instructions stored thereon, the instructions, when executed by a processor, causes the processor to implement operations described for method (s) 900-1100.
- a non-transitory computer-readable storage medium that stores a bitstream generated according to operations described for method (s) 900-1100.
- a non-transitory computer-readable storage medium storing instructions that cause a processor to implement operations described for method (s) 900-1100.
- a method of bitstream generation comprising: generating a bitstream of a video according to operations described for method (s) 900-1100, and storing the bitstream on a computer-readable program medium.
- a method of video processing comprising: performing a conversion between a video comprising video pictures and a coded representation of the video, wherein the coded representation conforms to a format rule, wherein the format rule specifies whether and where one or more syntax elements indicative of one or more initial quantization parameter (QP) values used during the conversion are included in the coded representation.
- QP quantization parameter
- Clause 2 The method of clause 1, wherein the format rule specifies that a syntax element indicating the one or more QP values is includes in a picture header without including the syntax element in a picture parameter set.
- Clause 3 The method of clause 1, wherein the format rule specifies that a syntax element indicating the one or more QP values is includes in a picture parameter set and repeated in one or more picture headers.
- Clause 4 The method of clause 1, wherein the format rule specifies that the one or more syntax elements are included in the coded representation at multiple levels comprising two or more of a sequence parameter set, a picture parameter set, a picture header and a sequence header according to a rule.
- Clause 5 The method of clause 4, wherein the rule is based on a video picture type of a video picture.
- a method of video processing comprising: determining to use, for a conversion between a video block of a video and a coded representation of the video, an initial quantization parameter (QP) value; and performing a conversion based on the determining, wherein a syntax element in the coded representation is indicative of the initial QP value using a offset relationship comprising an offset value K that is (a) between 1 and 25 or (b) greater than 26 or (c) a function of maximum allowed QP value for the conversion or (d) a function of bit depth used for the conversion.
- QP initial quantization parameter
- a video processing method comprising: determining, for a conversion between a chroma block of a video and a coded representation of the video, one or more quantization parameter (QP) tables based on a type of a picture or a slice that contains the chroma block according to a rule; and performing the conversion based on the determining.
- QP quantization parameter
- Clause 10 The method of clause 8, wherein the rule specifies that the one or more QP tables form I coded video pictures are different from the one or more QP tables for B and P coded video pictures.
- Clause 11 The method of any of clauses 8-10, wherein the rule is based on a classification of a picture type and a slice type to which the chroma block belongs, wherein a number M represents an index to the classification, where M is an integer greater than 1.
- a video processing method comprising: determining, for a conversion between a chroma block of a video and a coded representation of the video, one or more quantization parameter (QP) tables; and performing the conversion based on the determining; wherein the conversion conforms to a first rule that specifies one or more syntax elements corresponding to the one or more QP tables or a second rule that specifies a relationship between the one or more QP tables and a coding characteristic of the chroma block.
- QP quantization parameter
- Clause 13 The method of clause 12, wherein the first rule specifies that the one or more syntax elements are includes in a sequence parameter set associated with the coded representation.
- Clause 14 The method of clause 12-13, wherein the second rule specifies that the one or more QP tables are based on a prediction mode used for the conversion.
- Clause 15 The method of clause 3, wherein the second rule specifies that the one or more QP tables for intra coded chroma blocks are different from chroma blocks that use other prediction modes.
- a video processing method comprising: performing a conversion between a chroma block of a video and a coded representation of the video; wherein the coded representation conforms to a format rule, wherein the format rule specifies a characteristic of a syntax element associated with one or more chroma quantization parameter (QP) tables used for the conversion.
- QP quantization parameter
- Clause 17 The method of clause 16, wherein the format rule specifies a maximum value of a start point syntax element for the one or more chroma QP tables.
- Clause 18 The method of clause 17, wherein the format rule specifies that the start point syntax element has a value offset by a number K smaller than 26.
- Clause 19 The method of clause 16, wherein the format rule specifies that the start point syntax element is offset by a value that is dependent on whether a current picture of the chroma block is an intra-only picture.
- Clause 20 The method of any of clauses 16-19, wherein the format rule specifies that a number of pivot points in the one or more chroma QP tables is zero.
- Clause 21 The method of any of clauses 16-20, due to the number of pivot points being zero, an ith entry the one or more chroma QP tables is set equal to an ith entry in a corresponding luma QP table.
- Clause 22 The method of any of clauses 16-21, wherein the syntax element is included in both a sequence parameter set and a picture parameter set in the coded representation.
- Clause 23 The method of any of clauses 16-22, wherein the syntax element is included in either a picture header or a sequence header.
- Clause 24 The method of any of clauses 16 to 23, wherein the conversion comprises encoding the video into the coded representation.
- Clause 25 The method of any of clauses 16 to 24, wherein the conversion comprises decoding the coded representation to generate pixel values of the video.
- video processing may refer to video encoding, video decoding, video compression or video decompression.
- video compression algorithms may be applied during conversion from pixel representation of a video to a corresponding bitstream representation or vice versa.
- the bitstream representation of a current video block may, for example, correspond to bits that are either co-located or spread in different places within the bitstream, as is defined by the syntax.
- a macroblock may be encoded in terms of transformed and coded error residual values and also using bits in headers and other fields in the bitstream.
- a decoder may parse a bitstream with the knowledge that some fields may be present, or absent, based on the determination, as is described in the above solutions.
- an encoder may determine that certain syntax fields are or are not to be included and generate the coded representation accordingly by including or excluding the syntax fields from the coded representation.
- the disclosed and other solutions, examples, embodiments, modules and the functional operations described in this document can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this document and their structural equivalents, or in combinations of one or more of them.
- the disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus.
- the computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more them.
- data processing apparatus encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers.
- the apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
- a propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus.
- a computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
- a computer program does not necessarily correspond to a file in a file system.
- a program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document) , in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code) .
- a computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
- the processes and logic flows described in this document can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output.
- the processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit) .
- processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer.
- a processor will receive instructions and data from a read only memory or a random-access memory or both.
- the essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data.
- a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
- mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
- a computer need not have such devices.
- Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks.
- semiconductor memory devices e.g., EPROM, EEPROM, and flash memory devices
- magnetic disks e.g., internal hard disks or removable disks
- magneto optical disks e.g., CD ROM and DVD-ROM disks.
- the processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Several techniques for video encoding and video decoding are described. One example method includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies that a variable indicating a number of sublayers in each coding layer of each output layer set is derived based on syntax elements included in a video parameter set (VPS); and wherein the rule further specifies that, during a sub-bitstream extraction process, information from the variable is used to remove video coding layer network abstraction layer units from the bitstream.
Description
CROSS REFERENCE TO RELATED APPLICATIONS
Under the applicable patent law and/or rules pursuant to the Paris Convention, this application is made to timely claim the priority to and benefit of International Patent Application No. PCT/CN2020/084995, filed on April 15, 2020. For all purposes under the law, the entire disclosure of the aforementioned application is incorporated by reference as part of the disclosure of this application.
This patent document relates to image and video coding and decoding.
Digital video accounts for the largest bandwidth use on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, it is expected that the bandwidth demand for digital video usage will continue to grow.
SUMMARY
The present document discloses techniques that can be used by video encoders and decoders for processing coded representation of video using control information useful for decoding of the coded representation.
In one example aspect, a video processing method is disclosed. The method includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies that a variable indicating a number of sublayers in each coding layer of each output layer set is derived based on syntax elements included in a video parameter set (VPS) ; and wherein the rule further specifies that, during a sub-bitstream extraction process, information from the variable is used to remove video coding layer network abstraction layer units from the bitstream.
In another example aspect, a video processing method is disclosed. The method includes determining, for a conversion between a video comprising a video block and a bitstream of the video, that default chroma quantization parameter (QP) tables are based on a value of a ChromaArrayType that indicates a color format of the video; and performing the conversion based on the determining.
In another example aspect, a video processing method is disclosed. The method includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies a number of adaptation parameter set (APS) network abstraction layer units or a characteristic of the APS network abstraction layer units that include information for the conversion.
In another example aspect, a video processing method is disclosed. The method includes performing a conversion between a video comprising video pictures and a coded representation of the video, wherein the coded representation conforms to a format rule, wherein the format rule specifies whether and where one or more syntax elements indicative of one or more initial quantization parameter (QP) values used during the conversion are included in the coded representation. In yet another example aspect, a video encoder apparatus is disclosed. The video encoder comprises a processor configured to implement above-described methods.
In yet another example aspect, a video decoder apparatus is disclosed. The video decoder comprises a processor configured to implement above-described methods.
In yet another example aspect, a computer readable medium having code stored thereon is disclose. The code embodies one of the methods described herein in the form of processor-executable code.
These, and other, features are described throughout the present document.
BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is an illustration of the two scalar quantizers used in dependent quantization.
FIG. 2 shows an example of state transition and quantizer selection for dependent quantization.
FIG. 3 is a block diagram of an example video processing system.
FIG. 4 is a block diagram of a video processing apparatus.
FIG. 5 is a flowchart for an example method of video processing.
FIG. 6 is a block diagram that illustrates a video coding system in accordance with some embodiments of the present disclosure.
FIG. 7 is a block diagram that illustrates an encoder in accordance with some embodiments of the present disclosure.
FIG. 8 is a block diagram that illustrates a decoder in accordance with some embodiments of the present disclosure.
FIGS. 9 to 11 are flowcharts for example methods of video processing.
Section headings are used in the present document for ease of understanding and do not limit the applicability of techniques and embodiments disclosed in each section only to that section. Furthermore, H. 266 terminology is used in some description only for ease of understanding and not for limiting scope of the disclosed techniques. As such, the techniques described herein are applicable to other video codec protocols and designs also.
1. Initial discussion
This invention is related to video coding technologies. Specifically, it is related to initial quantization parameter (QP) and chroma QP table in video coding. It may be applied to the existing video coding standard like HEVC, or the standard (Versatile Video Coding) to be finalized. It may be also applicable to future video coding standards or video codec.
2. Abbreviations
APS Adaptation Parameter Set
AU Access Unit
AUD Access Unit Delimiter
AVC Advanced Video Coding
CLVS Coded Layer Video Sequence
CPB Coded Picture Buffer
CRA Clean Random Access
CTU Coding Tree Unit
CVS Coded Video Sequence
DPB Decoded Picture Buffer
DPS Decoding Parameter Set
EOB End Of Bitstream
EOS End Of Sequence
GDR Gradual Decoding Refresh
HEVC High Efficiency Video Coding
HRD Hypothetical Reference Decoder
IDR Instantaneous Decoding Refresh
JEM Joint Exploration Model
MCTS Motion-Constrained Tile Sets
NAL Network Abstraction Layer
OLS Output Layer Set
PH Picture Header
PPS Picture Parameter Set
PTL Profile, Tier and Level
PU Picture Unit
QP Quantization Parameter
RBSP Raw Byte Sequence Payload
SEI Supplemental Enhancement Information
SPS Sequence Parameter Set
SVC Scalable Video Coding
VCL Video Coding Layer
VPS Video Parameter Set
VTM VVC Test Model
VUI Video Usability Information
VVC Versatile Video Coding
3. Video coding introduction
Video coding standards have evolved primarily through the development of the well-known ITU-T and ISO/IEC standards. The ITU-T produced H. 261 and H. 263, ISO/IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced the H. 262/MPEG-2 Video and H. 264/MPEG-4 Advanced Video Coding (AVC) and H. 265/HEVC standards. Since H. 262, the video coding standards are based on the hybrid video coding structure wherein temporal prediction plus transform coding are utilized. To explore the future video coding technologies beyond HEVC, Joint Video Exploration Team (JVET) was founded by VCEG and MPEG jointly in 2015. Since then, many new methods have been adopted by JVET and put into the reference software named Joint Exploration Model (JEM) . In April 2018, the Joint Video Expert Team (JVET) between VCEG (Q6/16) and ISO/IEC JTC1 SC29/WG11 (MPEG) was created to work on the VVC standard targeting at 50%bitrate reduction compared to HEVC.
The latest version of VVC draft, i.e., Versatile Video Coding (Draft 8) can be found at:
http: //phenix. int-evry. fr/jvet/doc_end_user/documents/17_Brussels/wg11/JVET-Q2001-v13. zip
And the latest test model software can be found at:
https: //vcgit. hhi. fraunhofer. de/jvet/VVCSoftware_VTM/-/archive/VTM-8.0/VVCSoftware_VTM-VTM-8.0. zip
3.1. Quantization parameter control
In VVC, Maximum QP was extended from 51 to 63, and the signaling of initial QP was changed accordingly. The initial value of SliceQpY is modified at the slice segment layer when a non-zero value of slice_qp_delta is coded. Specifically, the value of init_qp_minus26 is modified to be in the range of (-26 + QpBdOffsetY) to +37. When the size of a transform block is not a power of 4, the transform coefficients are processed along with a modification to the QP or QP levelScale table rather than by multiplication by 181/256 (or 181/128) , to compensate for an implicit scaling by the transform process. For transform skip block, minimum allowed Quantization Parameter (QP) is defined as 4 because quantization step size becomes 1 when QP is equal to 4.
In HEVC (and also in H. 264) , a fixed look-up table is used to convert the luma quantization parameter QPY to chroma quantization parameter QPC. In VVC, a more flexible luma-to-chroma QP mapping is used. Instead of having a fixed table, the luma-to-chroma QP mapping relationship is signalled in the SPS using a flexible piecewise linear model, with the only constraint on the linear model being that the slope of each piece cannot be negative (i.e., as luma QP increases, chroma QP must stay flat or increase, but cannot decrease) . The piecewise linear model is defined by: 1) the number of pieces in the model; 2) input (luma) and output (chroma) delta QPs for that piece. The input range of the piecewise linear model is [-QpBdOffsetY, 63] and the output range of the piecewise linear model is [-QpBdOffsetC, 63] . The QP mapping relationship can be signalled separately for Cb, Cr and joint Cb/Cr coding, or signalled jointly for all three types of residual coding.
Same as in HEVC, CU-level QP adaptation is allowed in VVC. Delta QP values for luma and chroma components can be signalled separately. For the chroma components, the allowed chroma QP offset values are signalled in the form of offset lists in the PPS in a similar manner as in HEVC. The lists are defined separately for Cb, Cr and joint Cb/Cr coding. Up to 6 offset values are allowed for each of Cb, Cr, and joint Cb/Cr lists. At the CU-level, an index is signalled to indicate which one of the offset values in the offset list is used to adjust the chroma QP for that CU. CU chroma QP offset signalling is also consistent with the VPDU CU QP delta availability, and for CU larger than 64x64, send the chroma QP offset with the first transform unit regardless of whether it has non-zero CBF or not.
3.2. Dependent quantization
In addition, the same HEVC scalar quantization is used with a new concept called dependent scalar quantization. Dependent scalar quantization refers to an approach in which the set of admissible reconstruction values for a transform coefficient depends on the values of the transform coefficient levels that precede the current transform coefficient level in reconstruction order. The main effect of this approach is that, in comparison to conventional independent scalar quantization as used in HEVC, the admissible reconstruction vectors are packed denser in the N-dimensional vector space (N represents the number of transform coefficients in a transform block) . That means, for a given average number of admissible reconstruction vectors per N-dimensional unit volume, the average distortion between an input vector and the closest reconstruction vector is reduced. The approach of dependent scalar quantization is realized by: (a) defining two scalar quantizers with different reconstruction levels and (b) defining a process for switching between the two scalar quantizers.
The two scalar quantizers used, denoted by Q0 and Q1, are illustrated in FIG. 1. The location of the available reconstruction levels is uniquely specified by a quantization step size Δ. The scalar quantizer used (Q0 or Q1) is not explicitly signalled in the bitstream. Instead, the quantizer used for a current transform coefficient is determined by the parities of the transform coefficient levels that precede the current transform coefficient in coding/reconstruction order.
As illustrated in FIG. 2, the switching between the two scalar quantizers (Q0 and Q1) is realized via a state machine with four states. The state can take four different values: 0, 1, 2, 3. It is uniquely determined by the parities of the transform coefficient levels preceding the current transform coefficient in coding/reconstruction order. At the start of the inverse quantization for a transform block, the state is set equal to 0. The transform coefficients are reconstructed in scanning order (i.e., in the same order they are entropy decoded) . After a current transform coefficient is reconstructed, the state is updated as shown in Figure 18, where k denotes the value of the transform coefficient level.
3.3. Scaling matrices
VVC supports to use the default scaling matrices or signal user-defined scaling matrices. The DEFAULT mode scaling matrices are all flat, with elements equal to 16 for all TB sizes. IBC and intra coding modes currently share the same scaling matrices. Thus, for the case of USER_DEFINED matrices, the number of MatrixType and MatrixType_DC are updated as follows:
– MatrixType: 30 = 2 (2 for intra&IBC/inter) × 3 (Y/Cb/Cr components) × 5 (square TB size: from 4×4 to 64×64 for luma, from 4×4 to 32×32 for chroma)
– MatrixType_DC: 14 = 2 (2 for intra&IBC/inter × 1 for Y component) × 3 (TB size: 16×16, 32×32, 64×64) + 4 (2 for intra&IBC/inter × 2 for Cb/Cr components) × 2 (TB size: 16×16, 32×32)
The DC values are separately coded for following scaling matrices: 16×16, 32×32, and 64×64. For TBs of size smaller than 8×8, all elements in one scaling matrix are signalled. If the TBs have size greater than or equal to 8×8, only 64 elements in one 8×8 scaling matrix are signalled as a base scaling matrix. For obtaining square matrices of size greater than 8×8, the 8×8 base scaling matrix is up-sampled (by duplication of elements) to the corresponding square size (i.e. 16×16, 32×32, 64×64) . when the zeroing-out of the high frequency coefficients for 64-point transform is applied, corresponding high frequencies of the scaling matrices are also zeroed out. That is, if the width or height of the TB is greater than or equal to 32, only left or top half of the coefficients is kept, and the remaining coefficients are assigned to zero. Moreover, the number of elements signalled for the 64×64 scaling matrix is also reduced from 8×8 to three 4×4 submatrices, since the bottom-right 4×4 elements are never used. In VVC, 2x2, 2x4, and 4x2 chroma intra coding blocks (CBs) do not exist, and the smallest intra block size is equal to 2x8 and 8x2, as well as the smallest chroma intra block copy (IBC) block size. Furthermore, inter-prediction is disabled for 4x4 luma CBs. Therefore, small 2x2 chroma blocks can be created only by applying a subblock transform (SBT) . Considering these essences, 2x2 intra chroma quantization matrices (QMs) are removed from the default QM list, and not code user-defined intra QMs for this size.
In order to improve coding efficiency for user defined quantization matrixes (QM) , following approaches are considered.
– Allow referencing a previously coded QM with the same base size as the current QM.
– Allow coding element-to-element differences between the current QM and the reference QM.
– Keep the original DPCM coding of elements within the current QM.
– Use a single matrix identifier scalingListId which combines matrixId and sizeId.
3.4. Joint coding of chroma residuals
VVC supports a mode where the chroma residuals are coded jointly; this is named as JCCR (Joint Coding of Chroma Residuals) . The usage (activation) of a joint chroma coding mode is indicated by a TU-level flag tu_joint_cbcr_residual_flag and the selected mode is implicitly indicated by the chroma CBFs. The flag tu_joint_cbcr_residual_flag is present if either or both chroma CBFs for a TU are equal to 1. In the PPS and slice header, chroma QP offset values are signalled for the joint chroma residual coding mode to differentiate from the usual chroma QP offset values signalled for regular chroma residual coding mode. These chroma QP offset values are used to derive the chroma QP values for those blocks coded using the joint chroma residual coding mode. When a corresponding joint chroma coding mode (modes 2 in the following table) is active in a TU, this chroma QP offset is added to the applied luma-derived chroma QP during quantization and decoding of that TU. For the other modes ( modes 1 and 3 in the following table) , the chroma QPs are derived in the same way as for conventional Cb or Cr blocks. The reconstruction process of the chroma residuals (resCb and resCr) from the transmitted transform blocks is depicted in Table 1. When this mode is activated, one single joint chroma residual block (resJointC [x] [y] in the following table) is signalled, and residual block for Cb (resCb) and residual block for Cr (resCr) are derived considering information such as tu_cbf_cb, tu_cbf_cr, and CSign, which is a sign value specified in the slice header. At the encoder side, the joint chroma components are derived as explained in the following. Depending on the mode (listed in the tables above) , resJointC {1, 2} are generated by the encoder as follows:
– If mode is equal to 2 (single residual with reconstruction Cb = C, Cr = CSign *C) , the joint residual is determined according to
resJointC [x] [y] = (resCb [x] [y] + CSign *resCr [x] [y] ) /2
– Otherwise, if mode is equal to 1 (single residual with reconstruction Cb = C, Cr = (CSign *C) /2) , the joint residual is determined according to
resJointC [x] [y] = (4 *resCb [x] [y] + 2 *CSign *resCr [x] [y] ) /5
– Otherwise (mode is equal to 3, i.e., single residual, reconstruction Cr = C, Cb = (CSign * C) /2) , the joint residual is determined according to
resJointC [x] [y] = (4 *resCr [x] [y] + 2 *CSign *resCb [x] [y] ) /5
Table 1. Reconstruction of chroma residuals. The value CSign is a sign value (+1 or -1) , which is specified in the slice header, resJointC [] [] is the transmitted residual.
The three joint chroma coding modes described above are only supported in I slices. In P and B slices, only mode 2 is supported. Hence, in P and B slices, the syntax element tu_joint_cbcr_residual_flag is only present if both chroma cbfs are 1. Note that transform depth is removed in the context modeling of tu_cbf_luma and tu_cbf_cb.
3.5. Chroma QP table in SPS
In clause 7.3.2.3 of JVET-Q2001-vC, the SPS includes a structure named chroma QP table, shown as follows:
They are with the following semantics and QP table derivation:
sps_joint_cbcr_enabled_flag equal to 0 specifies that the joint coding of chroma residuals is disabled. sps_joint_cbcr_enabled_flag equal to 1 specifies that the joint coding of chroma residuals is enabled. When not present, the value of sps_joint_cbcr_enabled_flag is inferred to be equal to 0.
same_qp_table_for_chroma equal to 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1. same_qp_table_for_chroma equal to 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, are signalled in the SPS. When same_qp_table_for_chroma is not present in the bitstream, the value of same_qp_table_for_chroma is inferred to be equal to 1.
qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table. The value of qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive. When qp_table_start_minus26 [i] is not present in the bitstream, the value of qp_table_start_minus26 [i] is inferred to be equal to 0.
num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table. The value of num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. When num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1 [0] is inferred to be equal to 0.
delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table. When delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table.
The i-th chroma QP mapping table ChromaQpTable [i] for i = 0.. numQpTables -1 is derived as follows:
When same_qp_table_for_chroma is equal to 1, ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
It is a requirement of bitstream conformance that the values of qpInVal [i] [j] and qpOutVal [i] [j] shall be in the range of -QpBdOffset to 63, inclusive for i in the range of 0 to numQpTables -1, inclusive, and j in the range of 0 to num_points_in_qp_table_minus1 [i] + 1, inclusive.
In the above description, QpBdOffset is derived as:
bit_depth_minus8 specifies the bit depth of the samples of the luma and chroma arrays, BitDepth, and the value of the luma and chroma quantization parameter range offset, QpBdOffset, as follows:
BitDepth = 8 + bit_depth_minus8
QpBdOffset = 6 *bit_depth_minus8
bit_depth_minus8 shall be in the range of 0 to 8, inclusive.
3.6. Initial QP in PPS
There is a syntax element, named init_qp_minus26, in PPS. The semantics is as follows: init_qp_minus26 plus 26 specifies the initial value of SliceQp
Y for each slice referring to the PPS. The initial value of SliceQp
Y is modified at the picture level when a non-zero value of ph_qp_delta is decoded or at the slice level when a non-zero value of slice_qp_delta is decoded. The value of init_qp_minus26 shall be in the range of - (26 + QpBdOffset) to +37, inclusive.
When qp_delta_info_in_ph_flag is equal to 1, the initial value of the Qp
Y quantization parameter for all slices of the picture, SliceQp
Y, is derived as follows:
SliceQp
Y = 26 + init_qp_minus26 + ph_qp_delta
When qp_delta_info_in_ph_flag is equal to 0, the initial value of the Qp
Y quantization parameter for the slice, SliceQp
Y, is derived as follows:
SliceQp
Y = 26 + init_qp_minus26 + slice_qp_delta
The value of SliceQp
Y shall be in the range of -QpBdOffset to +63, inclusive.
4. Technical problems solved by disclosed technical solutions and embodiments
1. The signalling of the initial QP value (i.e., init_qp_minus26) may not be reasonable.
2. I and B/P pictures or slices may need different chroma QP tables, however, they share the same in the current VVC draft text.
3. Transform skip may need another chroma QP table.
4. Chroma QP table start point should cover the whole QP range which is not the case in the current design.
5. Chroma QP table may have a biased start point.
6. The number of points in a chroma QP table should be able to be 0, but this is disallowed in the current design since the num_points_in_qp_table_minus1 is coded and the minimum allowed value of the syntax element is equal to 0 and consequently the minimum number of points is 1.
7. Specifying a QP clipping in the derivation of chroma QP may be better than specifying a bitstream conformance constraint for limiting the derived chroma QP value, as the former would prevent a violation from happening.
8. In the latest VVC draft text, the SH syntax element slice_ts_residual_coding_disabled_flag is used to specify whether transform skip based residual coding (TSRC) or regular residual coding (RRC) is used for a transform bock. However, there might be higer-level (SPS/PPS) and/or lower-level (CU/TU) level control flags for whether the current block is using TSRC or RRC. Moreover, the interactions between different level control flags, and between the control flag and the transform skip flags would be further specified.
9. In current VVC, chroma ALF and CC-ALF are disabled implicitly when luma ALF is disabled at SPS/PH/SH. However, such a restriction is not applied at CTU level. When luma ALF is disabled for a CTU, the chroma ALF and CC-ALF may still be applied for the CTU. Such a design is conflicting with the intention of controlling chroma ALF/CC-ALF based on luma ALF at higher levels
10. Chroma QP tables may have a default set of values, dependent on colour format.
11. In the sub-bitstream extraction process specified in clause C. 6 of the latest VVC draft in JVET-Q2001-vE, one step is specified as follows:
– Remove from outBitstream all NAL units for which all of the following conditions are true:
– nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT.
– nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in the range of 0 to NumLayersInOls [targetOlsIdx] -1 inclusive.
– TemporalId is greater than or equal to NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
However, that means parameter sets etc. non-VCL NAL units that satisfy the all the three conditions would also be removed. That is not desirable, and parameter sets, e.g., PPSs and APSs can be shared by pictures with different TemporalId values, and can be placed at the beginning of the bitstream.
12. The current spec allows 8 ALF_APS, 8 SCALING_APS, and 3 LMCS APS, respectively. However, the number of APS NAL units allowed for pictures may be not enough, e.g., a typical use case is that a picture contains 96 subpictures and each subpicture may require different ALF_APS. In such case, current eight ALF_APS NAL units are not sufficient to achieve a decent coding efficiency. Therefore, there is a need to support a larger number of APSs.
5. Example listing of embodiments and solutions
To solve the above problems, and others, methods as summarized below are disclosed. The items should be considered as examples to explain the general concepts and should not be interpreted in a narrow way. Furthermore, these items can be applied individually or combined in any manner.
In the following, floor (x) denotes a function that returns the greatest integer that is less than or equal to x.
1. The initial QP value syntax element, which is used to specify the initial QP values, e.g., currently denoted as init_qp_minus26 in JVET-Q2001-vC, in PPS may be moved to PH.
a. Alternatively, the initial QP value syntax element may be repeated at PH.
b. Alternatively, the initial QP value syntax element may be signalled in both PPS and PH, and the initial QP value syntax element signalled in PH may override or update (by adding the signalled delta) the initial QP value syntax element signalled in PPS.
c. Alternatively, the initial QP value syntax element may be signalled in the SPS, possibly also signalled in one or more of the PPS, PH, and SH, and when present, the value at a lower level overrides or updates (by adding the signalled delta) the value signalled at a higher level. In the case of updating, the initial QP value signalled at the highest level is ue (v) coded, and the delta values signalled in the lower levels are se (v) coded.
2. Multiple syntax elements for indications of initial QP values may be signalled in SPS/PPS/PH/SH according to specific types.
a. In one example, each of them may be corresponding to a specific type.
b. In one example, the specific type may include a picture/slice type (e.g., I/P/B; Intra/Inter) .
c. In one example, the specific type may include a video content type (e.g., screen content or camera captured content) .
d. In one example, the specific type may include an index of a subpicture or other subpicture identification information, i.e., different subpictures may be associated with different syntax elements for initial QPs derivation.
e. In one example, the specific type may include an index of a slice or other slice identification information, i.e., different slices may be associated with different syntax elements for initial QPs derivation.
f. In one example, the specific type may include an index of a tile or other tile identification information, i.e., different tiles may be associated with different syntax elements for initial QPs derivation.
g. In one example, the specific type may include a transform type. (e.g., transform skip mode or not transform skip mode) .
3. The initial QP value syntax element (e.g., in SH/PH/PPS/SPS) may be offseted by a number K not equal to 26.
a. In one example, K is smaller than 26.
b. In one example, the syntax element may be replaced by init_qp_minusK and/or the value of the syntax element shall be in the range of - (K+QpBdOffset) to (63-K) , inclusive, where K is smaller than 26.
i. In one example, K is equal to 20. Alternatively, furthermore, the syntax element may be replaced by init_qp_minus20 and/or the value of the syntax element shall be in the range of - (20+QpBdOffset) to 43 (i.e., 63-20) , inclusive.
c. In one example, K is larger than 26.
i. In one example, the syntax element may be replaced by init_qp_minusK, and the value of the syntax element shall be in the range of - (K+QpBdOffset) to (63-K) , inclusive, where K is a constant larger than 26.
ii. In one example, K is equal to 32. Alternatively, furthermore, the syntax element may be replaced by init_qp_minus32 and the value of the syntax element shall be in the range of - (32+QpBdOffset) to 31 (i.e., 63-32) , inclusive.
d. Alternatively, K may be set to a function of the maximum allowed QP and/or the the minimum allowed QP. For example, K may be set equal to (the maximum allowed QP -the minimum allowed QP) /2 or (the maximum allowed QP + 1 -the minimum allowed QP) /2.
e. In above example, K may be dependent on picture/slice/block types; and/or prediction modes and/or bitdepth.
i. In one example, the value of K for a I slice/picture is no greater than that for a P/B slices/pictures.
4. The initial QP value syntax element (e.g., in SH/PH/PPS) may be offseted by a number dependent on the internal bit depth.
a. In one example, the initial QP value syntax element may be offseted by floor ( (-QpBdOffset+M) /2) .
i. Alternatively, furthermore, the value of the syntax element plus floor ( (-QpBdOffset+M) /2) shall be in the range of -QpBdOffset to 63, inclusive.
b. In one example, the initial QP value syntax element may be offseted by (floor ( (-QpBdOffset+M) /2) + K) , where K is a constant number.
i. Alternatively, furthermore, the value of the syntax element plus (floor ( (-QpBdOffset+M) /2) + K) shall be in the range of -QpBdOffset to N, inclusive.
c. In above examples, N may be set to the maximum allowed QP value (e.g., 63) .
d. In above examples, M may be set to the maximum allowed QP value (e.g., 63) or maximum allowed QP value plus/minus 1.
5. Chroma QP tables may be determined according to picture/slice types.
a. In one example, different picture/slice types may have different sets of chroma QP tables.
b. In one example, I pictures/slices may have their own chroma QP tables.
c. In one example, I and B and P pictures/slices may each have their own chroma QP tables.
d. In one example, B and P pictures/slices may share the same set of chroma QP tables.
e. In one example, the picture/slice types may be classified to M cases (M=2 for I only, BP share; M=3 for I/B/P separate) . the number of chroma QP tables to be signalled may be dependent on M.
i. In one example, number of chroma QP tables to be signalled may be set to M*numQpTables whereine (numQpTables = same_qp_table_for_chroma ? 1 : (sps_joint_cbcr_enabled_flag ? 3 : 2) ) wherein M is greater than 1.
1) Alternatively, furthermore, the semantics of same_qp_table_for_chroma may be further modified to ‘same_qp_table_for_chroma equal to 1 specifies that only one chroma QP mapping table is signalled for a picture/slice type’ .
ii. In one example, furthermore, number of chroma QP tables to be signalled may be set to (same_qp_table_for_chroma ? 1 : (M* (sps_joint_cbcr_enabled_flag ? 3 : 2) ) ) wherein M is greater than 1.
iii. In one example, for each category, an indication of whether all blocks share the same chroma QP tables is firstly signalled, and number of QP tables may be set to (same qp table for chroma ? 1 : (sps_joint_cbcr_enabled_flag ? 3 : 2) ) , followed by detailed information of chroma QP tables.
1) Alternatively, furthermore, for all categories, indications of the starting luma and chroma QP used to describe a chroma QP mapping table may be further siganlled, such as using the actual value minus K (e.g., K = 26) .
2) Alternatively, furthermore, indications of the starting luma and chroma QP used to describe a chroma QP mapping table may be further siganlled, such as using the actual value minus K (e.g., K = 1 for intra slices/pictures or K=32 for inter slices/pictures) and K depending on category index.
6. An indication, e.g., sps_non_intra_present_flag, may be added into SPS to indicate if the current sequence may contain B/P slices.
a. In one example, when the flag is 1, it indicates that all slices in the current sequences are of intra slices.
b. In one example, when the flag is 0, it indicates that there may be B/P slices in the current sequence.
7. Either one or two sets of chroma QP tables may be signalled in the SPS.
a. A flag is added to the SPS, e.g., named sps_one_set_of_chroma_qp_tables_flag.
b. sps_one_set_of_chroma_qp_tables_flag equal to 1 specifies the presence of one set of chroma QP tables in the SPS (i.e., as in the current VVC draft text) , and this set of chroma QP tables only applies to intra coded entities (pictures, slices, CTUS, CUs, or coded blocks) .
i. In one example, the only set of chroma QP tables applies only to intra pictures (for which all slices are intra slices, i.e., I slices) in CLVSs referring to the SPS.
ii. In one example, the only set of chroma QP tables applies only to intra slices in CLVSs referring to the SPS.
iii. In one example, the only set of chroma QP tables applies only to intra CTUs in CLVSs referring to the SPS.
iv. In one example, the only set of chroma QP tables applies only to intra CUs in CLVSs referring to the SPS.
v. In one example, the only set of chroma QP tables applies only to intra coded blocks in CLVSs referring to the SPS.
c. sps_one_set_of_chroma_qp_tables_flag equal to 1 specifies the presence of one set of chroma QP tables in the SPS (i.e., as in the current VVC draft text) , and this set of chroma QP tables applies to both intra and inter coded entities (pictures, slices, CTUS, CUs, or coded blocks) .
d. sps_one_set_of_chroma_qp_tables_flag equal to 0 specifies the presence of two set of chroma QP tables in the SPS (i.e., adding one more set of chroma QP tables) , the 0-th set of chroma QP tables only applies to intra coded entities (pictures, slices, CTUS, CUs, or coded blocks) , and the 1-th set of chroma QP tables only applies to inter coded entities (pictures, slices, CTUS, CUs, or coded blocks) .
i. In one example, the 0-th set of chroma QP tables applies only to intra pictures (for which all slices are intra slices) in CLVSs referring to the SPS, and the 1-th set of chroma QP tables applies only to inter pictures (for which all slices are inter slices, i.e., B or P slices) in CLVSs referring to the SPS.
ii. In one example, the 0-th set of chroma QP tables applies only to intra slices in CLVSs referring to the SPS, and the 1-th set of chroma QP tables applies only to inter slices in CLVSs referring to the SPS.
iii. In one example, the 0-th set of chroma QP tables applies only to intra CTUs in CLVSs referring to the SPS, and the 1-th set of chroma QP tables applies only to inter CTUs in CLVSs referring to the SPS.
iv. In one example, the 0-th set of chroma QP tables applies only to intra CUs in CLVSs referring to the SPS, and the 1-th set of chroma QP tables applies only to inter CUs in CLVSs referring to the SPS.
v. In one example, the 0-th set of chroma QP tables applies only to intra coded blocks in CLVSs referring to the SPS, and the 1-th set of chroma QP tables applies only to inter coded blocks in CLVSs referring to the SPS.
e. The flag may be sent only when ChromaArrayType is not equal to 0.
f. An exemplar implementation is shown in embodiment 4.
g. Another exemplar implementation is shown in embodiment 5.
8. Chroma QP tables may be determined according to prediction modes.
a. In one example, intra CUs and other CUs may have a different set of chroma QP tables.
i. In one example, it may only apply on dual tree and/or local dual tree.
b. Alternatively, intra/palette CUs and other CUs may have a different set of chroma QP tables.
c. Alternatively, intra/IBC/palette CUs and other CUs may have a different set of chroma QP tables.
d. Alternatively, intra/IBC CUs and other CUs may have a different set of chroma QP table.
e. In above examples, the number of chroma QP tables to be signalled may be dependent on number of the classified sets of prediction modes.
f. In above examples, the prediction mode may mean the prediction mode of the luma CB.
9. Transform skip blocks may have a different set of chroma QP tables.
a. In one example, it may only apply to luma blocks coded in transform skip mode.
10. The maximum allowed value of the chroma QP table start point syntax element, i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be 37.
11. The chroma QP table start point syntax element, i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be offseted by a number K smaller than 26.
a. In one example, the syntax element may be replaced by qp_table_start_minusK and/or the value of the syntax element plus K shall be in the range of - (K+QpBdOffset) to (M-K) , inclusive, where K is smaller than 26.
b. In one example, the syntax element may be replaced by qp_table_start_minusK and/or the value of the syntax element shall be in the range of - (K+QpBdOffset) to (M-1-K) , inclusive, where K is smaller than 26.
i. In one example, K is equal to 20. Alernativley, furthermore, the syntax element may be replaced by init_qp_minus20 and/or the value of the syntax element plus 20 shall be in the range of - (20+QpBdOffset) to (M-20) , inclusive.
ii. In one example, K is equal to 20. Alernativley, furthermore, the syntax element may be replaced by init_qp_minus20 and/or the value of the syntax element plus 20 shall be in the range of - (20+QpBdOffset) to (M-1-20) , inclusive.
c. Alternatively, the initial QP value syntax element may be offseted by a number K larger than 26.
i. In one example, the syntax element may be replaced by init_qp_minusK, and the value of the syntax element plus K shall be in the range of - (K+QpBdOffset) to (M-K) , inclusive, where K is a constant larger than 26.
ii. In one example, the syntax element may be replaced by init_qp_minusK, and the value of the syntax element plus K shall be in the range of - (K+QpBdOffset) to (M-1-K) , inclusive, where K is a constant larger than 26.
1) In one example, K is equal to 32. Alernativley, furthermore, the syntax element may be replaced by init_qp_minus32 and the value of the syntax element plus 32 shall be in the range of - (32+QpBdOffset) to (M-32) , inclusive.
2) In one example, K is equal to 32. Alernativley, furthermore, the syntax element may be replaced by init_qp_minus32 and the value of the syntax element plus 32 shall be in the range of - (32+QpBdOffset) to (M-1-32) , inclusive.
d. In above example, K may be dependent on picture/slice types; and/or prediction modes and/or bit depth.
i. In one example, for Intra picture/slices, K is set to 1.
ii. In one example, for P/B picture/slices, K is set to 32.
e. In above example, M may be the maximum allowed QP value, e.g., 63.
f. In one example, K is 0.
i. Alternatively, furthermore, the syntax element may be binarized with uv (e) instead of sv (e) .
12. The chroma QP table start point syntax element, i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be offseted by a value depend on if the current picture is intra only picture.
a. Alternatively, the offset may depend on intra_only_constraint_flag.
13. The syntax element related to the number of pivot points in a chroma QP table, i.e., currently denoted as num_points_in_qp_table_minus1, should be able to present 0 number of points.
a. In one example, the syntax element num_points_in_qp_table_minus1, may be replaced by num_points_in_qp_table that is used to specify the number of points in a chroma QP table and the value is a non-negative integer.
i. In one example, the value of the syntax element that denotes the number of pivot points shall be in the range of 0 to (63+QpBdOffset) .
b. Alternatively, furthermore, when number of pivot points in a chroma QP table is zero, the i-th entry of a chroma QP table is set equal to the i-th entry of a luma QP table.
c. Alternatively, furthermore, when number of pivot points in a chroma QP table is zero, the i-th entry of a chroma QP table is set equal to (the i-th entry of a luma QP table plus an offset) .
i. In one example, the offset may be dependent on the coded method (e.g., JCCR on or off)
14. Parsing of the chroma QP table start point syntax element, i.e., currently denoted as qp_table_start_minus26 in JVET-Q2001-vC, may be conditional on if the number of pivot points is 0 or not.
a. In one example, when the number of pivot points is 0, parsing of the syntax element may be skipped.
15. In the derivation process of the chroma QP table, the XOR operator should be performed between (delta_qp_in_val_minus1 [i] [j] + 1) and delta_qp_diff_val [i] [j] .
a. An example is shown in embodiment 3.
16. A QP clipping may be always applied to the chroma QP table index.
a. In one example, the clipping range is from -QpBdOffset to 63, inclusive.
17. A QP clipping may be always applied to the mapped chroma QPs in a chroma QP table.
a. In one example, the clipping range is from -QpBdOffset to 63, inclusive.
18. Chroma QP tables may be signalled in both SPS and PPS.
a. In one example, chroma QP table in PPS may overwrite the corresponding table in SPS.
19. Chroma QP tables may be signalled in PH or SH.
a. In one example, chroma QP table in PH or SH may overwrite the corresponding table in SPS or PPS.
20. The default chroma QP tables may depend on ChromaArrayType.
a. In one example, when ChromaArrayType is equal to 3 (i.e. 4: 4: 4 colour format and separate_colour_plane_flag is equal to 0) , identity QP chroma QP tables (i.e. luma QP = chroma QP) may be set as default.
b. In one example, when ChromaArrayType is equal to 2 (i.e. 4: 2: 2 colour format) , identity QP chroma QP tables (i.e. luma QP = chroma QP) may be set as default.
21. Regarding the control of RRC and TSRC for solving the eighth problem, one or more of the following approaches are disclosed, e.g., as in the seventh set of embodiments:
a. In one example, whether to allow TSRC for a video unit (CLVS/group of pictures/picture/slice/tile/CTU row/CTU/CU/PU/TU) may be dependent on syntax elements (e.g., one or more flags) signalled in the SPS/PPS/PH/SH/block/CU/TU-level.
i. For example, the TSRC enabling/disabling flag may be signalled either in the PH or the SH, but not both,
1) Additionally, whether to signalled the TSRC enabling/disabling flag in the PH or the SH may be dependent on a syntax flag signalled in the PPS/SPS.
2) Additionally, when the TSRC enabling/disabling flag is signalled in the PH, then the TSRC enabling/disabling flag in the SH is not signalled.
3) Additionally, when the TSRC enabling/disabling flag in the SH is not present, it is inferred to be equal to the TSRC enabling/disabling flag in the PH.
ii. Alternatively, the TSRC enabling/disabling flags may be signalled in both the PH and SH,
1) Additionally, furthermore, the TSRC enabling/disabling flags in the SH may be not signalled when the TSRC enabling/disabling flags in the PH specifying that the TSRC is disabled for all slices referring to the PH.
iii. For example, the block/CU/TU-level TSRC enabling/disabling flag is coded with context-adaptive arithmetic entropy-coded syntax element, such as ae (v) coding.
iv. For example, the SPS/PPS/PH/SH-level TSRC enabling/disabling flag is coded with unsigned integer using n bits (e.g., u (1) coding) , such as n=1.
b. Additionally, the signalling of the TSRC enabling/disabling flag for a video unit may be dependent on whether the transform skip is enabled/used for a video unit.
i. For example, if the transform skip is disabled at the SPS-level (e.g., sps_transform_skip_enabled_flag is equal to 0) , then the TSRC enabling/disabling flag in the PPS-level is required be equal to a certain value that specifying the TSRC is disabled for pictures referring to the current PPS.
ii. Additionally, if the transform skip is disabled at a higher-level (e.g., sps_transform_skip_enabled_flag is equal to 0) , then the TSRC enabling/disabling flags at the lower-level and/or same-layer (e.g., SPS/PH/SH/block/CU/TU-level) are not signalled.
iii. Alternatively, furthermore, if the transform skip is enabled at a higher-level (e.g., SPS) but not used for a video unit (e.g., the TU-level transform_skip_flag is equal to 0) , then the TSRC enabling/disabling flag of the current video unit (e.g., TU) is not signalled.
iv. Additionally, when the TSRC enabling/disabling flag is not signalled at a video unit level, the value of the TSRC enabling/disabling flag is inferred to be a certain value that specifying the TSRC is disabled for the video unit.
c. Alternatively, furthermore, the signalling of the TSRC enabling/disabling flag at low-level may be dependent on the TSRC enabling/disabling flag at higher-level.
i. For example, the signalling of the TSRC enabling/disabling flag at picture/slice level may be dependent on whether the TSRC is enabled at SPS/PPS-level.
ii. Additionally, the signalling of the TSRC enabling/disabling flag at block/CU/TU level may be dependent on whether the TSRC is enabled at SPS/PPS/picture/slice-level.
1) For example, when the TSRC is disabled at a higher-level (e.g., SPS/PPS/picture/slice-level) , then the TSRC enabling/disabling flag at block/CU/TU level is not signalled.
2) Additionally, furthermore, when the TSRC enabling/disabling flag is not present, it is inferred to a certain value (such as a value specifying the TSRC is disabled for the current video unit) .
iii. Additionally, the value of the TSRC enabling/disabling flag at PPS-level may be dependent on whether the TSRC is enabled at SPS-level.
1) For example, when the SPS-level TSRC enabling/disabling flag specifies that the TSRC is disabled for the CLVS, then the value of the PPS-level TSRC enabling/disabling flag is required to be equal to a certain value that specifying the TSRC is disabled for pictures referring to the current PPS.
Regarding ALF and CC-ALF
22. it is proposed that indication of usage of chroma ALF/CC-ALF for a current CTU are not signaled when the luma ALF is disabled for the current CTU.
a. Alternatively, furthermore, the usage is inferred to be false when luma ALF is disabled for a CTU. In other words, chroma ALF/CC-ALF are disabled when luma ALF is disabled in a CTU
Regarding sub-bitstream extraction
23. It is proposed that the information carried in the array NumSubLayersInLayerInOLS [] [] may be used in the sub-bitstream extraction process in VVC only for removing of VCL NAL units.
a. In one example, the following step in the sub-bitstream extraction process specified in clause C. 6 of VVC:
– Remove from outBitstream all NAL units for which all of the following conditions are true:
– nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT.
– nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in the range of 0 to NumLayersInOls [targetOlsIdx] -1 inclusive.
– TemporalId is greater than or equal to NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
is changed to be the following:
– Remove from outBitstream all VCL NAL units for which all of the following conditions are true:
– nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT.
– nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in the range of 0 to NumLayersInOls [targetOlsIdx] -1 inclusive.
– TemporalId is greater than or equal to NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
Regarding the number of APSs
In the following discussion,
“The maximum allowed number of filters” may refer to “the maximum allowed number of filters that can be signaled by one or multiple APSs for a sequence/picture/slice.
“The maximum allowed number of APS NAL units” may refer to “the maximum allowed number of APS NAL units that can be signaled for a sequence/picture/slice.
“The maximum allowed number of filter coefficients” may refer to “the maximum allowed number of filter coefficients that can be signaled by one or multiple APSs for a sequence/picture/slice.
24. Regarding the number of APS NAL units to solve the twelfth problem:
a. The kinds of APS NAL units below may be one or more of ALF APS, LMCS APS, and SCALING APS.
b. In one example, APS containing information related to different color components may be signalled separately.
i. For example, an APS NAL unit may contain luma-related syntax elements (e.g., luma filters) only.
ii. Additionally, an APS NAL unit may contain chroma (such as Cb and/or Cr) -related syntax elements (e.g., chroma filters) only.
1) For example, an APS NAL unit may contain chroma ALF syntax elements only.
2) For example, an APS NAL unit may contain CCALF syntax elements only.
3) Alternatively, an APS NAL unit may contain CCALF Cb syntax elements only.
4) Alternatively, an APS NAL unit may contain CCALF Cr syntax elements only.
iii. For example, luma and chroma filters of ALF (and/or LMCS and/or Scaling list) may have different APS types (e.g., aps_params_type) .
iv. For example, one or multiple SEs are signaled in an APS to indicate which color component (s) is contained in the APS.
c. In one example, the maximum allowed number of APS NAL units that can be signaled for a sequence/picture/slice may be dependent on a predefined value (such as a pre-defined memory size or a predefined number of filters) .
d. In one example, it is required that number of filters signaled in APSs for a sequence/picture/slice shall be no greater than a maximum allowed number of filters signaled in APSs.
e. In one example, it is required that number of filter coefficients signaled in APSs for a sequence/picture/slice shall be no greater than a maximum allowed number of filter coefficients signaled in APSs.
i. The maximum allowed number of filter coefficients signaled in APSs may be a predefined number.
ii. The maximum allowed number of filter coefficients signaled in APSs may be different for different APS types.
iii. The maximum allowed number of filter coefficients signaled in APSs may be signaled from the encoder to the decoder, such as in VPS/SPS/PPS/PH/SH/sequence header.
f. In one example, it is required that number of filters signaled in APSs for a sequence/picture/slice shall be no greater than a maximum allowed number of filters signaled in APSs.
g. In one example, the maximum allowed numbers of filters signaled in APSs for different color components may be different.
i. In one example, the maximum allowed number of luma filters signaled in APSs and the maximum number of chroma filters signaled in APSs may be different.
ii. For example, the maximum allowed number of luma filters signaled in APSs of a paticular APS type (e.g., ALF/LMCS/SCALING) is equal to a first certain value.
iii. Additionally, the maximum allowed number of chroma (such as Cb and/or Cr) filters signaled in APSs of a paticular APS type (e.g., ALF/LMCS/SCALING) is equal to a second certain value.
iv. For example, the maximum allowed number of luma filters signaled in APSs of all APS types (e.g., ALF/LMCS/SCALING) is equal to a first certain value.
v. Additionally, the maximum allowed number of chroma (such as Cb and/or Cr) filters signaled in APSs of all APS types (e.g., ALF/LMCS/SCALING) is equal to a second certain value.
h. In one example, the maximum allowed number of ALF luma filters, the maximum allowed number of ALF chroma filters and the maximum allowed number of CCALF filters may be different.
i. For example, the maximum allowed number of ALF luma filters is equal X1 (e.g., X1 = 25x8 = 200) .
ii. For example, for an ALF APS unit, the maximum allowed number of ALF chroma filters is equal X2 (e.g., X2 = 8x8 = 64) .
iii. For example, for an ALF APS unit, the maximum allowed number of CCALF filters is equal X3 (e.g., X3 = 4x8x2 = 64) .
1) Alternatively, the maximum allowed number of CCALF Cb filters is Y1 (e.g., Y1 = 4x8 = 32) .
2) Additionally, the maximum allowed number of CCALF Cr filters is Y2 (e.g., Y2 = 4x8 = 32) .
iv. In one example, X1, X2, X3, Y1, Y2 are pre-defined values.
i. In one example, each of the maximum allowed numbers of filters within an APS NAL unit is equal to K_i, wherein K indicates a certain value, and i indicates the filter type (e.g., luma filter, chroma filter, ccalf filter, and etc) .
i. For example, K_i for ALF luma filters is equal to 25x8 = 200.
ii. For example, K_i for ALF chroma filters is equal to 8x8 = 64.
iii. For example, K_i for CCALF filters is equal to 4x8x2 = 64.
1) Alternatively, K_i for CCALF Cb filters is equal to 4x8 = 32.
2) Alternatively, K_i for CCALF Cr filters is equal to 4x8 = 32.
j. In one example, the maximum allowed numbers may be signalled from the encoder to the decoder, such as in the VPS/SPS/PPS/PH/SH/sequence header.
i. For example, the “maximum allowed number” in this claim may refer to the maximum allowed number of APS NAL units, or the maximum allowed number of filters, or the maximum allowed number of filter coefficients.
ii. For example, the maximum allowed numbers for a particular type of APS NAL unit (e.g., aps_params_type equal to ALF APS) may be signalled.
1) For example, the maximum allowed numbers may be signalled at SPS level.
2) For example, the maximum allowed numbers may be signalled at PH/SH level.
iii. For example, the signalling of the maximum allowed numbers may be dependent on whether a coding tool (ALF/CCALF/LMCS/scaling list) is enabled or not.
1) In one example, when the ALF/CCALF is disabled, the maximum allowed numbers for ALF/CCALF APS may not be signalled.
a. Additionally, the number is inferred to be equal to a certain value (e.g. 0) when not present.
2) In one example, when the CCALF is disabled, the maximum allowed number for ALF APS having the APS ID (e.g., adaptation_parameter_set_id) equal to CCALF APS ID (e.g., ph_cc_alf_cb_aps_id, ph_cc_alf_cr_aps_id, slice_cc_alf_cb_aps_id, slice_cc_alf_cr_aps_id) may not be signalled.
a. Additionally, the number is inferred to be equal to a certain value (e.g. 0) when not present.
3) How to signal the maximum allowed number for a smaller video unit (e.g., picture, slice) may depend on the maximum allowed number for a higher level (e.g., SPS) .
a. For example, the maximum allowed number of ALF luma APSs is dependent on the maximum allowed number of ALF APSs.
iv. For example, a variable derived from the maximum allowed numbers (denoted as N) (e.g. N -M or M -N, wherein M is a certain value smaller than N) may be signalled.
k. In one example, the maximum allowed numbers depend on chroma format.
i. For example, the maximum allowed number for luma/chroma may depend on whether the ChromaArrayType is equal to 0 (e.g., 4: 0: 0 and 4: 0: 0 with separate color plane coding) or not.
ii. For example, the maximum allowed number of ALF/SCALING/LMCS APSs depend on whether the ChromaArrayType is equal to 0 or not.
l. In one example, the maximum allowed numbers above may depend on whether a coding tool is enabled.
i. For example, the maximum allowed numbers above depend on whether the ALF is enabled, and/or whether CCALF is enabled at SPS/PPS/PH/SH level.
ii. For example, the maximum allowed number of ALF APSs depend on whether the ALF is enabled, and/or whether CCALF is enabled at SPS/PPS/PH/SH level.
iii. For example, the maximum allowed number of LMCS APSs depend on whether the LMCS is enabled, and/or whether chroma residual scaling (CRS) is enabled at SPS/PPS/PH/SH level.
iv. For example, the maximum allowed number of SCALING APSs depend on whether the explicit scaling list is enabled at SPS/PPS/PH/SH level.
m. In one example, how to code an APS ID may be dependent on a restricted number.
i. In one example, the APS ID may be ue (v) coded, in the range of 0 to K (e.g., 127, or 255) , inclusive.
ii. Alternatively, the APS ID may be u (X) coded, such as X=7 or 8.
1) X may be signaled before APS ID is coded.
2) X may be derived before APS ID is coded.
3) X may be derived based on a maximum allowed number.
iii. Alternatively, the max number of APS ID is signalled.
1) For example, the max number of APS ID may be u (X) coded, such as X=7 or 8.
2) Additionally, the APS ID may be u (v) coded.
iv. For example, The APS ID mentioned above may be one or more of follows:
1) adaptation_parameter_set_id in the APS syntax structure.
2) ph_alf_aps_id_luma [i] , ph_alf_aps_id_chroma, ph_cc_alf_cb_aps_id, ph_cc_alf_cr_aps_id in the PH syntax structure.
3) slice_alf_aps_id_luma [i] , slice_alf_aps_id_chroma, slice_cc_alf_cb_aps_id, slice_cc_alf_cr_aps_id in the SH syntax structure.
4) ph_lmcs_aps_id in the PH syntax structure.
5) ph_scaling_list_aps_id in the PH syntax structure.
n. In one example, the constraints above may be represented by bitstream conformance, bitstream constraints, or explicitly signalling in the syntax table.
o. In one example, the limitations/restrictions/constraints above may depend on profile/level/general constraint flags and etc.
6. Embodiment examples
6.1. Embodiment 1: chroma QP tables according to slice type
The changes, marked in
bold italicized underlined text, are based on JVET-Q2001-vC. And the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets.
7.3.2.3 Sequence parameter set RBSP syntax
7.3.2.3 Sequence parameter set RBSP syntax
……
[ [same_qp_table_for_chroma equal to 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1. same_qp_table_for_chroma equal to 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, are signalled in the SPS. When same_qp_table_for_chroma is not present in the bitstream, the value of same_qp_table_for_chroma is inferred to be equal to 1. ] ]
[ [qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table. The value of qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive. When qp_table_start_minus26 [i] is not present in the bitstream, the value of qp_table_start_minus26 [i] is inferred to be equal to 0. ] ]
[ [num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table. The value of num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. When num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1 [0] is inferred to be equal to 0. ] ]
[ [delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table. When delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0. ] ]
[ [delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table.
The i-th chroma QP mapping table ChromaQpTable [i] for i = 0.. numQpTables -1 is derived as follows: ] ]
sps_non_intra_present_flag equal to 0 specifies that all slices are of intra slice in the sequence. sps_non_intra_present_flag equal to 1 specific that there may be non intra slices present in the sequence.
intra_same_qp_table_for_chroma equal to 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for intra slices. intra_same_qp_table_for_chroma equal to 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for intra slices are signalled in the SPS. When same_qp_table_for_chroma is not present in the bitstream, the value of intra_same_qp_table_for_chroma is inferred to be equal to 1.
intra_qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for intra slices. The value of intra_qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive. When intra_qp_table_start_minus26 [i] is not present in the bitstream, the value of intra_qp_table_start_minus26 [i] is inferred to be equal to 0.
intra_num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for intra slices. The value of intra_num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. When intra_num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of intra_num_points_in_qp_table_minus1 [0] is inferred to be equal to 0.
intra_delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for intra slices. When intra_delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of intra_delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
intra_delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for intra slices.
inter_same_qp_table_for_chroma equal to 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1 for B or P slices.
inter_same_qp_table_for_chroma equal to 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1, for B or P slices are signalled in the SPS. When same_qp_table_for_chroma is not present in the bitstream, the value of inter_same_qp_table_for_chroma is inferred to be equal to 1.
inter_qp_table_start_minus26 [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table for B or P slices. The value of intra_qp_table_start_minus26 [i] shall be in the range of -26 -QpBdOffset to 36 inclusive. When inter_qp_table_start_minus26 [i] is not present in the bitstream, the value of inter_qp_table_start_minus26 [i] is inferred to be equal to 0.
inter_num_points_in_qp_table_minus1 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table for B or P slices. The value of inter_num_points_in_qp_table_minus1 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. When inter_num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of inter_num_points_in_qp_table_minus1 [0] is inferred to be equal to 0.
inter_delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table for B or P slices. When inter_delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of inter_delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
inter_delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table for B or P slices.
The i-th chroma QP mapping table IntraChromaQpTable [i] for i = 0.. numQpTablesIntra –1 and the i-th chroma QP mapping table InterChromaQpTable [i] for i = 0..numQpTablesInter –1 are derived as follows:
When intra_same_qp_table_for_chroma is equal to 1, IntraChromaQpTable [1] [k] and IntraChromaQpTable [2] [k] are set equal to IntraChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
When inter_same_qp_table_for_chroma is equal to 1, InterChromaQpTable [1] [k] and InterChromaQpTable [2] [k] are set equal to InterChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
Let ChromaQpTable [i] denote the IntraChromaQpTable [i] for I-slices for i = 0..numQpTablesIntra –1 and InterChromaQpTable [i] for B-or P-slices for i = 0..numQpTablesInter –1, the following applies
When same_qp_table_for_chroma is equal to 1, ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
It is a requirement of bitstream conformance that the values of qpInVal [i] [j] and qpOutVal [i] [j] shall be in the range of -QpBdOffset to 63, inclusive for i in the range of 0 to numQpTables -1, inclusive, and j in the range of 0 to num_points_in_qp_table_minus1 [i] + 1, inclusive.
……
8.7.1 Derivation process for quantization parameters
……
When the current slice is an I-slice, ChromaQpTable [i] is set equal to IntraChromaQpTable [i] for i = 0.. 2. When the current slices is a B or P slice, ChromaQpTable [i] is set equal to InterChromaQpTable [i] for i = 0.. 2.
When ChromaArrayType is not equal to 0 and treeType is equal to SINGLE_TREE or DUAL_TREE_CHROMA, the following applies:
– When treeType is equal to DUAL_TREE_CHROMA, the variable Qp
Y is set equal to the luma quantization parameter Qp
Y of the luma coding unit that covers the luma location (xCb + cbWidth /2, yCb + cbHeight /2) .
– The variables qP
Cb, qP
Cr and qP
CbCr are derived as follows:
qP
Chroma = Clip3 (-QpBdOffset, 63, Qp
Y) (1143)
qP
Cb = ChromaQpTable [0] [qP
Chroma] (1144)
qP
Cr = ChromaQpTable [1] [qP
Chroma] (1145)
qP
CbCr = ChromaQpTable [2] [qP
Chroma] (1146)
……
6.2. Embodiment 2: number of pivot points and clipping of mapped chroma QP
The changes, marked in bold faced italics, are based on JVET-Q2001-vC.
7.3.2.3 Sequence parameter set RBSP syntax
num_points_in_qp_table [ [_minus1] ] [i] [ [plus 1] ] specifies the number of points used to describe the i-th chroma QP mapping table. The value of num_points_in_qp_table [ [_minus1] ] [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. [ [When num_points_in_qp_table_minus1 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1 [0] is inferred to be equal to 0. ] ]
delta_qp_in_val_minus1 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table. When delta_qp_in_val_minus1 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1 [0] [j] is inferred to be equal to 0.
delta_qp_diff_val [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table.
The i-th chroma QP mapping table ChromaQpTable [i] for i = 0.. numQpTables -1 is derived as follows:
When same_qp_table_for_chroma is equal to 1, ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
It is a requirement of bitstream conformance that the values of qpInVal [i] [j] [ [and qpOutVal [i] [j] ] ] shall be in the range of -QpBdOffset to 63, inclusive for i in the range of 0 to numQpTables -1, inclusive, and j in the range of 0 to num_points_in_qp_table_minus1 [i] + 1, inclusive.
6.3. Embodiment 3
The changes, marked in
bold italicized underlined text, are based on JVET-Q2001-vE.
The i-th chroma QP mapping table ChromaQpTable [i] for i = 0.. numQpTables -1 is derived as follows:
When same_qp_table_for_chroma is equal to 1, ChromaQpTable [1] [k] and ChromaQpTable [2] [k] are set equal to ChromaQpTable [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
It is a requirement of bitstream conformance that the values of qpInVal [i] [j] and qpOutVal [i] [j] shall be in the range of -QpBdOffset to 63, inclusive for i in the range of 0 to numQpTables -1, inclusive, and j in the range of 0 to num_points_in_qp_table_minus1 [i] + 1, inclusive.
6.4. Embodiment 4
The newly added text is marked in
bold italicized underlined text and the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets. It is based on JVET-Q2001-vE.
7.3.2.3 Sequence parameter set RBSP syntax
7.4.3.3 Sequence parameter set RBSP semantics
…
sps_one_set_of_chroma_qp_tables_flag equal to 0 specifies that there are two sets of chroma
QP mapping tables. sps_one_set_of_chroma_qp_tables_flag equal to 1 specifies that there are
just one set of chroma QP mapping tables.
same_qp_table_for_chroma
_set0 equal to 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1
for the 1
st set of chroma QP mapping tables
. same_qp_table_for_chroma
_set0 equal to 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1,
for the
1
st set of chroma QP mapping tables
, are signalled in the SPS. When same_qp_table_for_chroma
_set0 is not present in the bitstream, the value of same_qp_table_for_chroma
_set0 is inferred to be equal to 1.
num_points_in_qp_table_minus1
_set0 [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table
for the 1
st set of chroma QP mapping tables
. The value of num_points_in_qp_table_minus1
_set0 [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. When num_points_in_qp_table_minus1
_set0 [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1
_set0 [0] is inferred to be equal to 0.
qp_table_start [ [_minus26] ]
_set0 [i] [ [plus 26] ] specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table
for the 1
st set of chroma QP mapping tables
. The value of qp_table_start [ [_minus26] ] _
set0 [i] shall be in the range of [ [-26] ] -QpBdOffset to [ [36] ]
62 inclusive. When qp_table_start [ [_minus26] ]
_set0 [i] is not present in the bitstream, the value of qp_table_start [ [_minus26] ]
_set0 [i] is inferred to be equal to 0.
delta_qp_in_val_minus1
_set0 [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table
for the 1
st set of chroma QP mapping
tables. When delta_qp_in_val_minus1
_set0 [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1
_set0 [0] [j] is inferred to be equal to 0.
delta_qp_diff_val
_set0 [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table
for the 1
st set of chroma QP mapping tables.
same_qp_table_for_chroma_set1 equal to 1 specifies that only one chroma QP mapping table
is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr
residuals when sps_joint_cbcr_enabled_flag is equal to 1 for the 2
nd set of chroma QP mapping
tables. same_qp_table_for_chroma_set1 equal to 0 specifies that chroma QP mapping tables,
two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is
equal to 1, for the 2
nd set of chroma QP mapping tables, are signalled in the SPS. When
same_qp_table_for_chroma_set1 is not present in the bitstream, the value of
same_qp_table_for_chroma_set1 is inferred to be equal to 1.
num_points_in_qp_table_minus1_set1 [i] plus 1 specifies the number of points used to describe
the i-th chroma QP mapping table for the 2
nd set of chroma QP mapping tables. The value of
num_points_in_qp_table_minus1_set1 [i] shall be in the range of 0 to 63 + QpBdOffset,
inclusive. When num_points_in_qp_table_minus1_set1 [0] is not present in the bitstream, the
value of num_points_in_qp_table_minus1_set1 [0] is inferred to be equal to 0.
qp_table_start_set1 [i] specifies the starting luma and chroma QP used to describe the i-th
chroma QP mapping table for the 2
nd set of chroma QP mapping tables. The value of
qp_table_start_set1 [i] shall be in the range of -QpBdOffset to 62 inclusive. When
qp_table_start_set1 [i] is not present in the bitstream, the value of qp_table_start_set1 [i] is
inferred to be equal to 0.
delta_qp_in_val_minus1_set1 [i] [j] specifies a delta value used to derive the input coordinate
of the j-th pivot point of the i-th chroma QP mapping table for the 2
nd set of chroma QP mapping
tables. When delta_qp_in_val_minus1_set1 [0] [j] is not present in the bitstream, the value of
delta_qp_in_val_minus1_set1 [0] [j] is inferred to be equal to 0.
delta_qp_diff_val_set1 [i] [j] specifies a delta value used to derive the output coordinate of the
j-th pivot point of the i-th chroma QP mapping table for the 2
nd set of chroma QP mapping
tables.
The i-th chroma QP mapping table ChromaQpTableSet0 [i] for i = 0.. numQpTablesSet0 –1
and the i-th chroma QP mapping table ChromaQpTableSet1 [i] for i = 0.. numQpTablesSet1 –1
are derived as follows:
Let ChromaQpTable [i] denotes the ChromaQpTableSetX [i] , qp_table_start [i] denotes the
qp_table_start_setX [i] , delta_qp_in_val_minus1 [i] denotes
delta_qp_in_val_minus1_setX [i] , delta_qp_diff_val [i] denotes delta_qp_diff_val_setX [i] for
X being 0 and 1 respectively, the following applies:
When same_qp_table_for_chroma
X is equal to 1, ChromaQpTable
X [1] [k] and ChromaQpTable
X [2] [k] are set equal to ChromaQpTable
X [0] [k]
for X being 0 and 1 and for k in the range of -QpBdOffset to 63, inclusive.
It is a requirement of bitstream conformance that the values of qpInVal [i] [j] and qpOutVal [i] [j] shall be in the range of -QpBdOffset to 63, inclusive for i in the range of 0 to numQpTables -1, inclusive, and j in the range of 0 to num_points_in_qp_table_minus1 [i] + 1, inclusive.
…
8.7.1 Derivation process for quantization parameters
…
When the current slice is an I slice, ChromaQpTable [i] is set equal to ChromaQpTableSet0 [i]
for i = 0.. 2. When the current slices is a B or P slice, ChromaQpTable [i] is set equal to
ChromaQpTableSet1 [i] for i = 0.. 2 when sps_one_set_of_chroma_qp_tables_flag is equal to 0,
otherwise (when sps_one_set_of_chroma_qp_tables_flag is equal to 1) , ChromaQpTable [i] is
set equal to ChromaQpTableSet0 [i] for i = 0.. 2.
When ChromaArrayType is not equal to 0 and treeType is equal to SINGLE_TREE or DUAL_TREE_CHROMA, the following applies:
– When treeType is equal to DUAL_TREE_CHROMA, the variable Qp
Y is set equal to the luma quantization parameter Qp
Y of the luma coding unit that covers the luma location (xCb + cbWidth /2, yCb + cbHeight /2) .
– The variables qP
Cb, qP
Cr and qP
CbCr are derived as follows:
qP
Chroma = Clip3 (-QpBdOffset, 63, Qp
Y) (1143)
qP
Cb = ChromaQpTable [0] [qP
Chroma] (1144)
qP
Cr = ChromaQpTable [1] [qP
Chroma] (1145)
qP
CbCr = ChromaQpTable [2] [qP
Chroma] (1146)
…
6.5. Embodiment 5
The newly added text is marked in
bold italicized underlined and the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets. It is based on JVET-Q2001-vE.
7.3.2.3 Sequence parameter set RBSP syntax
7.4.3.3 Sequence parameter set RBSP semantics
…
sps_one_set_of_chroma_qp_tables_flag equal to 0 specifies that there are two sets of chroma
QP mapping tables. sps_one_set_of_chroma_qp_tables_flag equal to 1 specifies that there are
just one set of chroma QP mapping tables. When not present, the value of
sps_one_set_of_chroma_qp_tables_flag is inferred to be equal to 1.
same_qp_table_for_chroma
[l] equal to 1 specifies that only one chroma QP mapping table is signalled and this table applies to Cb and Cr residuals and additionally to joint Cb-Cr residuals when sps_joint_cbcr_enabled_flag is equal to 1
for the l-th set of chroma QP mapping tables. same_qp_table_for_chroma
[l] equal to 0 specifies that chroma QP mapping tables, two for Cb and Cr, and one additional for joint Cb-Cr when sps_joint_cbcr_enabled_flag is equal to 1,
for the
l-th set of chroma QP mapping tables, are signalled in the SPS. When same_qp_table_for_chroma
[l] is not present in the bitstream, the value of same_qp_table_for_chroma
[l] is inferred to be equal to 1.
qp_table_start_minus26
[l] [i] plus 26 specifies the starting luma and chroma QP used to describe the i-th chroma QP mapping table
for the l-th set of chroma QP mapping tables. The value of qp_table_start_minus26
[l] [i] shall be in the range of -26 -QpBdOffset to 36 inclusive. When qp_table_start_minus26
[l] [i] is not present in the bitstream, the value of qp_table_start_minus26
[l] [i] is inferred to be equal to 0.
num_points_in_qp_table_minus1
[l] [i] plus 1 specifies the number of points used to describe the i-th chroma QP mapping table
for the l-th set of chroma QP mapping tables. The value of num_points_in_qp_table_minus1
[l] [i] shall be in the range of 0 to 63 + QpBdOffset, inclusive. When num_points_in_qp_table_minus1
[l] [0] is not present in the bitstream, the value of num_points_in_qp_table_minus1
[l] [0] is inferred to be equal to 0.
delta_qp_in_val_minus1
[l] [i] [j] specifies a delta value used to derive the input coordinate of the j-th pivot point of the i-th chroma QP mapping table
for the l-th set of chroma QP mapping
tables. When delta_qp_in_val_minus1
[l] [0] [j] is not present in the bitstream, the value of delta_qp_in_val_minus1
[l] [0] [j] is inferred to be equal to 0.
delta_qp_diff_val
[l] [i] [j] specifies a delta value used to derive the output coordinate of the j-th pivot point of the i-th chroma QP mapping table
for the l-th set of chroma QP mapping tables.
The l-th chroma QP mapping table ChromaQpTable [l] [i] for l = 0..
sps_one_set_of_chroma_qp_tables_flag ? 1 : 2 and i = 0.. numQpTables [l] –1 are derived as
follows:
When same_qp_table_for_chroma
[l] is equal to 1, ChromaQpTable
[l] [1] [k] and ChromaQpTable
[l] [2] [k] are set equal to ChromaQpTable
[l] [0] [k] for k in the range of -QpBdOffset to 63, inclusive.
It is a requirement of bitstream conformance that the values of qpInVal
[l] [i] [j] and qpOutVal
[l] [i] [j] shall be in the range of -QpBdOffset to 63, inclusive for i in the range of 0 to numQpTables
[l] -1, inclusive, and j in the range of 0 to num_points_in_qp_table_minus1
[l] [i] + 1, inclusive.
…
8.7.1 Derivation process for quantization parameters
…
When the current slice is an I slice, chromaQpTable [i] is set equal to ChromaQpTable [0] [i]
for i = 0.. 2. When the current slices is a B or P slice, chromaQpTable [i] is set equal to
ChromaQpTable [1] [i] for i = 0.. 2 when sps_one_set_of_chroma_qp_tables_flag is equal to 0,
otherwise (when sps_one_set_of_chroma_qp_tables_flag is equal to 1) , chromaQpTable [i] is
set equal to ChromaQpTable [0] [i] for i = 0.. 2.
When ChromaArrayType is not equal to 0 and treeType is equal to SINGLE_TREE or DUAL_TREE_CHROMA, the following applies:
– When treeType is equal to DUAL_TREE_CHROMA, the variable Qp
Y is set equal to the luma quantization parameter Qp
Y of the luma coding unit that covers the luma location (xCb + cbWidth /2, yCb + cbHeight /2) .
– The variables qP
Cb, qP
Cr and qP
CbCr are derived as follows:
qP
Chroma = Clip3 (-QpBdOffset, 63, Qp
Y) (1143)
qP
Cb = [ [C] ]
chromaQpTable [0] [qP
Chroma]
(1144)
qP
Cr = [ [C] ]
chromaQpTable [1] [qP
Chroma]
(1145)
qP
CbCr = [ [C] ]
chromaQpTable [2] [qP
Chroma]
(1146)
6.6. Embodiment 6
The suggested specification changes on top of JVET-Q2001-vE is described as follows. Deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets, and newly added text is highlighted in
bold italicized underlined text.
7.3.10.2 Coding tree unit syfntax
6.7. Seventh set of embodiments
This is a set of embodiments for items 20 summarized above in Section 5.
The changed texts are based on the latest VVC text in JVET-Q2001-vE. Most relevant parts that have been added or modified are highlighted in
bold italicized underlined text, and some of the deleted texts are marked in open and close double brackets (e.g., [ [] ] ) indicating deleted text in between the double brackets.
6.7.1. An example embodiment
In one example, the SPS syntax structure may be changed as follows:
sps_ts_residual_coding_enabled_flag equal to 1 specifies that
slice_ts_residual_coding_disabled_flag may be present in the CLVS.
sps_ts_residual_coding_enabled_flag equal to 0 specifies that
slice_ts_residual_coding_disabled_flag is not present in the CLVS. When not present, the
value of sps_ts_residual_coding_enabled_flag is inferred to be equal to 0.
In one example, the PPS syntax structure may be changed as follows:
pps_ts_residual_coding_enabled_flag equal to 1 specifies that
ph/slice_ts_residual_coding_enabled_flag may be present in pictures/slices referring to the
PPS. pps_ts_residual_coding_enabled_flag equal to 0 specifies that
ph/slice_ts_residual_coding_enabled_flag is not present in the pictures/slices referring to the
PPS.
It is required that, when sps_ts_residual_coding_enabled_flag is equal to 0, the value of
pps_ts_residual_coding_enabled_flag shall be equal to 0.
It is required that, when sps_transform_skip_enabled_flag is equal to 0, the value of
pps_ts_residual_coding_enabled_flag shall be equal to 0.
ts_residual_coding_flag_in_ph equal to 1 specifies that ph_ts_residual_coding_disabled_flag
may be present in the PH. pps_ts_residual_coding_enabled_flag equal to 0 specifies that
slice_ts_residual_coding_disabled_flag may be present in the SH.
In one example, the PH syntax structure may be changed as follows:
ph_ts_residual_coding_enabled_flag equal to 0 specifies that the residual_coding () syntax
structure is used to parse the residual samples of a transform skip block for all slices of the
current picture. ph_ts_residual_coding_enabled_flag equal to 1 specifies that the
residual_ts_coding () syntax structure may be used to parse the residual samples of a
transform skip block for all slices of the current picture. When
ph_ts_residual_coding_enabled_flag is not present, it is infered to be equal to 0.
In one example, the PH syntax structure may be changed as follows:
slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [1] ]
0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [0] ]
1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. When slice_ts_residual_coding_ [ [disabled] ]
enabled_flag is not present, it is infered to be equal to [ [0] ]
ph_ts_residual_coding_enabled_flag.
In one example, the transform_unit () syntax structure may be changed as follows:
tu_ts_residual_coding_flag [x0] [y0] [cIdx] equal to 1 specifies that for the current coding
unit, when slice_ts_residual_coding_enabled_flag and transform_skip_flag [x0] [y0] [cIdx]
are equal to 1, then transform skip residual coding is used.
tu_ts_residual_coding_flag [x0] [y0] [cIdx] equal to 0 specifies that for the current coding
unit, when slice_ts_residual_coding_enabled_flag and transform_skip_flag [x0] [y0] [cIdx]
are equal to 1, the transform residual coding is used. When
tu_ts_residual_coding_flag [x0] [y0] [cIdx] is not signaled, it is inferred to be equal to 0.
6.7.2. Another example embodiment
Alternatively, the PPS, PH, SH syntax may be changed as follows:
pps_ts_residual_coding_enabled_flag equal to 1 specifies that
ph/slice_ts_residual_coding_enabled_flag may be present in pictures/slices referring to the
PPS. pps_ts_residual_coding_enabled_flag equal to 0 specifies that
ph/slice_ts_residual_coding_enabled_flag is not present in the pictures/slices referring to the
PPS.
It is required that, when sps_ts_residual_coding_enabled_flag is equal to 0, the value of
pps_ts_residual_coding_enabled_flag shall be equal to 0.
It is required that, when sps_transform_skip_enabled_flag is equal to 0, the value of
pps_ts_residual_coding_enabled_flag shall be equal to 0.
ph_ts_residual_coding_enabled_flag equal to 0 specifies that the residual_coding () syntax
structure is used to parse the residual samples of a transform skip block for all slices of the
current picture. ph_ts_residual_coding_enabled_flag equal to 1 specifies that the
residual_ts_coding () syntax structure may be used to parse the residual samples of a
transform skip block for all slices of the current picture. When
ph_ts_residual_coding_enabled_flag is not present, it is infered to be equal to 0.
slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [1] ]
0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [0] ]
1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. When slice_ts_residual_coding_ [ [disabled] ]
enabled_flag is not present, it is infered to be equal to 0.
6.7.3. Another example embodiment
Alternatively, the PPS, SH syntax may be changed as follows:
pps_ts_residual_coding_enabled_flag equal to 1 specifies that
ph/slice_ts_residual_coding_enabled_flag may be present in pictures/slices referring to the
PPS. pps_ts_residual_coding_enabled_flag equal to 0 specifies that
ph/slice_ts_residual_coding_enabled_flag is not present in the pictures/slices referring to the
PPS.
It is required that, when sps_ts_residual_coding_enabled_flag is equal to 0, the value of
pps_ts_residual_coding_enabled_flag shall be equal to 0.
It is required that, when sps_transform_skip_enabled_flag is equal to 0, the value of
pps_ts_residual_coding_enabled_flag shall be equal to 0.
slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [1] ]
0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [0] ]
1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. When slice_ts_residual_coding_ [ [disabled] ]
enabled_flag is not present, it is infered to be equal to 0.
6.7.4. Another example embodiment
Alternatively, the SH syntax may be changed as follows:
slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [1] ]
0 specifies that the residual_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. slice_ts_residual_coding_ [ [disabled] ]
enabled_flag equal to [ [0] ]
1 specifies that the residual_ts_coding () syntax structure is used to parse the residual samples of a transform skip block for the current slice. When slice_ts_residual_coding_ [ [disabled] ]
enabled_flag is not present, it is infered to be equal to 0.
FIG. 3 is a block diagram showing an example video processing system 1900 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of the system 1900. The system 1900 may include input 1902 for receiving video content. The video content may be received in a raw or uncompressed format, e.g., 8 or 10 bit multi-component pixel values, or may be in a compressed or encoded format. The input 1902 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interface include wired interfaces such as Ethernet, passive optical network (PON) , etc. and wireless interfaces such as Wi-Fi or cellular interfaces.
The system 1900 may include a coding component 1904 that may implement the various coding or encoding methods described in the present document. The coding component 1904 may reduce the average bitrate of video from the input 1902 to the output of the coding component 1904 to produce a coded representation of the video. The coding techniques are therefore sometimes called video compression or video transcoding techniques. The output of the coding component 1904 may be either stored, or transmitted via a communication connected, as represented by the component 1906. The stored or communicated bitstream (or coded) representation of the video received at the input 1902 may be used by the component 1908 for generating pixel values or displayable video that is sent to a display interface 1910. The process of generating user-viewable video from the bitstream representation is sometimes called video decompression. Furthermore, while certain video processing operations are referred to as “coding” operations or tools, it will be appreciated that the coding tools or operations are used at an encoder and corresponding decoding tools or operations that reverse the results of the coding will be performed by a decoder.
Examples of a peripheral bus interface or a display interface may include universal serial bus (USB) or high definition multimedia interface (HDMI) or Displayport, and so on. Examples of storage interfaces include SATA (serial advanced technology attachment) , PCI, IDE interface, and the like. The techniques described in the present document may be embodied in various electronic devices such as mobile phones, laptops, smartphones or other devices that are capable of performing digital data processing and/or video display.
FIG. 4 is a block diagram of a video processing apparatus 3600. The apparatus 3600 may be used to implement one or more of the methods described herein. The apparatus 3600 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on. The apparatus 3600 may include one or more processors 3602, one or more memories 3604 and video processing hardware 3606. The processor (s) 3602 may be configured to implement one or more methods described in the present document. The memory (memories) 3604 may be used for storing data and code used for implementing the methods and techniques described herein. The video processing hardware 3606 may be used to implement, in hardware circuitry, some techniques described in the present document.
FIG. 6 is a block diagram that illustrates an example video coding system 100 that may utilize the techniques of this disclosure.
As shown in FIG. 6, video coding system 100 may include a source device 110 and a destination device 120. Source device 110 generates encoded video data which may be referred to as a video encoding device. Destination device 120 may decode the encoded video data generated by source device 110 which may be referred to as a video decoding device.
I/O interface 126 may include a receiver and/or a modem. I/O interface 126 may acquire encoded video data from the source device 110 or the storage medium/server 130b. Video decoder 124 may decode the encoded video data. Display device 122 may display the decoded video data to a user. Display device 122 may be integrated with the destination device 120, or may be external to destination device 120 which be configured to interface with an external display device.
FIG. 7 is a block diagram illustrating an example of video encoder 200, which may be video encoder 114 in the system 100 illustrated in FIG. 6.
The functional components of video encoder 200 may include a partition unit 201, a predication unit 202 which may include a mode select unit 203, a motion estimation unit 204, a motion compensation unit 205 and an intra prediction unit 206, a residual generation unit 207, a transform unit 208, a quantization unit 209, an inverse quantization unit 210, an inverse transform unit 211, a reconstruction unit 212, a buffer 213, and an entropy encoding unit 214.
In other examples, video encoder 200 may include more, fewer, or different functional components. In an example, predication unit 202 may include an intra block copy (IBC) unit. The IBC unit may perform predication in an IBC mode in which at least one reference picture is a picture where the current video block is located.
Furthermore, some components, such as motion estimation unit 204 and motion compensation unit 205 may be highly integrated, but are represented in the example of FIG. 7 separately for purposes of explanation.
Mode select unit 203 may select one of the coding modes, intra or inter, e.g., based on error results, and provide the resulting intra-or inter-coded block to a residual generation unit 207 to generate residual block data and to a reconstruction unit 212 to reconstruct the encoded block for use as a reference picture. In some example, Mode select unit 203 may select a combination of intra and inter predication (CIIP) mode in which the predication is based on an inter predication signal and an intra predication signal. Mode select unit 203 may also select a resolution for a motion vector (e.g., a sub-pixel or integer pixel precision) for the block in the case of inter-predication.
To perform inter prediction on a current video block, motion estimation unit 204 may generate motion information for the current video block by comparing one or more reference frames from buffer 213 to the current video block. Motion compensation unit 205 may determine a predicted video block for the current video block based on the motion information and decoded samples of pictures from buffer 213 other than the picture associated with the current video block.
In some examples, motion estimation unit 204 may perform uni-directional prediction for the current video block, and motion estimation unit 204 may search reference pictures of list 0 or list 1 for a reference video block for the current video block. Motion estimation unit 204 may then generate a reference index that indicates the reference picture in list 0 or list 1 that contains the reference video block and a motion vector that indicates a spatial displacement between the current video block and the reference video block. Motion estimation unit 204 may output the reference index, a prediction direction indicator, and the motion vector as the motion information of the current video block. Motion compensation unit 205 may generate the predicted video block of the current block based on the reference video block indicated by the motion information of the current video block.
In other examples, motion estimation unit 204 may perform bi-directional prediction for the current video block, motion estimation unit 204 may search the reference pictures in list 0 for a reference video block for the current video block and may also search the reference pictures in list 1 for another reference video block for the current video block. Motion estimation unit 204 may then generate reference indexes that indicate the reference pictures in list 0 and list 1 containing the reference video blocks and motion vectors that indicate spatial displacements between the reference video blocks and the current video block. Motion estimation unit 204 may output the reference indexes and the motion vectors of the current video block as the motion information of the current video block. Motion compensation unit 205 may generate the predicted video block of the current video block based on the reference video blocks indicated by the motion information of the current video block.
In some examples, motion estimation unit 204 may output a full set of motion information for decoding processing of a decoder.
In some examples, motion estimation unit 204 may do not output a full set of motion information for the current video. Rather, motion estimation unit 204 may signal the motion information of the current video block with reference to the motion information of another video block. For example, motion estimation unit 204 may determine that the motion information of the current video block is sufficiently similar to the motion information of a neighboring video block.
In one example, motion estimation unit 204 may indicate, in a syntax structure associated with the current video block, a value that indicates to the video decoder 300 that the current video block has the same motion information as the another video block.
In another example, motion estimation unit 204 may identify, in a syntax structure associated with the current video block, another video block and a motion vector difference (MVD) . The motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the indicated video block. The video decoder 300 may use the motion vector of the indicated video block and the motion vector difference to determine the motion vector of the current video block.
As discussed above, video encoder 200 may predictively signal the motion vector. Two examples of predictive signaling techniques that may be implemented by video encoder 200 include advanced motion vector predication (AMVP) and merge mode signaling.
Intra prediction unit 206 may perform intra prediction on the current video block. When intra prediction unit 206 performs intra prediction on the current video block, intra prediction unit 206 may generate prediction data for the current video block based on decoded samples of other video blocks in the same picture. The prediction data for the current video block may include a predicted video block and various syntax elements.
In other examples, there may be no residual data for the current video block for the current video block, for example in a skip mode, and residual generation unit 207 may not perform the subtracting operation.
Transform processing unit 208 may generate one or more transform coefficient video blocks for the current video block by applying one or more transforms to a residual video block associated with the current video block.
After transform processing unit 208 generates a transform coefficient video block associated with the current video block, quantization unit 209 may quantize the transform coefficient video block associated with the current video block based on one or more quantization parameter (QP) values associated with the current video block.
After reconstruction unit 212 reconstructs the video block, loop filtering operation may be performed reduce video blocking artifacts in the video block.
Some embodiments of the disclosed technology include making a decision or determination to enable a video processing tool or mode. In an example, when the video processing tool or mode is enabled, the encoder will use or implement the tool or mode in the processing of a block of video, but may not necessarily modify the resulting bitstream based on the usage of the tool or mode. That is, a conversion from the block of video to the bitstream (or the bitstream representation) of the video will use the video processing tool or mode when it is enabled based on the decision or determination. In another example, when the video processing tool or mode is enabled, the decoder will process the bitstream with the knowledge that the bitstream has been modified based on the video processing tool or mode. That is, a conversion from the bitstream of the video to the block of video will be performed using the video processing tool or mode that was enabled based on the decision or determination.
FIG. 8 is a block diagram illustrating an example of video decoder 300 which may be video decoder 114 in the system 100 illustrated in FIG. 6.
The video decoder 300 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 8, the video decoder 300 includes a plurality of functional components. The techniques described in this disclosure may be shared among the various components of the video decoder 300. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.
In the example of FIG. 8, video decoder 300 includes an entropy decoding unit 301, a motion compensation unit 302, an intra prediction unit 303, an inverse quantization unit 304, an inverse transformation unit 305, and a reconstruction unit 306 and a buffer 307. Video decoder 300 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 200 (FIG. 7) .
Intra prediction unit 303 may use intra prediction modes for example received in the bitstream to form a prediction block from spatially adjacent blocks. Inverse quantization unit 303 inverse quantizes, i.e., de-quantizes, the quantized video block coefficients provided in the bitstream and decoded by entropy decoding unit 301. Inverse transform unit 303 applies an inverse transform.
A listing of solutions preferred by some embodiments is provided next.
The following solutions show example embodiments of techniques discussed in the previous section (e.g., item 1) .
FIG. 9 is a flowchart for an example method 900 of video processing. Operation 902 includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies that a variable indicating a number of sublayers in each coding layer of each output layer set is derived based on syntax elements included in a video parameter set (VPS) ; and wherein the rule further specifies that, during a sub-bitstream extraction process, information from the variable is used to remove video coding layer network abstraction layer units from the bitstream.
In some embodiments of method 900, the variable includes an array NumSubLayersInLayerInOLS [] [] . In some embodiments of method 900, all video coding layer network abstraction layer units are removed from the bitstream when all of the following conditions are true: nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT, nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in a range of 0 to NumLayersInOls [targetOlsIdx] -1, inclusive, and TemporalId is greater than or equal to the NumSubLayersInLayerInOLS [targetOlsIdx] [j] . In some embodiments of method 900, the rule further specifies that, during the sub-bitstream extraction process, information from the variable is not used to remove certain types of non-video coding layer network abstraction layer units from the bitstream.
FIG. 10 is a flowchart for an example method 1000 of video processing. Operation 1002 includes determining, for a conversion between a video comprising a video block and a bitstream of the video, that default chroma quantization parameter (QP) tables are based on a value of a ChromaArrayType that indicates a color format of the video. Operation 1004 includes performing the conversion based on the determining.
In some embodiments of method 1000, when the value of the ChromaArrayType is equal to 3, identity QP chroma QP tables are the default chroma QP tables. In some embodiments of method 1000, the value of the ChromaArrayType is equal to 3 is associated with a 4: 4: 4 color format. In some embodiments of method 1000, when the value of the ChromaArrayType is equal to 2, identity QP chroma QP tables are the default chroma QP tables. In some embodiments of method 1000, the value of the ChromaArrayType is equal to 2 is associated with a 4: 2: 2 color format.
FIG. 11 is a flowchart for an example method 1100 of video processing. Operation 1102 includes performing a conversion between a video and a bitstream of the video according to a rule, wherein the rule specifies a number of adaptation parameter set (APS) network abstraction layer units or a characteristic of the APS network abstraction layer units that include information for the conversion.
In some embodiments of method 1100, the rule specifies that each of the APS network abstraction layer units includes information related to a different color component of the video. In some embodiments of method 1100, the rule specifies that an APS network abstraction layer unit includes luma-related syntax elements only. In some embodiments of method 1100, the rule specifies that an APS network abstraction layer unit includes chroma-related syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes chroma adaptive loop filter (ALF) syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) blue-difference chroma (Cb) syntax elements only. In some embodiments of method 1100, the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) red-difference chroma (Cr) syntax elements only.
In some embodiments of method 1100, the rule specifies that luma filters and chroma filters for a coding tool are associated with different APS types. In some embodiments of method 1100, the coding tool includes an adaptive loop filter (ALF) , a luma mapping with chroma scaling (LMCS) , or a scaling list. In some embodiments of method 1100, the rule specifies that one or more syntax elements in the bitstream are in included in an APS to indicate which of one or more color components are included in the APS. In some embodiments of method 1100, the rule specifies that a maximum allowed number of the APS network abstraction layer units included in a sequence, a picture, or a slice is based on a predefined value. In some embodiments of method 1100, the predefined value includes a pre-defined memory size or a predefined number of filters.
In some embodiments of method 1100, a number of filters included in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filters indicated in the one or more APSs. In some embodiments of method 1100, a number of filter coefficients included in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filter coefficients indicated in the one or more APSs. In some embodiments of method 1100, the maximum allowed number of filter coefficients indicated in the one or more APSs is a predefined number. In some embodiments of method 1100, the maximum allowed number of filter coefficients indicated in the one or more APSs is different for different APS types. In some embodiments of method 1100, the maximum allowed number of filter coefficients indicated in the one or more APSs is included in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a picture header (PH) , a slice header (SH) , or a sequence header.
In some embodiments of method 1100, a number of filters indicated in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filters indicated in the one or more APSs. In some embodiments of method 1100, a maximum allowed numbers of filters indicated in one or more APSs in the bitstream for different color components is different. In some embodiments of method 1100, a maximum allowed number of luma filters indicated in the one or more APSs and a maximum number of chroma filters indicated in the one or more APSs are different. In some embodiments of method 1100, a maximum allowed number of luma filters indicated in the one or more APSs of an APS type is equal to a first value.
In some embodiments of method 1100, a maximum allowed number of chroma filters indicated in the one or more APSs of an APS type is equal to a second value. In some embodiments of method 1100, a maximum allowed number of luma filters indicated in the one or more APSs of all APS types is equal to a first value. In some embodiments of method 1100, a maximum allowed number of chroma filters indicated in the one or more APSs of all APS types is equal to a second certain value. In some embodiments of method 1100, the APS type includes an adaptive loop filter (ALF) APS, a luma mapping with chroma scaling (LMCS) APS, or a scaling APS, or all APS types include the ALF APS, the LMCS APS, and the scaling APS. In some embodiments of method 1100, a maximum allowed number of adaptive loop filter (ALF) luma filters, a maximum allowed number of ALF chroma filters, and a maximum allowed number of cross-component ALF (CC-ALF) filters are different. In some embodiments of method 1100, the maximum allowed number of ALF luma filters is equal X1. In some embodiments of method 1100, the maximum allowed number of ALF chroma filters for an ALF APS unit is equal X2.
In some embodiments of method 1100, the maximum allowed number of CC-ALF filters for an ALF APS unit is equal X3. In some embodiments of method 1100, the maximum allowed number of CC-ALF blue-difference chroma (Cb) filters for an ALF APS unit is equal Y1. In some embodiments of method 1100, the maximum allowed number of CC-ALF red-difference chroma (Cr) filters for an ALF APS unit is equal Y2. In some embodiments of method 1100, X1, X2, X3, Y1, or Y2 are pre-defined values. In some embodiments of method 1100, the rule further specifies that each maximum allowed numbers of filters for a filter type within the APS network abstraction layer units is equal to K_i, wherein K indicates a value, and i indicates the filter type. In some embodiments of method 1100, K_i for adaptive loop filter (ALF) luma filters is equal to 200. In some embodiments of method 1100, K_i for adaptive loop filter (ALF) chroma filters is equal to 64. In some embodiments of method 1100, K_i for cross-component adaptive loop filter (CC-ALF) filters is equal to 64. In some embodiments of method 1100, K_i for cross-component adaptive loop filter (CC-ALF) blue-difference chroma (Cb) filters is equal to 32. In some embodiments of method 1100, K_i for cross-component adaptive loop filter (CC-ALF) red-difference chroma (Cr) filters is equal to 32. In some embodiments of method 1100, one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a picture header (PH) , a slice header (SH) , or a sequence header. In some embodiments of method 1100, the one or more maximum allowed numbers for a type of APS network abstraction layer unit are included in the bitstream. In some embodiments of method 1100, the one or more maximum allowed numbers are included in the SPS.
In some embodiments of method 1100, the one or more maximum allowed numbers are included in the PH or the SH. In some embodiments of method 1100, the one or more maximum allowed numbers are indicated in the bitstream based on whether a coding tool is enabled. In some embodiments of method 1100, the coding tool includes an adaptive loop filter (ALF) , a cross-component ALF (CC-ALF) , a luma mapping with chroma scaling (LMCS) , or a scaling list. In some embodiments of method 1100, when the ALF or the CC-ALF is disabled, the one or more maximum allowed numbers for an APS associated with the ALF or the CC-ALF are not included in the bitstream. In some embodiments of method 1100, the one or more maximum allowed numbers are inferred to be a certain value. In some embodiments of method 1100, when the CC-ALF is disabled, the one or more maximum allowed numbers for an ALF APS having an APS identifier equal to a CC-ALF APS identifier are not included in the bitstream. In some embodiments of method 1100, the one or more maximum allowed numbers are inferred to be a certain value. In some embodiments of method 1100, how to include the one or more maximum allowed numbers for a video unit of the video at a first video level is based on the one or more maximum allowed numbers for a second video level of the video, and the second video level is higher than the first video level.
In some embodiments of method 1100, the one or more maximum allowed number for an adaptive loop filter (ALF) luma APSs are based on the one or more maximum allowed numbers for an ALF APSs. In some embodiments of method 1100, a variable or obtained from the one or more maximum allowed numbers is indicated in the bitstream. In some embodiments of method 1100, one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream, and the one or more maximum allowed numbers are based on a chroma format. In some embodiments of method 1100, the one or more maximum allowed numbers for a luma video block or a chroma video block of the video is based on whether a ChromaArrayType is equal to zero, and the ChromaArrayType indicates a color format of the video. In some embodiments of method 1100, the one or more maximum allowed numbers for an adaptive loop filter (ALF) APS, a cross-component ALF (CC-ALF) APS, a luma mapping with chroma scaling (LMCS) APS, or a scaling list is based on whether a ChromaArrayType is equal to zero, and the ChromaArrayType indicates a color format of the video. In some embodiments of method 1100, one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream, and the one or more maximum allowed numbers are based on whether a coding tool is enabled.
In some embodiments of method 1100, the one or more maximum allowed numbers are based on whether an adaptive loop filter (ALF) coding tool is enabled and/or whether a cross-component ALF (CC-ALF) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level. In some embodiments of method 1100, the one or more maximum allowed numbers for an adaptive loop filter (ALF) APS is based on whether an ALF coding tool is enabled and/or whether a cross-component ALF (CC-ALF) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level. In some embodiments of method 1100, the one or more maximum allowed numbers for a luma mapping with chroma scaling (LMCS) APS is based on whether a LMCS coding tool is enabled and/or whether a chroma residual scaling (CRS) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level. In some embodiments of method 1100, the one or more maximum allowed numbers for a scaling APS is based on whether an explicit scaling list is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
In some embodiments of method 1100, the rule specifies that how an APS identifier (APS ID) is included in an APS network abstraction layer unit is based on a restricted number. In some embodiments of method 1100, the APS ID is ue (v) coded in a range from 0 to K, inclusive, and wherein K is an integer. In some embodiments of method 1100, the APS ID is u (X) coded, and wherein X is an integer. In some embodiments of method 1100, X is included in the bitstream before the APS ID is included in the bitstream. In some embodiments of method 1100, X is derived before the APS ID is included in the bitstream. In some embodiments of method 1100, X is derived based on one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream. In some embodiments of method 1100, a maximum number of the APS ID is included in the bitstream. In some embodiments of method 1100, the maximum number of the APS ID is u (X) coded, and wherein X is an integer. In some embodiments of method 1100, the APS ID is u (v) coded. In some embodiments of method 1100, the APS ID includes any one or more of the following: an adaptation_parameter_set_id in an APS syntax structure in the bitstream, a ph_alf_aps_id_luma [i] , a ph_alf_aps_id_chroma, a ph_cc_alf_cb_aps_id, or a ph_cc_alf_cr_aps_id in a picture header (PH) syntax structure in the bitstream, a slice_alf_aps_id_luma [i] , a slice_alf_aps_id_chroma, a slice_cc_alf_cb_aps_id, or a slice_cc_alf_cr_aps_id in a slice header (SH) syntax structure in the bitstream, a ph_lmcs_aps_id in the PH syntax structure in the bitstream, and a ph_scaling_list_aps_id in the PH syntax structure in the bitstream. In some embodiments of method 1100, a use of the method is implicitly or explicated indicated in the bitstream. In some embodiments of method 1100, a use of the method is controlled by a syntax element in the bitstream. In some embodiments of method 1100, the APS network abstraction layer units include one or more of an adaptive loop filter (ALF) APS, a luma mapping with chroma scaling (LMCS) APS, and a scaling APS.
In some embodiments of method (s) 900-1100, the performing the conversion comprising encoding the video into the bitstream. In some embodiments of method (s) 900-1100, the performing the conversion comprises generating the bitstream from the video, and the method further comprises storing the bitstream in a non-transitory computer-readable recording medium. In some embodiments of method (s) 900-1100, the performing the conversion comprises decoding the video from the bitstream. In some embodiments, a video decoding apparatus comprising a processor configured to implement operations described for method (s) 900-1100. In some embodiments, a video encoding apparatus comprising a processor configured to implement operations described for method (s) 900-1100. In some embodiments, a computer program product having computer instructions stored thereon, the instructions, when executed by a processor, causes the processor to implement operations described for method (s) 900-1100. In some embodiments, a non-transitory computer-readable storage medium that stores a bitstream generated according to operations described for method (s) 900-1100. In some embodiments, a non-transitory computer-readable storage medium storing instructions that cause a processor to implement operations described for method (s) 900-1100. In some embodiments, a method of bitstream generation, comprising: generating a bitstream of a video according to operations described for method (s) 900-1100, and storing the bitstream on a computer-readable program medium. In some embodiments, a method, an apparatus, a bitstream generated according to a disclosed method or a system described in the present document.
The following section further describe at least some of the techniques explained in this patent document in the following example clauses:
Clause 4. The method of clause 1, wherein the format rule specifies that the one or more syntax elements are included in the coded representation at multiple levels comprising two or more of a sequence parameter set, a picture parameter set, a picture header and a sequence header according to a rule.
Clause 5. The method of clause 4, wherein the rule is based on a video picture type of a video picture.
Clause 6. A method of video processing, comprising: determining to use, for a conversion between a video block of a video and a coded representation of the video, an initial quantization parameter (QP) value; and performing a conversion based on the determining, wherein a syntax element in the coded representation is indicative of the initial QP value using a offset relationship comprising an offset value K that is (a) between 1 and 25 or (b) greater than 26 or (c) a function of maximum allowed QP value for the conversion or (d) a function of bit depth used for the conversion.
Clause 8. A video processing method, comprising: determining, for a conversion between a chroma block of a video and a coded representation of the video, one or more quantization parameter (QP) tables based on a type of a picture or a slice that contains the chroma block according to a rule; and performing the conversion based on the determining.
Clause 9. The method of clause 8, wherein the rule specifies that the one or more QP tables are different form I, B and P video pictures.
Clause 10. The method of clause 8, wherein the rule specifies that the one or more QP tables form I coded video pictures are different from the one or more QP tables for B and P coded video pictures.
Clause 11. The method of any of clauses 8-10, wherein the rule is based on a classification of a picture type and a slice type to which the chroma block belongs, wherein a number M represents an index to the classification, where M is an integer greater than 1.
Clause 12. A video processing method, comprising: determining, for a conversion between a chroma block of a video and a coded representation of the video, one or more quantization parameter (QP) tables; and performing the conversion based on the determining; wherein the conversion conforms to a first rule that specifies one or more syntax elements corresponding to the one or more QP tables or a second rule that specifies a relationship between the one or more QP tables and a coding characteristic of the chroma block.
Clause 13. The method of clause 12, wherein the first rule specifies that the one or more syntax elements are includes in a sequence parameter set associated with the coded representation.
Clause 14. The method of clause 12-13, wherein the second rule specifies that the one or more QP tables are based on a prediction mode used for the conversion.
Clause 15. The method of clause 3, wherein the second rule specifies that the one or more QP tables for intra coded chroma blocks are different from chroma blocks that use other prediction modes.
Clause 16. A video processing method, comprising: performing a conversion between a chroma block of a video and a coded representation of the video; wherein the coded representation conforms to a format rule, wherein the format rule specifies a characteristic of a syntax element associated with one or more chroma quantization parameter (QP) tables used for the conversion.
Clause 17. The method of clause 16, wherein the format rule specifies a maximum value of a start point syntax element for the one or more chroma QP tables.
Clause 18. The method of clause 17, wherein the format rule specifies that the start point syntax element has a value offset by a number K smaller than 26.
Clause 19. The method of clause 16, wherein the format rule specifies that the start point syntax element is offset by a value that is dependent on whether a current picture of the chroma block is an intra-only picture.
Clause 20. The method of any of clauses 16-19, wherein the format rule specifies that a number of pivot points in the one or more chroma QP tables is zero.
Clause 21. The method of any of clauses 16-20, due to the number of pivot points being zero, an ith entry the one or more chroma QP tables is set equal to an ith entry in a corresponding luma QP table.
Clause 22. The method of any of clauses 16-21, wherein the syntax element is included in both a sequence parameter set and a picture parameter set in the coded representation.
Clause 23. The method of any of clauses 16-22, wherein the syntax element is included in either a picture header or a sequence header.
Clause 24. The method of any of clauses 16 to 23, wherein the conversion comprises encoding the video into the coded representation.
Clause 25. The method of any of clauses 16 to 24, wherein the conversion comprises decoding the coded representation to generate pixel values of the video.
In the present document, the term “video processing” may refer to video encoding, video decoding, video compression or video decompression. For example, video compression algorithms may be applied during conversion from pixel representation of a video to a corresponding bitstream representation or vice versa. The bitstream representation of a current video block may, for example, correspond to bits that are either co-located or spread in different places within the bitstream, as is defined by the syntax. For example, a macroblock may be encoded in terms of transformed and coded error residual values and also using bits in headers and other fields in the bitstream. Furthermore, during conversion, a decoder may parse a bitstream with the knowledge that some fields may be present, or absent, based on the determination, as is described in the above solutions. Similarly, an encoder may determine that certain syntax fields are or are not to be included and generate the coded representation accordingly by including or excluding the syntax fields from the coded representation.
The disclosed and other solutions, examples, embodiments, modules and the functional operations described in this document can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this document and their structural equivalents, or in combinations of one or more of them. The disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus. The computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more them. The term “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. A propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus.
A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document) , in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code) . A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
The processes and logic flows described in this document can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit) .
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random-access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this patent document contains many specifics, these should not be construed as limitations on the scope of any subject matter or of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular techniques. Certain features that are described in this patent document in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Moreover, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.
Only a few implementations and examples are described and other implementations, enhancements and variations can be made based on what is described and illustrated in this patent document.
Claims (92)
- A method of video processing, comprising:performing a conversion between a video and a bitstream of the video according to a rule,wherein the rule specifies that a variable indicating a number of sublayers in each coding layer of each output layer set is derived based on syntax elements included in a video parameter set (VPS) ; andwherein the rule further specifies that, during a sub-bitstream extraction process, information from the variable is used to remove video coding layer network abstraction layer units from the bitstream.
- The method of claim 1, wherein the variable includes an array NumSubLayersInLayerInOLS [] [] .
- The method of claim 2, wherein all video coding layer network abstraction layer units are removed from the bitstream when all of the following conditions are true:nal_unit_type is not equal to IDR_W_RADL, IDR_N_LP, or CRA_NUT,nuh_layer_id is equal to LayerIdInOls [targetOlsIdx] [j] for a value of j in a range of 0 to NumLayersInOls [targetOlsIdx] -1, inclusive, andTemporalId is greater than or equal to the NumSubLayersInLayerInOLS [targetOlsIdx] [j] .
- The method of any of claim 1 to 3, wherein the rule further specifies that, during the sub-bitstream extraction process, information from the variable is not used to remove certain types of non-video coding layer network abstraction layer units from the bitstream.
- A method of video processing, comprising:determining, for a conversion between a video comprising a video block and a bitstream of the video, that default chroma quantization parameter (QP) tables are based on a value of a ChromaArrayType that indicates a color format of the video; andperforming the conversion based on the determining.
- The method of claim 5, wherein when the value of the ChromaArrayType is equal to 3, identity QP chroma QP tables are the default chroma QP tables.
- The method of claim 6, wherein the value of the ChromaArrayType is equal to 3 is associated with a 4: 4: 4 color format.
- The method of claim 5, wherein when the value of the ChromaArrayType is equal to 2, identity QP chroma QP tables are the default chroma QP tables.
- The method of claim 8, wherein the value of the ChromaArrayType is equal to 2 is associated with a 4: 2: 2 color format.
- A method of video processing, comprising:performing a conversion between a video and a bitstream of the video according to a rule,wherein the rule specifies a number of adaptation parameter set (APS) network abstraction layer units or a characteristic of the APS network abstraction layer units that include information for the conversion.
- The method of claim 10, wherein the rule specifies that each of the APS network abstraction layer units includes information related to a different color component of the video.
- The method of claim 11, wherein the rule specifies that an APS network abstraction layer unit includes luma-related syntax elements only.
- The method of claim 11, wherein the rule specifies that an APS network abstraction layer unit includes chroma-related syntax elements only.
- The method of claim 13, wherein the APS network abstraction layer unit includes chroma adaptive loop filter (ALF) syntax elements only.
- The method of claim 13, wherein the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) syntax elements only.
- The method of claim 13, wherein the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) blue-difference chroma (Cb) syntax elements only.
- The method of claim 13, wherein the APS network abstraction layer unit includes cross component adaptive loop filter (CC-ALF) red-difference chroma (Cr) syntax elements only.
- The method of claim 11, wherein the rule specifies that luma filters and chroma filters for a coding tool are associated with different APS types.
- The method of claim 18, wherein the coding tool includes an adaptive loop filter (ALF) , a luma mapping with chroma scaling (LMCS) , or a scaling list.
- The method of claim 11, wherein the rule specifies that one or more syntax elements in the bitstream are in included in an APS to indicate which of one or more color components are included in the APS.
- The method of claim 10, wherein the rule specifies that a maximum allowed number of the APS network abstraction layer units included in a sequence, a picture, or a slice is based on a predefined value.
- The method of claim 21, wherein the predefined value includes a pre-defined memory size or a predefined number of filters.
- The method of claim 10, wherein a number of filters included in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filters indicated in the one or more APSs.
- The method of claim 10, wherein a number of filter coefficients included in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filter coefficients indicated in the one or more APSs.
- The method of claim 24, wherein the maximum allowed number of filter coefficients indicated in the one or more APSs is a predefined number.
- The method of claim 24, wherein the maximum allowed number of filter coefficients indicated in the one or more APSs is different for different APS types.
- The method of claim 24, wherein the maximum allowed number of filter coefficients indicated in the one or more APSs is included in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a picture header (PH) , a slice header (SH) , or a sequence header.
- The method of claim 10, wherein a number of filters indicated in one or more APSs in the bitstream for a sequence, a picture, or a slice is less than or equal to a maximum allowed number of filters indicated in the one or more APSs.
- The method of claim 10, wherein a maximum allowed numbers of filters indicated in one or more APSs in the bitstream for different color components is different.
- The method of claim 29, wherein a maximum allowed number of luma filters indicated in the one or more APSs and a maximum number of chroma filters indicated in the one or more APSs are different.
- The method of claim 29, wherein a maximum allowed number of luma filters indicated in the one or more APSs of an APS type is equal to a first value.
- he method of claim 29, wherein a maximum allowed number of chroma filters indicated in the one or more APSs of an APS type is equal to a second value.
- The method of claim 29, wherein a maximum allowed number of luma filters indicated in the one or more APSs of all APS types is equal to a first value.
- The method of claim 29, wherein a maximum allowed number of chroma filters indicated in the one or more APSs of all APS types is equal to a second certain value.
- The method of any of claims 30 to 34,wherein the APS type includes an adaptive loop filter (ALF) APS, a luma mapping with chroma scaling (LMCS) APS, or a scaling APS, orwherein all APS types include the ALF APS, the LMCS APS, and the scaling APS.
- The method of claim 10, wherein a maximum allowed number of adaptive loop filter (ALF) luma filters, a maximum allowed number of ALF chroma filters, and a maximum allowed number of cross-component ALF (CC-ALF) filters are different.
- The method of claim 36, wherein the maximum allowed number of ALF luma filters is equal X1.
- The method of claim 36, wherein the maximum allowed number of ALF chroma filters for an ALF APS unit is equal X2.
- The method of claim 36, wherein the maximum allowed number of CC-ALF filters for an ALF APS unit is equal X3.
- The method of claim 36, wherein the maximum allowed number of CC-ALF blue-difference chroma (Cb) filters for an ALF APS unit is equal Y1.
- The method of claim 36, wherein the maximum allowed number of CC-ALF red-difference chroma (Cr) filters for an ALF APS unit is equal Y2.
- The method of any of claims 37 to 41, wherein X1, X2, X3, Y1, or Y2 are pre-defined values.
- The method of claim 10, wherein the rule further specifies that each maximum allowed numbers of filters for a filter type within the APS network abstraction layer units is equal to K_i, wherein K indicates a value, and i indicates the filter type.
- The method of claim 43, wherein K_i for adaptive loop filter (ALF) luma filters is equal to 200.
- The method of claim 43, wherein K_i for adaptive loop filter (ALF) chroma filters is equal to 64.
- The method of claim 43, wherein K_i for cross-component adaptive loop filter (CC-ALF) filters is equal to 64.
- The method of claim 43, wherein K_i for cross-component adaptive loop filter (CC-ALF) blue-difference chroma (Cb) filters is equal to 32.
- The method of claim 43, wherein K_i for cross-component adaptive loop filter (CC-ALF) red-difference chroma (Cr) filters is equal to 32.
- The method of claim 10, wherein one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a picture header (PH) , a slice header (SH) , or a sequence header.
- The method of claim 49, wherein the one or more maximum allowed numbers for a type of APS network abstraction layer unit are included in the bitstream.
- The method of claim 50, wherein the one or more maximum allowed numbers are included in the SPS.
- The method of claim 50, wherein the one or more maximum allowed numbers are included in the PH or the SH.
- The method of claim 49, wherein the one or more maximum allowed numbers are indicated in the bitstream based on whether a coding tool is enabled.
- The method of claim 53, wherein the coding tool includes an adaptive loop filter (ALF) , a cross-component ALF (CC-ALF) , a luma mapping with chroma scaling (LMCS) , or a scaling list.
- The method of claim 54, wherein when the ALF or the CC-ALF is disabled, the one or more maximum allowed numbers for an APS associated with the ALF or the CC-ALF are not included in the bitstream.
- The method of claim 55, wherein the one or more maximum allowed numbers are inferred to be a certain value.
- The method of claim 54, wherein when the CC-ALF is disabled, the one or more maximum allowed numbers for an ALF APS having an APS identifier equal to a CC-ALF APS identifier are not included in the bitstream.
- The method of claim 57, wherein the one or more maximum allowed numbers are inferred to be a certain value.
- The method of claim 54,wherein how to include the one or more maximum allowed numbers for a video unit of the video at a first video level is based on the one or more maximum allowed numbers for a second video level of the video, andwherein the second video level is higher than the first video level.
- The method of claim 59, wherein the one or more maximum allowed number for an adaptive loop filter (ALF) luma APSs are based on the one or more maximum allowed numbers for an ALF APSs.
- The method of claim 49, wherein a variable or obtained from the one or more maximum allowed numbers is indicated in the bitstream.
- The method of claim 10,wherein one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream, andwherein the one or more maximum allowed numbers are based on a chroma format.
- The method of claim 62,wherein the one or more maximum allowed numbers for a luma video block or a chroma video block of the video is based on whether a ChromaArrayType is equal to zero, andwherein the ChromaArrayType indicates a color format of the video.
- The method of claim 62,wherein the one or more maximum allowed numbers for an adaptive loop filter (ALF) APS, a cross-component ALF (CC-ALF) APS, a luma mapping with chroma scaling (LMCS) APS, or a scaling list is based on whether a ChromaArrayType is equal to zero, andwherein the ChromaArrayType indicates a color format of the video.
- The method of claim 10,wherein one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream, andwherein the one or more maximum allowed numbers are based on whether a coding tool is enabled.
- The method of claim 65, wherein the one or more maximum allowed numbers are based on whether an adaptive loop filter (ALF) coding tool is enabled and/or whether a cross-component ALF (CC-ALF) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- The method of claim 65, wherein the one or more maximum allowed numbers for an adaptive loop filter (ALF) APS is based on whether an ALF coding tool is enabled and/or whether a cross-component ALF (CC-ALF) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- The method of claim 65, wherein the one or more maximum allowed numbers for a luma mapping with chroma scaling (LMCS) APS is based on whether a LMCS coding tool is enabled and/or whether a chroma residual scaling (CRS) coding tool is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- The method of claim 65, wherein the one or more maximum allowed numbers for a scaling APS is based on whether an explicit scaling list is enabled at a sequence parameter set (SPS) , picture parameter set (PPS) , picture header (PH) , or a slice header (SH) level.
- The method of claim 10, wherein the rule specifies that how an APS identifier (APS ID) is included in an APS network abstraction layer unit is based on a restricted number.
- The method of claim 70, wherein the APS ID is ue (v) coded in a range from 0 to K, inclusive, and wherein K is an integer.
- The method of claim 70, wherein the APS ID is u (X) coded, and wherein X is an integer.
- The method of claim 72, wherein X is included in the bitstream before the APS ID is included in the bitstream.
- The method of claim 72, wherein X is derived before the APS ID is included in the bitstream.
- The method of claim 72, wherein X is derived based on one or more maximum allowed numbers of any one or more of the APS network abstraction layer units, filters, and filter coefficients is indicated in the bitstream.
- The method of claim 70, wherein a maximum number of the APS ID is included in the bitstream.
- The method of claim 76, wherein the maximum number of the APS ID is u (X) coded, and wherein X is an integer.
- The method of claim 76, wherein the APS ID is u (v) coded.
- The method of claim 70, wherein the APS ID includes any one or more of the following:an adaptation_parameter_set_id in an APS syntax structure in the bitstream,a ph_alf_aps_id_luma [i] , a ph_alf_aps_id_chroma, a ph_cc_alf_cb_aps_id, or a ph_cc_alf_cr_aps_id in a picture header (PH) syntax structure in the bitstream,a slice_alf_aps_id_luma [i] , a slice_alf_aps_id_chroma, a slice_cc_alf_cb_aps_id, or a slice_cc_alf_cr_aps_id in a slice header (SH) syntax structure in the bitstream,a ph_lmcs_aps_id in the PH syntax structure in the bitstream, anda ph_scaling_list_aps_id in the PH syntax structure in the bitstream.
- The method of any of claims 10 to 79, wherein a use of the method is implicitly or explicated indicated in the bitstream.
- The method of any of claims 10 to 79, wherein a use of the method is controlled by a syntax element in the bitstream.
- The method of any of claims 10 to 81, wherein the APS network abstraction layer units include one or more of an adaptive loop filter (ALF) APS, a luma mapping with chroma scaling (LMCS) APS, and a scaling APS.
- The method of any of claims 1 to 82, wherein the performing the conversion comprising encoding the video into the bitstream.
- The method of any of claims 1 to 82, wherein the performing the conversion comprises generating the bitstream from the video, and the method further comprises storing the bitstream in a non-transitory computer-readable recording medium.
- The method of any of claims 1 to 82, wherein the performing the conversion comprises decoding the video from the bitstream.
- A video decoding apparatus comprising a processor configured to implement a method recited in one or more of claims 1 to 85.
- A video encoding apparatus comprising a processor configured to implement a method recited in one or more of claims 1 to 85.
- A computer program product having computer instructions stored thereon, the instructions, when executed by a processor, causes the processor to implement a method recited in any of claims 1 to 85.
- A non-transitory computer-readable storage medium that stores a bitstream generated according to the method in any one of claims 1 to 85.
- A non-transitory computer-readable storage medium storing instructions that cause a processor to implement a method recited in any of claims 1 to 85.
- A method of bitstream generation, comprising:generating a bitstream of a video according to a method recited in any of claims 1 to 85, andstoring the bitstream on a computer-readable program medium.
- A method, an apparatus, a bitstream generated according to a disclosed method or a system described in the present document.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202180028478.3A CN115918083A (en) | 2020-04-15 | 2021-04-15 | sub bitstream extraction |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNPCT/CN2020/084995 | 2020-04-15 | ||
| CN2020084995 | 2020-04-15 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2021208994A1 true WO2021208994A1 (en) | 2021-10-21 |
Family
ID=78083845
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2021/087382 Ceased WO2021208994A1 (en) | 2020-04-15 | 2021-04-15 | Sub-bitstream extraction |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115918083A (en) |
| WO (1) | WO2021208994A1 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170324981A1 (en) * | 2014-06-19 | 2017-11-09 | Sharp Kabushiki Kaisha | Method for decoding a video bitstream |
| CN108718414A (en) * | 2013-04-17 | 2018-10-30 | 高通股份有限公司 | The instruction of cross-level picture/mb-type alignment in multi-layer video decoding |
| US20200077107A1 (en) * | 2013-04-07 | 2020-03-05 | Dolby International Ab | Signaling change in output layer sets |
-
2021
- 2021-04-15 CN CN202180028478.3A patent/CN115918083A/en active Pending
- 2021-04-15 WO PCT/CN2021/087382 patent/WO2021208994A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20200077107A1 (en) * | 2013-04-07 | 2020-03-05 | Dolby International Ab | Signaling change in output layer sets |
| CN108718414A (en) * | 2013-04-17 | 2018-10-30 | 高通股份有限公司 | The instruction of cross-level picture/mb-type alignment in multi-layer video decoding |
| US20170324981A1 (en) * | 2014-06-19 | 2017-11-09 | Sharp Kabushiki Kaisha | Method for decoding a video bitstream |
Non-Patent Citations (2)
| Title |
|---|
| S. DESHPANDE (SHARPLABS), J. SAMUELSSON, A. SEGALL, P. COWAN (SHARP): "AHG8/ AHG9: On Temporal Sublayers Information", 130. MPEG MEETING; 20200420 - 20200424; ALPBACH; (MOTION PICTURE EXPERT GROUP OR ISO/IEC JTC1/SC29/WG11), no. m53074 ; JVET-R0107, 11 April 2020 (2020-04-11), XP030285914 * |
| Y. SANCHEZ, R. SKUPIN, K. SUEHRING, T. SCHIERL (HHI): "AHG9: Sub-layer wise dependency in multi-layer", 17. JVET MEETING; 20200107 - 20200117; BRUSSELS; (THE JOINT VIDEO EXPLORATION TEAM OF ISO/IEC JTC1/SC29/WG11 AND ITU-T SG.16 ), no. JVET-Q0398 ; m51993, 15 January 2020 (2020-01-15), XP030223414 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115918083A (en) | 2023-04-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102875254B1 (en) | Adaptive loop filtering | |
| WO2021197447A1 (en) | Controlling quantization parameter delta signaling | |
| US12348782B2 (en) | Transform skip residual coding | |
| WO2021121419A1 (en) | Interaction between adaptive color transform and quantization parameters | |
| JP7753320B2 (en) | Using Subpictures and Tiles in Video Coding | |
| US12238303B2 (en) | Coding of instantaneous decoding refresh subpictures | |
| US20230362375A1 (en) | Adaptive Colour Transform in Image/Video Coding | |
| WO2021244420A1 (en) | Palette mode with local dual tree modetype definition | |
| US12316834B2 (en) | Coefficients coding in transform skip mode | |
| KR102616383B1 (en) | Filter parameter signaling in video picture header | |
| WO2021208994A1 (en) | Sub-bitstream extraction | |
| US11812063B2 (en) | Video coding using parameter sets |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21788964 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.02.2023) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 21788964 Country of ref document: EP Kind code of ref document: A1 |






































