High-precision transform and quantization for image and video coding
Independent scaling and quantization processes for video blocks, combined with optimized transforms, address processing accuracy and efficiency issues in video coding, enhancing compression performance.
Patent Information
- Application Number
- JP2023122411
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-21
- Filing Date
- 2023-07-27
- Publication Date
- 2024-10-16
- Estimated Expiration
- 2040-09-16
AI Technical Summary
Current video coding standards face challenges in processing accuracy and efficiency due to reliance on block size for transform and quantization operations, leading to reduced coding efficiency and increased computational complexity.
Implementing independent scaling and quantization processes for video blocks, regardless of size, using techniques such as block-based differential pulse code modulation (BDPCM) and dependent scalar quantization, along with reduced non-separable transforms to optimize transform and quantization operations.
Enhances processing accuracy and efficiency by reducing computational complexity and maintaining coding efficiency within 16-bit dynamic range, thereby improving video compression performance.
Smart Images

Figure 0007568375000061 
Figure 0007568375000062 
Figure 0007568375000063
Abstract
Description
[Technical field]
[0001] This patent document relates to video coding and decoding.
[0002] CROSS-REFERENCE TO RELATED APPLICATIONS This application is a divisional application of Patent Application No. 2022-517816 based on International Patent Application No. PCT / CN2020 / 115533, filed on September 16, 2020, which claims priority to and the benefit of International Patent Application No. PCT / CN2019 / 107140, filed on September 21, 2019. The entire disclosure of the above application is incorporated by reference as part of the disclosure of this application. [Background technology]
[0003] Despite advances in video compression, digital video still accounts for the largest bandwidth usage in the Internet and other digital communications networks. As the number of connected user devices capable of receiving and displaying video increases, the bandwidth demands for digital video usage are expected to continue to increase. Summary of the Invention
[0004] Apparatus, systems and methods are used that relate to digital video coding, particularly video and image coding and decoding where high precision transform and quantization is used.
[0005] As one example, a video processing method is disclosed that includes performing a conversion between a current block of video and a bitstream representation of the video according to a rule, where the rule specifies that a scaling operation of a transform coding mode applied to the current block is configured to be independent of a size of the current block.
[0006] In another example, a video processing method is disclosed that includes performing a conversion between a current block of video and a bitstream representation of the video according to a rule that specifies that a dequantization or scaling operation of a transform coding mode applied to the current block is configured independent of the transform coding mode.
[0007] In yet another example, a video processing method is disclosed that includes, for conversion between a video including a current block and a bitstream representation of the video, determining that the conversion includes application of a transform to the current block, and, based on the determination, performing the conversion, where a bit-shifting operation of a scaling process on transform coefficients associated with the conversion is based on whether the current block is coded in a block-based differential pulse code modulation (BDPCM) mode.
[0008] In yet another example, a video processing method is disclosed that includes performing a conversion between a video including a current block and a bitstream representation of the video, where a transform shift between residual coefficient values of the current block and coded coefficients of the current block is based on whether the current block is coded in a block-based differential pulse code modulation (BDPCM) mode.
[0009] In yet another example, a video processing method is disclosed that includes determining that a current block is coded in a block-based differential pulse code modulation (BDPCM) mode and performing the conversion based on the determination, for conversion between a video including the current block and a bitstream representation of the video, where a scaling list associated with the BDPCM mode is disabled.
[0010] In yet another example, a video processing method is disclosed that includes determining, for conversion between a video including a current block and a bitstream representation of the video, that the conversion is performed by disabling application of a transformation to the current block, and performing the conversion based on the determination, the conversion including an inverse quantization process, where decoded coefficients after the inverse quantization process are constrained to a range having a minimum value (TsMin) and a maximum value (TsMax).
[0011] In yet another example, a video processing method is disclosed that includes determining that a current block is coded in a block-based differential pulse code modulation (BDPCM) mode for conversion between a video including the current block and a bitstream representation of the video, and performing a conversion based on the determination, the conversion including an inverse quantization process, where decoded coefficients after the inverse quantization process are constrained to a first range having a minimum value (BdpcmMin) and a maximum value (BdpcmMax).
[0012] In yet another aspect, the above-described methods are embodied in the form of processor executable code and stored on a computer readable program medium.
[0013] In yet another aspect, a device configured or operable to perform the above-mentioned method is disclosed. The apparatus may include a processor programmed to implement the method.
[0014] In yet another aspect, a video decoder device may implement the methods described herein.
[0015] The above aspects and features of the disclosed technology are described in more detail in the drawings, specification, and claims. [Brief description of the drawings]
[0016] [Figure 1] FIG. 1 shows an example of the Low-Frequency Non-Separable Transform (LFNST) process. [Diagram 2] FIG. 2 shows examples of SBT locations, types, and conversion types. [Diagram 3] FIG. 3 is an illustration of two scalar quantizers used in the proposed approach of dependent quantization. [Figure 4] FIG. 4 shows an example of state transitions and quantizer selection for the proposed dependent quantization. [Diagram 5] FIG. 5 is a block diagram of an example video processing system in which the disclosed techniques can be implemented. [Figure 6] FIG. 6 is a block diagram of an example of a hardware platform for video processing. [Figure 7] FIG. 7, for example, is a flow chart of a method of video processing. [Figure 8] FIG. 8, for example, is a flow chart of a method of video processing. [Figure 9] FIG. 9, for example, is a flow chart of a method of video processing. [Figure 10] FIG. 10, for example, is a flow chart of a method of video processing. [Figure 11] FIG. 11, for example, is a flow chart of a method of video processing. [Figure 12] FIG. 12, for example, is a flow chart of a method of video processing. [Figure 13] FIG. 13, for example, is a flow chart of a method of video processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] Embodiments of the disclosed technology may be applied to existing video coding standards (e.g., HEVC, H.265) and future standards to improve compression performance. Section headings are used in this document to improve readability of the description and in no way limit the description or embodiments (and / or implementations) to only each section.
[0018] 1. Video Coding Summary This document relates to image and video coding technology. In particular, it relates to transforms, quantization, dequantization, and inverse transforms in image and video coding. It can be applied to existing video coding standards such as HEVC or to a completed standard (Versatile Video Coding). It can also be applied to future video coding standards or video codecs.
[0019] 2. First explanation Video coding standards have evolved primarily through the development of well-known ITU-T and ISO / IEC standards. ITU-T produced H.261 and H.263, ISO / IEC produced MPEG-1 and MPEG-4 Visual, and the two organizations jointly produced H.262 / MPEG-2 Video, H.264 / MPEG-4 Advanced Video Coding (AVC), and H.265 / HEVC standards. Starting with H.262, video coding standards have been based on a hybrid video coding structure in which temporal prediction and transform coding are utilized. To explore future video coding technologies beyond HEVC, VCEG and MPEG jointly established the Joint Video Exploration Team (JVET) in 2015. Since then, many new methods have been adopted by JVET and put into reference software named JEM (Joint Exploration Model). In April 2018, the Joint Video Experts Team (JVET) was established by VCEG (Q6 / 16) and ISO / IEC JTC1 SC29 / WG11 (MPEG) to work on the VVC standard, which aims to reduce the bitrate by 50% compared to HEVC.
[0020] 2.1 Transformation and Quantization 2.1.1 Large Block Size Transforms with High Frequency Zeroing VTM5 allows large block size transforms up to 64x64, which is mainly useful for high resolution video, e.g., 1080p and 4K sequences. High frequency transform coefficients are zeroed out for transform blocks whose size (width or height, or both width and height) is equal to 64, so that only low frequency coefficients are kept. For example, for an MxN transform block, where M is the block width and N is the block height, only the left 32 columns of transform coefficients are kept if M is equal to 64. Similarly, only the top 32 rows of transform coefficients are kept if N is equal to 64. When transform skip mode is used for large blocks, the entire block is used without any values being zeroed out.
[0021] 2.1.2 Multiple Transform Selection (MTS) for Core Transforms In addition to the DCT-II used in HEVC, a Multiple Transform Selection (MTS) scheme is used for residual coding of both inter- and intra-coded blocks. Multiple transforms selected from DCT8 / DST7 are used. Newly introduced transform matrices are DST-VII and DCT-VIII. Table 1 shows the basic functions of the selected DST / DCT. [Table 1] Table 1-Basic functions of DCT-II / VIII and DSTVII for N-point input
[0022] To maintain the orthogonality of the transform matrices, they are quantized more precisely than in HEVC: after the horizontal transform and after the vertical transform, all coefficients have 10 bits to keep intermediate values of the transformed coefficients within the 16-bit range.
[0023] To control the MTS scheme, separate enable flags are specified at the SPS level for intra and inter, respectively. When MTS is enabled in the SPS, a CU level flag is signaled to indicate whether MTS is applied or not, where MTS is applied only to luma. The MTS CU level flag is signaled when the following conditions are met: -Both the width and height are less than or equal to 32 -CBF flag equals 1
[0024] When the MTS CU flag is equal to zero, DCT2 is applied in both directions. However, when the MTS CU flag is equal to one, two other flags are additionally signaled to indicate the transform type for horizontal and vertical directions, respectively. The transform and signaling mapping table is shown in Table 2. A unified transform selection for ISP and implicit MTS is used by removing the dependency of intra mode and block shape. If the current block is in ISP mode, or if the current block is an intra block and both intra and inter explicit MTS are on, only DST is used for both horizontal and vertical transform cores. For the precision of the transform matrix, an 8-bit primary transform core is used. Therefore, all transform cores used in HEVC are kept the same. They include 4-point DCT-2 and DST-7, 8-point, 16-point, and 32-point DCT-2. Other transform cores also use an 8-bit primary transform core, including the 64-point DCT-2, the 4-point DCT-8, the 8-point, 16-point, and 32-point DST-7 and DCT-8. [Table 2] Table 2 - Conversion and Signaling Mapping Table
[0025] To reduce the complexity of large sizes of DST-7 and DCT-8, high frequency transform coefficients are zeroed out for DST-7 and DCT-8 blocks whose size (width or height, or both width and height) is equal to 32. Only coefficients in the 16x16 low frequency region are retained.
[0026] As in HEVC, the residual of a block can be coded in transform skip mode. To avoid syntax coding redundancy, the transform skip flag is not signaled if the CU-level MTS_CU_flag is not equal to zero. The block size restriction for transform skip is the same as for MTS in JEM4. It indicates that transform skip is applicable for a CU if both the block width and height are less than or equal to 32.
[0027] 2.1.3 Conversion coefficient zeroing out If the transform unit is large, it may require a large transform core, which is more complicated compared to a small transform. Therefore, in the current VVC design, if the transform unit is large enough, a certain portion of the transform coefficients are set to 0 so that the required transform size is reduced.
[0028] Specifically, the current VVC draft defines two variables that reflect what portions of the coefficients are preserved. nonZeroW=Min(nTbW,(trTypeHor>0)?16:32) nonZeroH=Min(nTbH,(trTypeVer>0)?16:32)
[0029] Therefore, after the 2-D forward transform, only x=0..nonZeroW-1 and y=0..nonZeroH-1 can contain nonzero coefficients, and all other coefficients are set to zero.
[0030] nonZeroW and nonZeroH are expressed as the actual transform size in width and height, which may differ from the width (nTbW) and height (nTbH) of the transform unit.
[0031] 2.1.4 Low Frequency Non-separable Transform (LFNST) In VTM5, a low-frequency non-separable transform (LFNST), also known as a reduced secondary transform, is applied between the forward primary transform and the quantization (at the encoder) and between the inverse quantization and the inverse primary transform (at the decoder side), as shown in Figure 1. Depending on the block size, a 4x4 non-separable transform or an 8x8 non-separable transform is applied in LFNST. For example, a 4x4 LFNST is applied for small blocks (i.e., min(width,height)<8), and an 8x8 LFNST is applied for large blocks (i.e., min(width,height)>4).
[0032] FIG. 1 shows an example of the Low Frequency Non-separable Transform (LFNST) process.
[0033] The application of the non-separable transform used in LFNST is explained as follows, using the example input: To apply a 4×4 LFNST, a 4×4 input block X is
number
number
number
[0034] The non-separable transform is computed as follows:
number
number
Number
[0035] 2.1.4.1 Reduced Non-Separable Transform The LFNST (Low-Frequency Non-Separable Transform) is based on a direct matrix multiplication approach to apply the non-separable transform and as a result is implemented in a single pass without multiple iterations. However, the dimensions of the non-separable transform matrix need to be reduced to minimize the computational complexity and the memory space for storing the transform coefficients. Therefore, the reduced non-separable transform (or, RST) method is used in the LFNST. The main idea of the reduced non-separable transform is to map an N (where N is generally equal to 64 in the 8×8 NSST) dimensional vector to an R dimensional vector in a different space. Here, N / R (R < N) is the reduction factor. Therefore, instead of an N×N matrix, the RST matrix becomes an R×N matrix as follows.
Number
[0036] Here, the R rows of the transform are R bases in the N-dimensional space. The inverse transform matrix for RT is its forward transpose matrix. For 8×8 LFNST, a reduction factor of 4 is applied in VTM5, and the 64×64 direct matrix is reduced from the traditional 8×8 non-separable transform matrix size to a 16×48 direct matrix. Thus, a 48×16 inverse RST matrix is used at the decoder side to generate the core (primary) transform coefficients in the 8×8 top-left region. If a 16×48 matrix is applied in the same transform set configuration instead of a 16×64 matrix, each matrix takes 48 input data from three 4×4 blocks in the top-left 8×8 block, except for the bottom-right 4×4 block. With the help of the reduced dimensions, the memory usage for storing all the LFNST matrices is reduced from 10KB to 8KB with a reasonable performance degradation. In order to further reduce the worst-case complexity in terms of the number of multiplications, when all TUs are composed of 4×4 TUs or 8×8 TUs, the upper 8×48 and 8×16 matrices are applied to the 8×8 TUs and 4×4 TUs, respectively. For blocks larger than 8×8 TUs, the worst case does not occur, and an 8×8 LFNST (i.e., a 16×48 matrix) is applied to the upper-left 8×8 region. For 8×4 TUs or 4×8 TUs, a 4×4 LFNST (i.e., a 16×16 matrix) is applied only to the upper-left 4×4 region. For 4×N or N×4 TUs (N≧16), a 4×4 LFNST is applied to the two adjacent upper-left 4×4 blocks, respectively. With the above simplifications, the number of worst-case multiplications is 8 per sample.
[0037] 2.1.4.2LFNST conversion selection There are a total of four transform sets, and two non-separable transform matrices (kernels) per transform set are used in LFNS. The mapping from intra prediction modes to transform sets is predefined, as shown in Table 3. For each transform set, the selected non-separable secondary transform candidate is further specified by an explicitly signaled LFNST index. The index is signaled in the bitstream once per intra CU, after the transform coefficients. [Table 3] Table 3 Conversion Selection Table
[0038] 2.1.4.2 LFNST Index Signaling and Interaction with Other Tools Forward 8x8 LFNST uses a 16x48 matrix, which results in non-zero coefficients only in the top-left 4x4 region in a given 8x8 region. In other words, when LFNST is applied, 8x8 regions other than the top-left 4x4 region will only generate zero coefficients. As a result, if a non-zero element is found in an 8x8 block region other than the top-left 4x4, the LFNST index is not coded, since this would mean that LFNST was not applied. In such a case, the LFNST index is presumed to be zero. If the LFNST index is equal to 0, LFNST is not applied; otherwise, LFNST is applied. In addition, the LFNST index is context coded, but does not depend on the intra prediction mode, and only the first bin is context coded.
[0039] Reverse LFNST is conditionally applied if the following two conditions are met: a. The block size is greater than or equal to a given threshold (W>=4&&H>=4) b. Conversion skip mode flag is equal to zero
[0040] If both the width (W) and height (H) of a transform coefficient block are greater than 4, then 8×8 LFNST is applied to the top-left 8×8 region of the transform coefficient block. Otherwise, 4×4 LFNST is applied to the top-left min(8,W)×min(8,H) region of the transform coefficient block.
[0041] Furthermore, LFNST is applied for both intra and inter slice intra CUs, and for both luma and chroma. When dual tree is enabled, luma and chroma LFNST indexes are signaled separately. For inter slices (dual tree disabled), a single LFNST index is used for both luma and chroma.
[0042] When ISP mode is selected, LFNST is disabled and the RST index is not signaled because applying RST to all feasible partition blocks resulted in little performance improvement. Furthermore, disabling RST for the residual of ISP prediction may reduce encoding complexity. When MIP mode is selected, LFNST is also disabled and the index is not signaled.
[0043] 2.1.5 Sub-Block Transform (SBT) In VTM, sub-block transform is introduced for inter-predicted CUs. In this transform mode, only a sub-portion of the residual block is coded for the CU. When cu_cbf is equal to 1, cu_sbt_flag can be signaled to indicate whether the entire residual block or a sub-portion of the residual block is coded. In the former case, the inter MTS information is further analyzed to determine the transform type of the CU. In the latter case, a part of the residual block is coded with an estimated adaptive transform, and the other part of the residual block is zeroed out.
[0044] When using SBT for inter-coded CU, SBT type and SBT position information are signaled in the bitstream. As shown in FIG. 2, there are two SBT types and two SBT positions. For SBT-V (or SBT-H), the TU width (or height) is equal to half the CU width (or height) or 1 / 4 the CU width (or height), resulting in a 2:2 or 1:3 / 3:1 partition. A 2:2 partition is like a binary tree (BT) partition, while a 1:3 / 3:1 partition is like an asymmetric binary tree (ABT) partition. In an ABT partition, only a small region contains non-zero residuals. If one dimension of a CU is 8 in luma samples, 1:3 / 3:1 partition along that dimension is not allowed. There are up to 8 SBT modes for a CU.
[0045] Position-dependent transform core selection is applied for luma transform blocks in SBT-V and SBT-H (chroma TB always uses DCT-2). The two positions of SBT-H and SBT-V are associated with different core transforms. More specifically, the horizontal and vertical transforms for each SBT position are specified in FIG. 2. For example, the horizontal and vertical transforms of SBT-V position 0 are DCT-8 and DST-7, respectively. If one side of the residual TU exceeds 32, the transforms of both dimensions are set as DCT-2. Thus, the sub-block transform jointly specifies the TU tiling, cbf, and horizontal and vertical core transform types of the residual block.
[0046] The variable maxSbtSize is signaled in the SPS to specify the maximum CU size to which SBT can be applied. In VTM5, for HD and 4K sequences, maxSbtSize is set by the encoder as 64, and for other smaller resolution sequences, maxSbtSize is set as 32.
[0047] SBT does not apply to CUs coded in combined inter-intra mode or TPM mode.
[0048] 2.1.6 Quantization In VTM5, the maximum QP has been extended from 51 to 63, and the signaling of the initial QP has been 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 range from (-26+QpBdOffsetY) to +37. In VTM5, when the size of the transform block is not a power of 4, the transform coefficients are processed with modifications to the QP or QP level scale table instead of multiplication by 181 / 256 (or 181 / 128) to compensate for the implicit scaling by the transform process.
[0049] In addition, the same HEVC scalar quantization is used in a new concept called dependent scalar quantization. Dependent scalar quantization refers to an approach to reconstruction order where the set of allowable reconstruction values of a transform coefficient depends on the value of the transform coefficient level preceding the current transform coefficient level. The main effect of this approach is that allowable reconstruction vectors are more densely packed in an N-dimensional vector space (N represents the number of transform coefficients in a transform block) compared to traditional independent scalar quantization as used in HEVC. This means that for a given average number of allowable reconstructed vectors per N-dimensional unit volume, the average distortion between an input vector and the nearest reconstructed vector is reduced. The dependent scalar quantization approach is realized by (a) defining two scalar quantizers with different reconstruction levels, and (b) defining a process for switching between the two scalar quantizers.
[0050] FIG. 3 is an illustration of two scalar quantizers used in the proposed approach of dependent quantization.
[0051] The two scalar quantizers used are denoted Q0 and Q1 and are illustrated in FIG. 3. The location of the available reconstruction levels is uniquely specified by the quantization step size Δ. The scalar quantizer used (Q0 or Q1) is not explicitly signaled in the bitstream. Instead, the quantizer used for a current transform coefficient is determined by the parity of the transform coefficient level that precedes the current transform coefficient in the coding / reconstruction order.
[0052] FIG. 4 shows an example of state transitions and quantizer selection for the proposed dependent quantization.
[0053] As shown in FIG. 4, 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, and 3, which is uniquely determined by the parity of the transform coefficient level preceding the current transform coefficient in the coding / reconstruction order. At the start of inverse quantization for a transform block, the state is set equal to 0. The transform coefficients are reconstructed in the scan order (i.e., the same order in which they are entropy decoded). After the current transform coefficient is reconstructed, the state is updated as shown in FIG. 4, where k denotes the value of the transform coefficient level.
[0054] Signaling default and user-defined scaling matrices is also supported. The DEFAULT mode scaling matrices are all flat and elements are equal to 16 for all TB sizes. IBC and intra-coding modes currently share the same scaling matrix. Therefore, for USER_DEFINED matrices, the MatrixType and MatrixType_DC numbers are updated as follows: MatrixType: 30 = 2 (2 for Intra & IBC / Inter) x 3 (Y / Cb / Cr components) x 5 (Square TB size: 4x4 to 64x64 for Luma, 2x2 to 32x32 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 component) × 2 (TB size: 16 × 16, 32 × 32)
[0055] The DC value is coded separately for the following scaling matrices: 16x16, 32x32, and 64x64. For TBs smaller than 8x8, all elements in one scaling matrix are signaled. If the size of the TB is 8x8 or more, only 64 elements of the 8x8 scaling matrix are signaled as the base scaling matrix. To obtain a square matrix with a size larger than 8x8, the 8x8 base scaling matrix is upsampled (by element duplication) to the corresponding square matrix size (i.e., 16x16, 32x32, 64x64). When the zeroing of high frequency coefficients is applied for a 64-point transform, the corresponding high frequencies of the scaling matrix are also zeroed out. That is, if the width or height of the TB is 32 or more, only the left half or upper half of the coefficients are kept, and the remaining coefficients are assigned to zero. Furthermore, the number of elements signaled for the 64x64 scaled matrix is also reduced from 8x8 to three 4x4 sub-matrices since the bottom right 4x4 element is never used.
[0056] 2.1.7 Joint Coding of Chroma Residuals VTM5 supports a mode in which the chroma residual is jointly coded. When this mode is activated, one single jointly residual block is signaled for both Cb and Cr blocks in the same transformation unit. Then, the Cb residual is set equal to the signaled residual, and the Cr residual is set by negating the sign of the signaled residual. In other words, at the decoder, the signaled jointly residual is added to the Cb prediction block and subtracted from the Cr prediction block to reconstruct the chroma block. The jointly residual is coded using the normal chroma residual coding process. A flag is signaled in the bitstream flags if both the Cb and Cr coded block flags (cbf) are 1, indicating whether the jointly residual mode is used or not.
[0057] In the PPS and slice header, chroma QP offset values are signaled for the joint chroma residual coding mode separately from the ordinary chroma QP offset values signaled for the normal chroma residual coding mode. These chroma QP offset values are used to derive chroma QP values for blocks coded using the joint chroma residual coding mode. In the VTM5 encoder, the chroma QP offset is set to -1 for the joint chroma residual coding mode and to +1 for the normal chroma residual coding mode.
[0058] At the encoder side, the average of the Cr residual subtracted from the Cb residual is used as the input to the transform and quantization process. resJoint=(resCb-resCr) / 2
[0059] When LMCS mode chroma scaling is active, chroma scaling is applied to the combined residual in the same way as it is done in normal chroma residual coding mode, i.e. the coded combined residual signal is scaled.
[0060] 2.2 Inverse Quantization and Inverse Transform Design in VVC Draft 6 [Table 4] TIFF0007568375000012.tif229163TIFF0007568375000013.tif191159 [Table 5] TIFF0007568375000015.tif228158TIFF0007568375000016.tif232159TIFF0007568375000017.tif233159 TIFF0007568375000018.tif222159TIFF0007568375000019.tif238160TIFF0007568375000020.tif235155 TIFF0007568375000021.tif234155TIFF0007568375000022.tif235157TIFF0007568375000023.tif234159 TIFF0007568375000024.tif235155TIFF0007568375000025.tif232154TIFF0007568375000026.tif233155 TIFF0007568375000027.tif234155TIFF0007568375000028.tif233155TIFF0007568375000029.tif233156 TIFF0007568375000030.tif235153TIFF0007568375000031.tif234156TIFF0007568375000032.tif234155 TIFF0007568375000033.tif233154TIFF0007568375000034.tif235154TIFF0007568375000035.tif235156 TIFF0007568375000036.tif234157TIFF0007568375000037.tif236154TIFF0007568375000038.tif153155 [Table 6] TIFF0007568375000040.tif234153TIFF0007568375000041.tif235153TIFF000 7568375000042.tif232153TIFF0007568375000043.tif236156TIFF00075683750 00044.tif232159TIFF0007568375000045.tif234161TIFF0007568375000046.t if234159TIFF0007568375000047.tif234159TIFF0007568375000048.tif197151
[0061] 3. Technical problems addressed by some of the disclosed technical solutions 1. Currently, the VVC design uses the width and height of the transform block to determine the number of bit shifts during transform and inverse transform, which may reduce the processing accuracy. 2. Currently, the VVC design uses the width and height of the transform block to determine the number of bit shifts during quantization and dequantization, which may reduce the processing accuracy. 3. Currently, the VVC quantization design can result in quantization residuals out of the 16-bit dynamic range for some block sizes, which reduces the coding efficiency due to subsequent clipping to 16 bits. 4. Currently, a left shift is applied to the transform skip to align the energy with respect to the transformed block, but this is unnecessary.
[0062] 4. List of Example Embodiments and Techniques The following list should be considered as examples to illustrate the general concept. These items should not be interpreted narrowly. Moreover, these items can be combined in any way.
[0063] In the following description, a transform skip block may refer to a block to which no transform (non-identity transform) is applied or to which only an identity transform is applied, e.g., a block having transform skip mode, a block having BDPCM mode, a block having transform and quantization bypass mode, or a block having palette mode. 1. The scaling factor used in the conversion of the decoded coefficients to the residuals (eg, tsShift) for a transform skip block does not depend on the block size. In one example, the scaling factor is a constant. In one example, the scaling factor may be set as 1. b. In one example, the scaling factor may depend on the internal bit depth. i. In one example, the scaling factor may be set as (15-internal_bit_depth). c. In one example, the transformation process of the scaled transform coefficients is not invoked, and the output of the scaling process of the transform coefficients is the input for generating intermediate residual samples, i.e., without bit shifting. 2. For a transformed block, the number of bit shifts for inverse quantization may depend on the actual transform size (eg, the size without considering the zeroing-out region). In one example, the number of bit shifts for inverse quantization may depend on the height of the actual transform, i.e., nonZeroH, as described in 4.2.1.3. 3. For a transformed block, the number of bit shifts for the inverse transform may depend on the size of the transform block and the actual transform size. In one example, the number of bit shifts for an inverse transform may depend on the size of the transform block. b. In one example, the number of bit shifts for the inverse transform may depend on the height of the transform block. c. In one example, the number of bit shifts for the inverse transform may depend on the height of the actual transform. d. In one example, the number of bit shifts for the inverse transform may depend on the actual transform size. e. In one example, the number of bit shifts for the inverse transform for blocks where the transform block size is different from the actual transform size may be different from blocks where the transform block size is equal to the actual transform size. f. In one example, the number of bit shifts for the inverse transform for blocks where the transform block height differs from the actual transform height may be different from blocks where the transform block height is equal to the actual transform height. 4. For a transformed block, the number of bit shifts for inverse quantization may depend on the capped transform block size. In one example, when the transform block size is 32x32 or larger, the number of bit shifts for inverse quantization may be according to the 16x16 block size. b. In one example, whether and / or how to apply capped transform block sizes may depend on the quantization parameter. c. In one example, whether and / or how to apply a capped transform block size may depend on whether the block width is an even multiple of the block height. d. In one example, whether and / or how to apply a capped transform block size may depend on whether the block height is an even multiple of the block width. 5. If lossless coding is used, the transform and / or quantization process may be applied without bit shifting. a. In one example, a sequence / picture / subpicture / slice / tile group / tile / brick / CTU row / CTU / CU / PU / TU / subblock level flag can be added into the bitstream to indicate whether the current video unit is coded using lossless coding or not. i. In one example, if lossless coding is used, then the corresponding lossless flag of the current video unit may be set equal to 1. b. In one example, if lossless coding is used, an inverse transform may be applied such that the encoding frames are bit-exact with the original frames. i. In one example, the transform size for a lossless coded block may be fixed at M×N (eg, M=N=4). ii. In one example, the transform core for the lossless coding block may be a Walsh Hadamard Transform. iii. In one example, transform skip may be used for lossless coded blocks. c. In one example, if lossless coding is used for the current video unit, the scaling factor used in converting the decoded coefficients to residuals (e.g., tsShift) may be set to 1 (e.g., no scaling). d. In one example, if lossless coding is used for the current video unit, the number of bit shifts for the inverse transform may be equal to 0 (eg, no bit shifts). e. In one example, if lossless coding is used for the current video unit, the quantization parameter may be set to N (such as N=4, e.g., no quantization). f. In one example, if lossless coding is used for the current video unit, the number of bit shifts for inverse quantization may be equal to 0 (eg, no bit shifting).
[0064] 5. Embodiment The following changes, marked in bold italics, and brackets: The deletions contained within {{}} are based on JVET-O2001-vE.
[0065] 5.1 Embodiment #1 This embodiment reflects modifications to make the scaling factor of the transform skip block independent of the block size. [Table 7] TIFF0007568375000050.tif166156
[0066] 5.2 Embodiment #2 This embodiment reflects a modification to base the scaling process on the actual transform size rather than the transform block size. [Table 8] TIFF0007568375000052.tif237159TIFF0007568375000053.tif237158TIFF0007568375000054.tif33152
[0067] 5.3 Example #3 This embodiment reflects modifications to make the inverse transform shift dependent on the actual transform size and transform block size. [Table 9] TIFF0007568375000056.tif234158TIFF0007568375000057.tif224157TIFF0007568375000058.tif186157
[0068] 5.4 Example #4 This embodiment reflects modifications to bring the quantized residual into the 16-bit range. [Table 10] TIFF0007568375000060.tif78157
[0069] FIG. 5 is a block diagram illustrating an example video processing system 500 in which various techniques disclosed herein can be implemented. Various implementations may include some or all of the components of system 500. System 500 may include an input 502 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 received in a compressed or encoded format. Input 502 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interfaces include wired interfaces such as Ethernet, passive optical network (PON), and wireless interfaces such as Wi-Fi or cellular interfaces.
[0070] The system 500 may include a coding component 504 capable of implementing various coding or encoding methods described in this document. The coding component 504 may reduce the average bit rate of the video from the input 502 to the output of the coding component 504 to generate a coded representation of the video. Coding techniques are therefore sometimes referred to as video compression or video transcoding techniques. The output of the coding component 504 may be stored or transmitted via a connected communication, as represented by component 506. The stored or communicated bitstream (or coded) representation of the video received at the input 502 may be used by component 508 to generate pixel values or displayable video that are sent to a display interface 510. The process of generating a user-viewable video from the bitstream representation is sometimes referred to as video decompression. Additionally, although certain video processing operations are referred to as “coding” operations or tools, it will be understood that the coding tools or operations are used in an encoder and that corresponding decoding tools or operations that reverse the results of the coding are performed by a decoder.
[0071] Examples of peripheral bus interfaces or display interfaces may include Universal Serial Bus (USB), or High Definition Multimedia Interface (HDMI), or DisplayPort, etc. Examples of storage interfaces may include SATA (serial advanced technology attachment), PCI, IDE interfaces, etc. The techniques described herein may be embodied in a variety of electronic devices, such as mobile phones, laptops, smartphones, or other devices capable of performing digital data processing and / or video display.
[0072] FIG. 6 is a block diagram of a video processing device 600. The device 600 may be used to implement one or more methods described herein. The device 600 may be embodied in a smartphone, a tablet, a computer, an Internet of Things (IoT) receiver, etc. The device 600 may include one or more processors 602, one or more memories 604, and video processing hardware 606. The processor 602 may be configured to implement one or more methods described herein. The memory(s) 604 may be used to store data and code used to implement the methods and techniques described herein. The video processing hardware 606 may be used to implement some techniques described herein in a hardware circuit. In some implementations, the hardware 606 may be partially or fully within the processor 602, e.g., a graphics co-processor.
[0073] 7 is a flow chart of an example method of video processing 700. The method 700 includes, at operation 710, performing a conversion between a current block of video and a bitstream representation of the video according to rules that specify that a scaling operation of a transform coding mode applied to the current block is configured independent of a size of the current block.
[0074] 8 is a flow chart of an example method of video processing 800. The method 800 includes, at operation 810, performing a conversion between a current block of video and a bitstream representation of the video according to rules that stipulate that an inverse quantization process or a scaling operation of a transform coding mode applied to the current block is configured independently of the transform coding mode.
[0075] 9 is a flow chart of an example method of video processing 900. The method 900 includes, at operation 910, determining for conversion between a video including a current block and a bitstream representation of the video, the conversion including application of a transformation to the current block.
[0076] The method 900 includes, at operation 920, performing the transformation based on the determination such that a bit shifting operation of a scaling process on transform coefficients associated with the transformation is based on whether the current block is coded in a block-based differential pulse code modulation (BDPCM) mode.
[0077] 10 is a flow chart of an example method of video processing 1000. The method 1000 includes, at act 1010, performing a conversion between a video including a current block and a bitstream representation of the video, such that a translation shift used in converting between residual coefficient values of a current block and coded coefficient values of the current block is based on whether the current block is coded in a block-based differential pulse code modulation (BDPCM) mode.
[0078] 11 is a flow chart of an example method of video processing 1100. The method 1100 includes, at act 1110, determining that for conversion between a video including a current block and a bitstream representation of the video, the current block is coded in a block-based differential pulse code modulation (BDPCM) mode.
[0079] The method 1100 includes, at act 1120, performing the conversion based on the determination such that a scaling list associated with a BDPCM mode is disabled.
[0080] 12 is a flowchart of an example method 1200 of video processing. The method 1200 includes, at operation 1210, determining that for conversion between a video including a current block and a bitstream representation of the video, the conversion is performed by disabling application of a transformation to the current block.
[0081] The method 1200 includes, at operation 1220, performing the transformation based on the determination, such that the transformation includes an inverse quantization process, and the decoded coefficients after the inverse quantization process are restricted to a range having a minimum value and a maximum value.
[0082] 13 is a flow chart of an example method 1300 of video processing. The method 1300 includes, at operation 1310, determining that for conversion between a video including a current block and a bitstream representation of the video, the current block is coded in a block-based differential pulse code modulation mode.
[0083] The method 1300 includes, at operation 1320, performing the transformation based on the determination, such that the transformation includes an inverse quantization process, and the decoded coefficients after the inverse quantization process are limited to a first range having a minimum value and a maximum value.
[0084] In some embodiments, the following technical solutions may be implemented as preferred solutions.
[0085] 1. A method of video processing, comprising the step of performing a conversion between a current block of video and a bitstream representation of said video according to a rule, said rule specifying that a scaling operation of a transform coding mode applied to said current block is configured independent of a size of said current block.
[0086] 2. The method of solution 1, wherein the transform coding mode includes a transform skip mode, and the scaling operation includes a scaling process of transform coefficients associated with the transform coding mode.
[0087] 3. The method of solution 2, wherein the scaling process includes a bit shifting operation, and the bit shifting operation is independent of the size of the current block.
[0088] 4. A method of Solution 1, wherein the transform coding mode includes a block-based differential pulse code modulation (BDPCM) mode, and the scaling operation includes a scale factor used for converting between residual coefficient values of the current block and the coded coefficients of the current block.
[0089] 5. The method of solution 4, wherein the scale factor is a predefined constant.
[0090] 6. The method of solution 5, wherein the scale factor is 1.
[0091] 7. The method of solution 4, wherein the scale factor is based on an internal bit depth (ibd).
[0092] 8. The method of solution 7, wherein the scale factor is (15-ibd).
[0093] 9. The method of solution 4, wherein the transform process on the scaled transform coefficients is disabled, and the output of the scaling process on the transform coefficients is used as an input for generating intermediate residual samples.
[0094] 10. The method of Solution 1, wherein the transform coding mode includes a block-based differential pulse code modulation (BDPCM) mode, and the scaling operation includes a scaling process on the transform coefficients associated with the BDPCM mode.
[0095] 11. The method of solution 10, wherein the scaling process includes a bit shifting operation, and the bit shifting operation is independent of the size of the current block.
[0096] 12. A method of video processing, comprising the step of performing a conversion between a current block of video and a bitstream representation of said video according to rules, said rules specifying that an inverse quantization process or a scaling operation of a transform coding mode applied to said current block is configured independently of said transform coding mode.
[0097] 13. The method of solution 12, wherein the transform coding modes include a transform skip mode, and the dequantization coefficients of the dequantization process are independent of the transform coding modes.
[0098] 14. The method of solution 12, wherein the transform coding mode includes a block-based differential pulse code modulation (BDPCM) mode, and the inverse quantization coefficients of the inverse quantization are independent of the transform coding mode.
[0099] 15. The method of solution 13 or 14, wherein the dequantization coefficients are denoted by levelScale.
[0100] 16. The method of solution 12, wherein the transform coding mode includes a transform skip mode, the height of the current block is not equal to the width of the current block, the scaling operation includes a scaling operation on transform coefficients, and bit shifting operations using the scaling process are independent of the transform coding mode.
[0101] 17. The method of solution 12, wherein the transform coding mode includes a block-based differential pulse code modulation (BDPCM) mode, the height of the current block is not equal to the width of the current block, the scaling operation includes a scaling operation on transform coefficients, and the scaling process is independent of the transform coding mode.
[0102] 18. A method of video processing, comprising: for a conversion between a video including a current block and a bitstream representation of the video, determining that the conversion involves application of a transformation to the current block; and performing the conversion based on the determination, wherein a bit-shifting operation of a scaling process on transform coefficients associated with the conversion is based on whether the current block is coded in a block-based differential pulse code modulation (BDPCM) mode.
[0103] 19. The method of solution 18, wherein if the current block is coded in BDPCM mode, the bit shifting operation for the current block is identical to the bit shifting operation for a video block coded in transform skip mode.
[0104] 20. A method of video processing, comprising: performing a conversion between a video including a current block and a bitstream representation of the video, wherein a translation shift used in converting between residual coefficient values of the current block and coded coefficient values of the current block is based on whether the current block is coded in block-based differential pulse code modulation (BDPCM) mode.
[0105] 21. The method of solution 20, wherein if the current block is coded in the BDPCM mode, the translation shift of the current block is identical to the translation shift of a video block coded in transform skip mode.
[0106] 22. A method of video processing, comprising: for converting between a video including a current block and a bitstream representation of the video, determining that the current block is coded in block-based differential pulse code modulation (BDPCM) mode; and performing the conversion based on the determination, wherein a scaling list associated with the BDPCM mode is disabled.
[0107] 23. The method of solution 22, wherein each entry in the scaling list is a predefined constant.
[0108] 24. The method of solution 23, wherein the predefined constant is 16.
[0109] 25. A method for video processing, comprising: determining, for a conversion between a video including a current block and a bitstream representation of the video, that the conversion is performed by disabling the application of the transform to the current block; and performing the conversion based on the determination, wherein the conversion includes an inverse quantization process, and the decoded coefficients after the inverse quantization process are limited to a range of a minimum value (TsMin) and a maximum value (TsMax).
[0110] 26. A method for video processing, comprising: determining that a current block is coded in a block-based differential pulse code modulation (BDPCM) mode for a conversion between a video including the current block and a bitstream representation of the video; and performing the conversion based on the determination, wherein the conversion includes an inverse quantization process, and the decoded coefficients after the inverse quantization process are limited to a first range of a minimum value (BdpcmMin) and a maximum value (BdpcmMax).
[0111] 27. The method of solution 25 or 26, wherein the transformed coefficients are limited to a second range of a minimum value (CoefMin) and a maximum value (CoefMax).
[0112] 28. The method of solution 25 or 26, wherein the minimum value is -(1 << bitDepth), and bitDepth is the bit depth of a color component of the video to which a transform skip mode is applied.
[0113] 29. The method according to solution 25 or 26, wherein the maximum value is [(1 << bitDepth) - 1], and bitDepth is the bit depth of the color component of the video to which the conversion skip mode is applied.
[0114] 30. The method according to solution 25 or 26, wherein the minimum value is -(1 << min(bitDepth, 15)), and bitDepth is the bit depth of the color component of the video to which the conversion skip mode is applied.
[0115] 31. The method according to solution 25 or 26, wherein the maximum value is [(1 << min(bitDepth, 15)) - 1], and bitDepth is the bit depth of the color component of the video to which the conversion skip mode is applied.
[0116] 32. The method according to any one of solutions 1 to 31, wherein the step of performing the conversion includes generating the bitstream representation from the current block.
[0117] 33. The method according to any one of solutions 1 to 31, wherein the step of performing the conversion includes generating the current block from the bitstream representation.
[0118] 34. An apparatus in a video system comprising a processor and a non-transitory memory having instructions, wherein the instructions, when executed by the processor, cause the processor to perform the method according to any one of solutions 1 to 31.
[0119] 35. A computer program product stored on a non-transitory computer-readable medium, comprising program code for performing the method according to any one of solutions 1 to 31.
[0120] 36. A computer-readable medium storing a bitstream representation generated according to any of the methods of solutions 1 to 31.
[0121] 37. A computer-readable medium storing a coded or bitstream representation generated according to any of the methods of solutions 1 to 31.
[0122] In the above solutions, the step of performing the transformation includes using the result of a previous decision step during the encoding or decoding operation (e.g., to use or not to use a given coding or decoding step) to arrive at a transformation result. In the above solutions, the video processing may include video coding, or encoding, or compression, or transcoding (changing from one format or bit rate to another), decoding, or decompression. Furthermore, these solutions can be applied to other visual data, such as images.
[0123] The disclosed or other solutions, examples, embodiments, modules, and functional operations described herein can be realized in digital electronic circuitry, or computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or one or more combinations thereof. 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 for controlling the operation of a 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 affecting a machine-readable propagated signal, or one or more combinations thereof. The term "data processing apparatus" encompasses all apparatuses, devices, and machines for processing data, including, for example, a programmable processor, a computer, or multiple processors or computers. In addition to hardware, the apparatus can include code that creates an environment for the execution of the computer program in question, such as code constituting a processor firmware, a protocol stack, a database management system, an operating system, or one or more combinations thereof. The propagated signal may be an artificially generated signal, for example a machine-generated electrical, optical, or electromagnetic signal generated to encode information for transmission to an appropriate receiver device.
[0124] 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, 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 several cooperating files (e.g., a file that stores one or more modules, subprograms, or portions of code). A computer program can be deployed to be executed on several computers that are located on one computer or at one site, or distributed across several sites and interconnected by a communication network.
[0125] The processes and logic flows described herein may be performed by one or more programmable processors executing one or more computer programs to perform functions by manipulating input data and generating output. The processes and logic flows may also be performed by, and apparatus implemented in, special purpose logic circuitry, such as a field programmable gate array (FPGA) or application specific logic circuitry (ASIC).
[0126] Processors suitable for executing a computer program include, for example, both general purpose and special purpose microprocessors, and any one or more processors of any kind of digital computer. Typically, a processor receives 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 executing instructions and one or more memory devices for storing instructions and data. Typically, a computer is also operatively coupled to receive data from, or transfer data to, one or more mass storage devices for storing data, such as magnetic disks, 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, for example, semiconductor memory devices such as EPROM, EEPROM, and flash memory devices, magnetic disks, such as internal hard disks or removable disks, magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.
[0127] While this patent document contains many details, these should not be construed as limiting the scope of any subject matter or what may be claimed, but rather as descriptions of features specific to particular embodiments of a particular technology. Certain features described in this patent document in the context of separate embodiments may be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as acting in certain combinations and may initially be claimed as such, one or more features from a claimed combination may, in some cases, be carved out of the combination. And, a claimed combination may be directed to a subcombination or a variation of the subcombination.
[0128] Similarly, although the figures depict acts in a particular order, this should not be understood as requiring such acts to be performed in a particular order or sequence, or to perform all of the acts illustrated, to achieve desired results. Furthermore, 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.
[0129] Only a few embodiments and examples have been described, and other embodiments, extensions, and variations may be made based on what is described and explained in this patent document.
Claims
1. 1. A method for processing video data, comprising the steps of: performing a conversion between a current block of video and a bitstream of the video, the conversion comprising: performing a scaling process on transform coefficients of a current block to derive scaled transform coefficients of the current block according to a rule that specifies that a bit depth shift variable used in the scaling process is independent of a size of the current block if the current block is coded in a block-based differential pulse code modulation (BDPCM) mode; a bit depth offset and the bit depth shift variable are used to derive the scaled transform coefficients prior to a clip operation, and the bit depth offset is derived based on the bit depth shift variable. method.
2. The bit depth shift variable bdShift1 is predefined. The method of claim 1.
3. The rule further comprises: if a transformation process for the scaled transformation coefficients is skipped for the current block, the bit depth shift variable used in the scaling process is independent of a size of the current block; Provides for the following: The method according to claim 1 or 2.
4. the bit-depth shift variable and the bit-depth offset for a block coded in the block-based differential pulse code modulation (BDPCM) mode are the same as the bit-depth shift variable and the bit-depth offset for a block in which a transform process is skipped for the scaled transform coefficients.
4. The method according to claim 1 .
5. The rule further comprises: If the current block is coded in the block-based differential pulse code modulation (BDPCM) mode, an explicit scaling matrix is disabled for a scaling process for transform coefficients of the current block; Provides for the following:
5. The method according to any one of claims 1 to 4.
6. A flat scaling matrix is used in the scaling process of the transform coefficients of the current block.
6. The method according to any one of claims 1 to 5.
7. The value of the flat scaling matrix is equal to 16.
7. The method according to claim 6.
8. The scaling process includes a scaling or descaling operation; and The conversion process includes a conversion operation or an inverse conversion operation. The method according to claim 3.
9. the transforming includes encoding the current block into the bitstream.
9. The method according to any one of claims 1 to 8.
10. the converting includes decoding the current block from the bitstream.
9. The method according to any one of claims 1 to 8.
11. 1. An apparatus for processing video data comprising a processor and a non-transient memory having instructions, the instructions, when executed by the processor, causing the processor to: performing a conversion between a current block of a video and a bitstream of the video, the conversion comprising: performing a scaling process on transform coefficients of a current block to derive scaled transform coefficients of the current block according to a rule that specifies that a bit depth shift variable used in the scaling process is independent of a size of the current block if the current block is coded in a block-based differential pulse code modulation (BDPCM) mode; a bit depth offset and the bit depth shift variable are used to derive the scaled transform coefficients prior to a clip operation, and the bit depth offset is derived based on the bit depth shift variable. Device.
12. A non-transitory computer-readable storage medium having instructions stored thereon, the non-transitory computer-readable storage medium being adapted to cause a processor to: performing a conversion between a current block of a video and a bitstream of the video, the conversion comprising: performing a scaling process on transform coefficients of a current block to derive scaled transform coefficients of the current block according to a rule that specifies that a bit depth shift variable used in the scaling process is independent of a size of the current block if the current block is coded in a block-based differential pulse code modulation (BDPCM) mode; a bit depth offset and the bit depth shift variable are used to derive the scaled transform coefficients prior to a clip operation, and the bit depth offset is derived based on the bit depth shift variable. A computer readable storage medium.
13. 1. A method for archiving a video bitstream, the method comprising: generating a bitstream of the video from the current block of the video; storing the bitstream in a non-transitory computer readable storage medium; The generating step includes: performing a scaling process on transform coefficients of a current block to derive scaled transform coefficients of the current block according to a rule that specifies that a bit depth shift variable used in the scaling process is independent of a size of the current block if the current block is coded in a block-based differential pulse code modulation (BDPCM) mode; a bit depth offset and the bit depth shift variable are used to derive the scaled transform coefficients prior to a clip operation, and the bit depth offset is derived based on the bit depth shift variable. method.
Citation Information
Patent Citations
Image processing device and method
WO2021045188A1
Cited By
Precision transform coefficient scaling and quantization for image and video coding
US12659489B2
