Setting intra block copy virtual buffer based on virtual pipeline data unit
The general virtual buffer method for IBC addresses inefficiencies in IBC virtual buffer management by aligning buffer size with VPDU and CTU sizes, enforcing row/column constraints, and optimizing chroma QP tables, thereby enhancing video coding efficiency.
Patent Information
- Application Number
- JP2023107106
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-09-23
- Filing Date
- 2023-06-29
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2040-09-23
AI Technical Summary
Existing video coding standards face challenges in managing intra block copy (IBC) virtual buffers, particularly when CTU sizes exceed 128x128, with undefined relationships between virtual buffer size and reference sample size, reduced line buffers, excessive subpicture restrictions, and incorrect chroma QP table designs, leading to inefficiencies in video compression.
A general virtual buffer method for IBC is introduced, where the IBC virtual buffer size depends on the VPDU size, CTB/CTU size, and is constrained to lie within VPDU rows or columns, with specific rules for block vectors and sample marking, allowing for larger buffer allocation and independent marking based on VPDU position, and independent chroma QP table design.
This approach enhances coding efficiency by optimizing IBC virtual buffer management, improving compression performance in both existing and future video coding standards, and allowing for more efficient video processing across various implementations.
Smart Images

Figure 0007560226000013 
Figure 0007560226000014 
Figure 0007560226000015
Abstract
Description
[Technical field]
[0001] This patent document relates to video encoding and decoding techniques, devices and systems. [Background technology]
[0002] Despite advances in video compression, digital video still accounts for the largest bandwidth usage on 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
[0003] The devices, systems and methods relate to digital video encoding and decoding, and in particular to general virtual buffers for Intra Block Copy (IBC). The methods described may be applied to both existing video coding standards (e.g., High Efficiency Video Coding (HEVC)) and future video coding standards or video codecs.
[0004] In one exemplary aspect, the disclosed techniques may be used to provide a method of video processing, the method including: determining whether or how to reset reference sample values of a reference region of the video picture used to predict the current video block according to a rule for conversion between a current video block of a video picture of a video and a coded representation of the video; and performing the conversion based on the determination.
[0005] In another example aspect, a method of video processing is disclosed that includes determining whether and / or how to mark one or more reference samples of a reference region of the video picture used to predict the current video region as unavailable for conversion between a current video region of a video picture of a video that includes a luma block and corresponding one or more chroma blocks and a coded representation of the video based on a rule that is independent of a location of the one or more chroma blocks, and performing the conversion based on the determination.
[0006] In yet another aspect, another method of video processing is disclosed, the method including: determining, for conversion between a current video block of a video picture of a video and a coded representation of the video, whether and / or how to mark one or more reference samples of a reference region of the video picture used to predict the current video block based on a rule that depends on a position of a most recently processed virtual pipeline data unit (VPDU) and a size of the VPDU, and performing the conversion based on the determination.
[0007] In another example aspect, a method of video processing is disclosed that includes determining, for a transformation between a current video block of a video picture of a video and a coded representation of the video, constraints on a block vector used to predict a current video block according to a rule, and performing the transformation based on the determination, the block vector indicating a displacement between the current video block and a reference region in the video picture used to predictively code the current video block, the rule defining that a block vector that crosses a Coding Tree Unit (CTU) row of the video picture is not allowed.
[0008] In another example aspect, a method of video processing is disclosed that includes determining, based on a rule, whether to apply a deblocking filter to at least some samples of edges of the current video block with other blocks across a coding tree unit (CTU) row of the video picture for conversion between a current video block of a video picture of a video and a coded representation of the video, where the current video block is coded using an intra block copy (IBC) mode in which a prediction of the current video block is derived based on sample values from a video slice of the current video block, and performing the conversion based on the determination.
[0009] In another example aspect, a method of video processing is disclosed that includes determining, for a conversion between a current video block of a video picture of a video and a coded representation of the video, an applicability of sub-picture prediction using at least one of a first sub-picture or a second sub-picture of the video picture to generate a predictive block for the current video block according to a rule, and performing the conversion based on the determination.
[0010] In another example aspect, a method of video processing is disclosed that includes performing a transformation between a current video block of a chroma component of the video and a coded representation of the video according to a rule, the rule defining that a minimum index of a chroma Quantization Parameter (QP) table used in the transformation is independent of a bit depth of samples of the chroma component.
[0011] In yet another representative aspect, the above method is embodied in a processor executable code and stored on a computer readable program medium.
[0012] In yet another representative aspect, a device configured or operable to perform the above method is disclosed. The device may include a processor programmed to implement the method.
[0013] In yet another representative aspect, a video decoder device may implement the methods described herein.
[0014] These and other aspects and features of the disclosed technology are described in further detail in the drawings, specification, and claims. [Brief description of the drawings]
[0015] [Figure 1] Here is an example of a current picture reference: [Diagram 2] An example of a dynamic reference area in JVET-M0407 is shown below. [Diagram 3] 1 shows a flowchart of a decoding flow including reshaping. [Figure 4A] 1 shows a flowchart of an example of a video processing method. [Figure 4B] 1 shows a flowchart of an example of a video processing method. [Figure 4C] 1 shows a flowchart of an example of a video processing method. [Diagram 5] 1 is a block diagram of an example hardware platform for implementing the visual media decoding or visual media encoding techniques described herein. [Figure 6] 1 shows an example of a reference block across VPDU columns and VPDU rows. [Figure 7] FIG. 1 is a block diagram of an example video processing system in which the disclosed techniques may be implemented. [Figure 8] FIG. 1 is a block diagram illustrating an example of a video coding system. [Figure 9] FIG. 2 is a block diagram illustrating an encoder according to some embodiments of the present disclosure. [Figure 10] FIG. 2 is a block diagram illustrating a decoder according to some embodiments of the present disclosure. [Figure 11A] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. [Figure 11B] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. [Figure 11C] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. [Figure 11D] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. [Figure 11E] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. [Figure 11F] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. [Figure 11G] 1 shows an example flowchart of a video processing method according to some implementations of the disclosed technology. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] 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 herein to improve readability of the description and in no way limit the disclosure or embodiments (and / or implementations) to only the respective section.
[0017] [2 Introduction of video coding] Due to the increasing demand for higher resolution video, video coding methods and techniques are ubiquitous in modern technology. Video codecs usually include electronic circuits or software that compress or decompress digital video and continue to be improved to provide higher coding efficiency. Video codecs convert uncompressed video into compressed form or vice versa. There is a complex relationship between video quality, the amount of data used to represent the video (determined by bit rate), the complexity of the encoding and decoding algorithms, the sensitivity to data loss and errors, the ease of editing, random access, and end-to-end delay (latency). The compressed format usually follows a standard video compression specification, such as the High Efficiency Video Coding (HEVC) standard (also known as H.265 or MPEG-H Part 2), the Versatile Video Coding (VVC) standard to be finalized, or other current and / or future video coding standards.
[0018] 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, H264 / MPEG-4 Advanced Video Coding (AVC), and H.265 / HEVC standards. Since H.262, video coding standards have been based on a hybrid video coding structure where temporal prediction plus transform coding is used. To explore future video coding technologies beyond HEVC, the Joint Video Exploration Team (JVET) was jointly established by VCEG and MPEG in 2015. Since then, many new methods have been adopted by JVET and put into reference software called the Joint Exploration Model (JEM). In April 2018, the Joint Video Expert Team (JVET) was formed between VCEG (Q6 / 16) and ISO / IEC JTC1 SC29 / WG11 (MPEG) to study the VVC standard, which aims to achieve a 50% bitrate reduction compared to HEVC.
[0019] [2.1 Inter-prediction in HEVC / H.265] Each inter-predicted PU has motion parameters for one or two reference picture lists. The motion parameters include a motion vector and a reference picture index. The use of one of the two reference picture lists may also be signaled using inter_pred_idc. The motion vector may be explicitly coded as a delta to the predictor.
[0020] When a CU is coded by skip mode, a PU is associated with the CU and there are no significant residual coefficients, coded motion vector deltas or reference picture indexes. A merge mode is specified, whereby motion parameters for the current PU are obtained from neighboring PUs, including spatial and temporal candidates. The merge mode is applicable not only to the skip mode case, but also to any inter-predicted PU. An alternative to the merge mode is explicit transmission of motion parameters, where motion vectors (more precisely, motion vector difference (MVD) compared to motion vector predictor), corresponding reference picture indexes per reference picture list, and reference picture list usage are explicitly signaled for each PU. Such a mode is referred to as Advanced Motion Vector Prediction (AMVP) in this specification.
[0021] If the signal indicates that one of the two reference picture lists should be used, the PU is generated from one block of samples. This is called "uni-prediction". Uni-prediction is available for both P slices and B slices.
[0022] If the signal indicates that both reference picture lists should be used, the PU is generated from two blocks of samples. This is called "bi-prediction." Bi-prediction is only available for B slices.
[0023] The following description provides details about the inter prediction modes defined in HEVC, starting with merge mode.
[0024] [2.2 See current picture] Current Picture Referencing (CPR), or previously named Intra Block Copy (IBC), is adopted in HEVC Screen Content Coding extensions (HEVC-SCC) and the current VVC Test Model (VTM-3.0). IBC extends the concept of motion compensation from inter-frame coding to intra-frame coding. As shown in Figure 1, the current block is predicted by a reference block in the same picture when CPR is applied. Samples in the reference block must be pre-reconstructed before the current block is encoded or decoded. CPR is not very efficient for most of the sequences captured by a camera, but it shows sufficient coding gain for screen content. The reason is that there are many repeating patterns, such as icons and text characters, in screen content pictures. CPR can effectively remove the redundancy between these repeating patterns. In HEVC-SCC, an inter-coded Coding Unit (CU) can apply CPR if it selects the current picture as its reference picture. The MV is called Block Vector (BV) in this case, and the BV always has integer pixel precision. To be compatible with Main Profile HEVC, the current picture is marked as a "long-term" reference picture in the Decoded Picture Buffer. It should be noted that similarly, in multi-view / 3D coding standards, inter-view reference pictures are also marked as "long-term" reference pictures.
[0025] By finding the reference block according to the BV, a prediction can be generated by copying the reference block. The residual can be found by subtracting the reference pixel from the original signal. Then, transformation and quantization can be applied as in other coding modes.
[0026] However, when a reference block is outside the picture, or overlaps with the current block, or is outside the reconstructed area, or is outside the valid area limited by some constraints, some or all pixel values are undefined. There are basically two solutions to handle such problems. One is to not allow such situations, for example in bitstream conformance. The other is to apply padding to those undefined pixel values. The following sub-sections describe the solutions in detail.
[0027] [2.3 CPR in HEVC Screen Content Coding Extension] In the Screen Content Coding extension of HEVC, when a block uses the current picture as a reference, it should ensure that the entire reference block is within the available reconstructed area, as indicated in the following specification text: [Table 1]
[0028] Thus, if the reference block overlaps with the current block or if the reference block is outside the picture, which does not occur, there is no need to pad the reference or prediction block.
[0029] [2.4 CPR / IBC in the VVC test model] In the current VVC test model, i.e., VTM-3.0 design, the entire reference block should coincide with the current coding tree unit (CTU) and not overlap with the current block, so there is no need to pad the reference or predicted block.
[0030] When dual tree is enabled, the partition structure may be different from luma CT to chroma CTU. Thus, for a 4:2:0 color format, one chroma block (e.g., CU) may correspond to one collocated luma region that is split into multiple luma CUs.
[0031] A chroma block can only be coded in CPR mode if the following conditions must be true: (1) Each of the luma CUs in a co-located luma block should be coded in CPR mode; (2) Each of the BVs of the luma 4x4 blocks is first converted to the BVs of the chroma blocks, which are then valid BVs.
[0032] If either of the two conditions is false, the chroma block should not be coded in CPR mode.
[0033] It is noted that the definition of a "valid BV" has the following constraints: (1) All samples in the reference block identified by the BV should be within a limited search range (e.g., within the same CTU in the current VVC design); (2) All samples in the reference block identified by BV are reconstructed.
[0034] [2.5 CPR / IBC in JVET-L0297 / JVET-M0407 / JVET-M0408] In VTM-3.0, the reference area of CPR / IBC is currently limited to a CTU, which is up to 128x128. JVET-L0297 / JVET-M0407 / JVET-M0408 present a method to dynamically change the reference area to reuse memory to store reference samples for CPR / IBC, so that the CPR / IBC block can have more reference candidates, while the reference buffer for CPR / IBC can be kept or reduced from 1 CTU.
[0035] Figure 2 shows a method where the blocks are 64x64 and the CTU contains four 64x64 blocks. When coding a 64x64 block, the previous three 64x64 blocks can be used as references. By doing so, the decoder only needs to store four 64x64 blocks to support CPR / IBC. The above method was adopted in VTM-4.0.
[0036] Suppose the position of the current luma CU relative to the top-left corner of the picture is (x,y) and the block vector is (Bvx,BVy). In the current design, whether BV is valid can be distinguished by the fact that the luma position ((x+BVx)>>6<<6+(1<<7),(y+BVy)>>6<<6) is not reconstructed and ((x+BVx)>>6<<6+(1<<7),(y+BVy)>>6<<6) is not equal to (x>>6<<6,y>>6<<6).
[0037] [2.6 Virtual IBC buffer proposed in JVET-O1170] The virtual buffer concept is introduced to help describe the reference area for the IBC prediction mode. If the CTU size is ctbSize, then we write wIbcBuf=128×128 / ctbSize, and define a virtual IBC buffer ibcBuf with a width of wIbcBuf and a height of ctbSize. Thus, - If CTU size is 128x128, then ibcBuf size is also 128x128; - If CTU size is 64x64, then ibcBuf size is 256x64; - If the CTU size is 32x32, then the ibcBuf size is 512x32.
[0038] It is noted that the width and height of a VPDU is min(ctbSize,64). We write Wv=min(ctbSize,64).
[0039] The virtual IBC buffer ibcBuf is maintained as follows: (1) At the beginning of decoding each CTU row, refresh the entire ibcBuf with the value (-1); (2) At the beginning of decoding the VPDU (xVPDU, yVPDU) for the top-left corner of the picture, set ibcBuf[x][y] = -1, where x = xVPDU%wIbcBuf, · · ·, xVPDU%wIbcBuf+Wv-1; y = yVPDU%ctbSize, · · ·, yVPDU%ctbSize+Wv-1; (3) After decoding the CU containing (x, y) for the top-left corner of the picture, set ibcBuf[x%wIbcBut][y%ctbSize] = recSample[x][y].
[0040] So the bitstream constraint is simply: The bitstream conformance requirement is that for BV, ibcBuf[(x+bv[0])%wIbcBuf][(y+bv[1])%ctbSize] must not be equal to -1. It can be written as:
[0041] The IBC reference buffer concept also simplifies the text about the decoding process by avoiding references to the inter-interpolation and motion compensation processes, including the sub-block processes.
[0042] [2.7 VPDU] A Virtual Pipeline Data Unit (VPDU) is defined as a non-overlapping unit within a picture. In a hardware decoder, consecutive VPDUs are processed by multiple pipeline stages simultaneously. It is important to keep the VPDU size small, since it is roughly proportional to the buffer size in most pipeline stages. In most hardware decoders, the VPDU size can be set to the maximum Transform Block (TB) size. However, in VVC, Ternary Tree (TT) and Binary Tree partitions can cause an increase in the VPDU size.
[0043] In order to keep the VPDU size as 64x64 luma samples, the following normative partition restrictions (with syntax notification changes) apply in VTM-5.0: - TT division is not allowed for CUs whose width or height or both width and height are equal to 128; - for CUs of 128xN (i.e., width equal to 128 and height less than 128) with N≦64, horizontal BT is not allowed; For a CU of N x 128 (i.e., height equal to 128 and width less than 128) where N <= 64, vertical BT is not allowed.
[0044] In VVC, it is generally agreed that the width and height of a VPDU is min(64,CtbSizeY) in luma samples. So, if the CTB / CTU size is 64x64, 128x128, or 256x256, then the VPDU size is 64x64. If the CTB / CTU size is 32x32, then the VPDU size is 32x32.
[0045] 2.8 Buffer management and block vector coding for intra block copy Details regarding the various IBC buffer features and their corresponding management are described in International Application No. PCT / CN2019 / 093552, which is incorporated herein by reference.
[0046] [2.9 In-loop reshaping (ILR) in JVET-M0427] The basic idea of In-Loop Reshaping (ILR) is to transform an original (in a first domain) signal (the predicted / reconstructed signal) into a second domain (the reshaped domain).
[0047] The in-loop luma reshaper is implemented as a pair of look-up tables (LUTs), but only one of the two LUTs needs to be signaled; the other can be calculated from the signaled LUT. Each LUT is a one-dimensional, 10-bit, 1024-entry mapping table (1D-LUT). One LUT is a forward LUT, FwdLUT, which maps the input luma code values Yi to modified values Yr, i.e., Yr=FwdLUT[Yi]. The other LUT is an inverse LUT, InvLUT, which maps the modified code values Yr to hatched Yi, i.e.,
number
[0048] [2.9.1 PWL model] Conceptually, Piece-Wise Linear (PWL) is implemented in the following way:
[0049] Let x1, x2 be two input pivot points and y1, y2 be their corresponding output bipod points for one strip. The output value y for any input value x between x1 and x2 is given by: y=((y2-y1) / (x2-x1))×(x-x1)+y1 In a fixed-point implementation, the formula is: y=((m×x+2FP_PREC-1)>>FP_PREC)+c where m is a scalar, c is an offset, and FP_PREC is a constant value to specify the precision.
[0050] In the CE-12 software, the PWL model is used to pre-calculate the 1024 entry FwdLUT and InvLUT mapping tables, but the PWL model also allows the implementation to calculate the same mapping values on-the-fly without pre-calculating the LUTs.
[0051] [2.9.2 Test CE12-2] [2.9.2.1 Luminescence Shaping] Test 2 of in-loop reshaping (i.e., CE12-2 in the proposal) provides a lower complexity pipeline that also eliminates the decoding latency for block-by-block intra prediction in inter slice reconstruction. Intra prediction is performed in the reshaped region for both inter and intra slices.
[0052] Intra prediction is always performed in the reshaped region regardless of slice type. With such an arrangement, intra prediction can start immediately after the previous TU reconstruction is performed. Such an arrangement can also provide a unified process for intra modes instead of being slice-dependent. Figure 3 shows a block diagram of the CE12-2 decoding process based on modes.
[0053] CE12-2 also tests a 16-piece piecewise linear (PWL) model for luma and chroma residual scaling instead of the 32-piece PWL model of CE12-1.
[0054] The inter-slice reconstruction includes an in-loop luma reshaper in CE12-2 (the light shaded blocks indicate the signals in the reshaped domain, i.e., the luma residual, the intra-luma predicted signal, and the intra-luma reconstructed signal).
[0055] [2.9.2.2 Luma-Dependent Chroma Residual Scaling] Luma-dependent chroma residual scaling is a multiplicative process implemented in fixed-point integer arithmetic. Chroma residual scaling compensates for the interaction of the luma signal with the chroma signal. Chroma residual scaling is applied at the TU level. More specifically, the following is applied: - For intra, the reconstructed luma is averaged; - For inter, the predicted luma is averaged.
[0056] The average is used to identify an index in the PWL model, which identifies the scaling factor cScaleInv, by which the chroma residual is multiplied.
[0057] It is noted that the chroma scaling factors are calculated from the forward-mapped predicted luma values rather than the reconstructed luma values.
[0058] [2.9.2.3 ILR side information notification] The parameters are (currently) transmitted in tile group headers (similar to ALF). These reportedly take up 40-100 bits.
[0059] The following specification is based on JVET-L1001, version 9. Added syntax is prefixed with "++".
[0060] In 7.3.2.1, sequence parameter set RBSP syntax [Table 2]
[0061] 7.3.3.1 General Tile Group Header Syntax [Table 3]
[0062] Added new syntax table tile group reshaper model: [Table 4] TIFF0007560226000006.tif254166TIFF0007560226000007.tif36166
[0063] [2.9.2.4 Use of ILR] At the encoder side, each picture (or tile group) is first transformed into a reshaped domain, and all coding processes are performed in the reshaped domain. For intra prediction, neighboring blocks are in the reshaped domain, and for inter prediction, reference blocks (generated from the original domain from the decoded picture buffer) are first transformed into the reshaped domain. Then, the residual is generated and coded into the bitstream.
[0064] After the entire picture (or tile group) has finished encoding / decoding, the samples in the reshaped region are transformed back to the original region, and then the deblocking filter and other filters are applied.
[0065] Forward reshaping on the predicted signal is disabled for the following cases: ○ The current block is intra-coded; ○ The current block is coded as CPR (Current Picture Referencing, also known as Intra Block Copy, IBC); o The current block is coded as Combined Inter-Intra mode (CIIP) and forward reshaping is disabled for intra predicted blocks.
[0066] [3 Shortcomings of existing implementations] There are several problems with the current design of the IBC virtual buffer. (1) It is not defined how the IBC virtual buffer should be maintained when the CTU size is larger than 128 x 128. (2) The relationship between the virtual buffer size and the size of the reference sample is unclear. (3) The line buffer for BV and IBC modes for CTU rows may be reduced. (4) Subpictures may be overly restricted. (5) Chroma QP tables are sometimes not designed in the correct way.
[0067] [4 Exemplary method of a general virtual buffer for IBC] Let vSize denote the width and height of the VPDU, for example vSize=min(64,CtbSizeY), where ctbSizeY is the luma CTB / CTU width / height.
[0068] Embodiments of the presently disclosed technology overcome shortcomings of existing implementations, thereby bringing higher coding efficiency to video coding. A general virtual buffer method for IBC based on the disclosed technology can improve both existing and future video coding standards, as illustrated in the following examples describing various implementations. The examples of the disclosed technology provided below are illustrative of the general concepts and are not intended to be construed as limiting. Unless otherwise expressly indicated in the examples, various features described in these examples may be combined.
[0069] IBC Buffer Related 1. The size of the IBC virtual buffer (used, for example, to determine whether a block vector or a mapped sample is valid) may depend on the VPDU size, the CTB / CTU size. In one example, the width x height of the virtual buffer may be fixed, but the width and / or height of the virtual buffer may depend on the VPDU size and / or the CTB / CTU size. b. In one example, the height of the virtual buffer may be equal to the height of the CTB / CTU. i. Alternatively, further, the width of the virtual buffer may be equal to (IBC virtual buffer size / CTB height). c. In one example, the width of the virtual buffer may be equal to the width of the CTB / CTU. d. In one example, the width of the virtual buffer may be one or more times the VPDU width. e. In one example, the virtual buffer height may be one or more times the VPDU height.
[0070] 2. It is proposed to allocate a larger IBC virtual buffer size compared to the required memory size for the IBC BV search area. In one example, the IBC virtual buffer size may be larger than the overall size of the VPDU memory used for the IBC. i. In one example, another CTU may be allocated to the IBC virtual buffer. b. In one example, the width of the IBC virtual buffer size may be (128×128 / ctbSizeY+ctbSizeY). c. In one example, the width of the IBC virtual buffer size may be (128×128 / ctbSizeY+ctbSizeY) and the height of the IBC virtual buffer size may be ctbSizeY.
[0071] 3. The reference block of an IBC block may be constrained to be entirely within a particular VPDU row or VPDU column. In one example, a reference block may not be allowed to cross different VPDU rows. b. In one example, a reference block may not be allowed to cross different VPDU sequences. c. In one example, the top VPDU row or column may be relative to the picture. d. In one example, the top VPDU row or column may be relative to the IBC virtual buffer. e. Alternatively, further, the above method may be invoked when the reference block pointed to by BV crosses two or more CTU / CTBs.
[0072] 4. The reference block of an IBC block may span multiple VPDUs / different VPDU rows / columns, but additional operations may be required to fill in some predicted values in the reference block. In one example, some default values may be utilized to fill in some predicted values.
[0073] 5. Range constraints may be applied to Block Vectors (BV) and / or Block Vector Differences (BVD) used in IBC mode. In one example, the tolerance of BV / BVD may depend on the position of the current IBC coding block, such as the coordinates relative to the CTU / CTB that covers the current block. b. In one example, the block vector is [-2 m ,2 m -1]. c. In one example, the block vector difference after precision conversion is [-2 n ,2 n -1]. d. In one example, the block vector difference after precision conversion is [-2 n +1,2 n -1]. e. The block vector difference signaled in the bitstream is [-2 n ,2 n -1]. f. In one example, the block vector difference signaled in the bitstream is [-2 n +1,2 n -1]. g. In one example, m is set to 18 or 17 or 15. In one example, n is set to 17 or 16 or 14. i. In one example, m and / or n may depend on the precision associated with block vector differencing and / or the precision for BV / motion vector storage. j. In one example, block vectors may be constrained to the same range as motion vectors used for inter prediction modes. k. In one example, block vector differentials may be constrained to the same range as motion vectors used for inter prediction modes. l. In one example, a conformance bitstream should satisfy that the above subsections are satisfied. i. Alternatively, the clipping process for the BV / BVD may be applied to the decoded BV / BVD before the BV / BVD is utilized to encode / decode a block.
[0074] 6. The number of available samples that are mapped to the IBV virtual buffer may be limited. In one example, the maximum number of available samples that can be mapped to the buffer may be less than the IBC virtual buffer size. b. In one example, the maximum number of samples available to be mapped into an IBC virtual buffer is greater than 64×64. c. In one example, the number of available samples that can be mapped into an IBC virtual buffer may be limited to be no more than one or more times the number of samples in a VPDU. i. In one example, the number of available samples mapped to an IBC virtual buffer may be limited to be no more than three times the number of samples in a VPDU when the CTU / CTB size is greater than 64x64.
[0075] 7. Unavailability marking of IBC reference samples that are mapped to IBC virtual buffers may be performed at the granularity of VPDUs. In one example, when a sample needs to be marked as unavailable, samples within the same VPDU may also be marked as unavailable. b. In one example, one or more VPDUs may be marked as unavailable at the same time. c. In one example, which VPDU samples are marked as unavailable may depend on the position of the current VPDU; d. In one example, which VPDU samples are marked as unavailable may depend on the position of the previous or most recently decoded VPDU.
[0076] 8. When the CTU / CTB size is greater than 64x64, the IBC reference may be the current VPDU and the three most recently decoded VPDUs. In one example, an index may be maintained for each VPDU mapped into a virtual IBC buffer to track the decoding order of each VPDU.
[0077] 9. A counter may be maintained to track the number of available VPDUs mapped into the buffer. In one example, the counter is reset to 0 at the beginning of decoding of each CTU row and is incremented by 1 when one VPDU mapped to the buffer is decoded. b. In one example, if the counter is greater than a particular value, eg, 3, then a sample of one VPDU mapped into the buffer may be marked as unavailable and the counter may be decremented by one.
[0078] 10. When the CTU / CTB size is 128x128, the corresponding IBC virtual buffer may be 256x128 in size. a. Alternatively, the IBC virtual buffer may be of size (k×64)×128, where k>2.
[0079] 11. When the CTU / CTB size is 256x256, the corresponding IBC virtual buffer may be of size 64x256 to track the availability of reference samples, i.e., ibcBufW=64 and ibcBufH=256. In one example, before decoding a VPDU whose top left corner is (x0,y0), the corresponding VPDU row (0,y0%256) in the IBC buffer is set to -1.
[0080] 12. When the CTU / CTB size is 256x256, the corresponding IBC virtual buffer that tracks the availability of reference samples may be of size 128x256, i.e., ibcBufW=128 and ibcBufH=256. In one example, only one VPDU may be kept for each VPDU row in the buffer except for the specific VPDU row (excluding the current VDPU). i. In one example, only one VPDU may be kept for each VPDU row in the buffer except for the last VPDU row (excluding the current VDPU).
[0081] 13. The IBC buffer does not have to be reset at the beginning of a CTU row. In one example, the IBC virtual buffer inherited from the CTU row above may be used as the initial state of the current CTU row. b. Alternatively, the IBC virtual buffer may be partially reset to the beginning of the CTU row. i. In one example, the VPDUs in the top CTU row may be retained in the current IBC buffer, while other buffer areas may be reset. ii. In one example, the bottom-left most VPDU of the top CTU row may be inherited in the current IBC buffer, while other buffer areas may be reset.
[0082] 14. Whether and / or how a sample in a buffer should be marked as unavailable may be independent of chroma block position. In one example, only if a luma block is in the first block in a VPDU, the corresponding samples in the IBC buffer may be marked as unavailable. b. In one example, samples in the buffer are not allowed to be reset or marked as unavailable when decoding a chroma coding unit.
[0083] 15. Whether and / or how a sample in the IBC virtual buffer should be marked may depend on the position of the most recently decoded VPDU and the VPDU size. In one example, whether and / or how a sample in the IBC virtual buffer should be marked as unavailable may depend on the position of the most recently decoded VPDU in a brick / slice / tile / picture. b. In one example, whether and / or how a sample in the IBC virtual buffer should be marked as unavailable may depend on the position of the most recently decoded VPDU within a CTU row of a brick / slice / tile / picture. c. In one example, which samples in the IBC virtual buffer should be marked as unavailable may be independent of the current block position.
[0084] IBC Line Buffer Related 16. Block vector prediction across CTU rows is not allowed. In one example, when a block vector prediction is from a different CTU row compared to the current CTU row, it may be considered unavailable.
[0085] 17. The deblocking decision for the current IBC block across a CTU row may be independent of the block vectors or motion vectors of other blocks. a. In one example, when two blocks are in different CTU rows, and one block is coded in IBC mode and the other is coded in IBC or inter mode, the deblocking boundary strength may always be set equal to 1. b. In one example, when two blocks are in different CTU rows, and one block is coded in IBC mode and the other is coded in IBC or inter mode, the deblocking boundary strength may always be set equal to 0.
[0086] 18. The deblocking decision for the current IBC block across a CTU row may be independent of whether other blocks are coded in IBC or Inter mode. In one example, when two blocks are in different CTU rows, and one block is coded in IBC mode and the other is not coded in intra mode, the deblocking boundary strength may always be set equal to 1.
[0087] Subpicture Related 19. It is proposed to allow prediction (eg, motion / sample prediction) between two sub-pictures under certain conditions. In one example, if the boundary of the first sub-picture coincides with the picture boundary (or the conformance window boundary), it is allowed to use information from the second sub-picture. i. Alternatively, further, the sub-picture border is a left or right sub-picture border. ii. Alternatively, further, the picture border is a left or right picture border. iii. In one example, the left (or right) border of the second sub-picture may coincide with the left (or right) border of the picture. b. The condition is true if and only if picture wrapping is allowed (eg, sps_ref_wraparound_enabled_flag is equal to 1).
[0088] 20. Picture wrapping excludes subpictures. In one example, picture wrapping is enabled when sub-pictures are used. b. In one example, sub-pictures cannot be used when picture wrapping is enabled. c. Alternatively, picture wrapping may be enabled when sub-pictures are used. iv. In one example, picture wrapping may be enabled for sub-pictures that have boundaries that coincide with picture boundaries.
[0089] Chroma QP Table Related 21. The minimum index of the chroma QP table may be independent of the bit depth of the chroma components. In one example, the minimum index of a chroma QP table may depend on the bit depth of the luma component. b. In one example, the minimum index of the chroma QP table is QpBdOffset Y , i.e. 6*bit_depth_luma_minus8.
[0090] The above examples may be incorporated in conjunction with the methods described below, such as method 400, which may be implemented in a video decoder or video encoder.
[0091] 4A shows a flow chart of an exemplary method 400 of video processing. The method 400 includes, at step 402, making a decision regarding validity of one or more sample or block vectors mapped to a virtual buffer based on a size of a virtual buffer associated with a current block to be coded based on pixels in a reference block, the current picture including the current block and the reference block, the size of the virtual buffer being based on a size of a Virtual Pipeline Data Unit (VPDU), a size of a Coding Tree Block (CTB) or a size of a Coding Tree Unit (CTU).
[0092] The method 400 includes, at step 404, performing a conversion between the current block and a bitstream representation of the current block based on the determination.
[0093] 4B shows a flowchart of an example method 420 of video processing. The method 420 includes, at step 422, designating one or more reference samples of the reference block as unavailable for a current block that is coded based on pixels in the reference block, each of the one or more reference samples being mapped to a virtual buffer and having a corresponding sample in at least a current virtual pipeline data unit (VPDU) associated with the reference block, and a current picture including the current block and the reference block.
[0094] The method 420 includes, at step 424, performing a conversion between the current block and a bitstream representation of the current block based on the specification.
[0095] 4C shows a flow chart of an example method of video processing 440. The method 400 includes, at step 442, determining a size of a virtual buffer associated with the reference block based on a size of a coding tree unit (CTU) or a coding tree block (CTB) of the current block for a current block that is coded based on pixels in the reference block, and a current picture includes the current block and the reference block.
[0096] The method 440 includes, at step 444, performing a conversion between the current block and a bitstream representation of the current block based on the determination.
[0097] [5 Examples of the disclosed technology] [5.1 Embodiment #1] When the CTU size is 256x256, a 64x256 IBC virtual buffer ibcBuf is maintained, i.e. ibcBufW=64, ibcBufH=256. The VPDU size is 64x64, and in addition to the current VPDU, three additional VPDUs of on-chip memory are used to store IBC reference samples.
[0098] The buffer ibcBuf is reset to -1 at the beginning of decoding a CTU row.
[0099] First, decode a new VPDU with top-left position (x0,y0) relative to the top-left corner of the picture, and the following applies: 1) For x = x0, , x0 + 63 and y = y0, , y0 + 63, ibcBuf[x%ibcBufW][y%ibcBufH] = -1. 2) After decoding a CU, for (x,y) in that CU relative to the top-left corner of the picture, set ibcBuf[x%ibcBufW][y%ibcBufH] as the reconstructed value of sample (x,y) before in-loop filtering, e.g., SAO, deblocking, ALF. 3) Given bv, the reference for (x,y) is ibcBuf[(x+bv[0])%ibcBufW][(y+bv[1])%IbcBufH].
[0100] The bitstream constraints are that the following two conditions must be true: 1) Consider a WxH block with top-left position (x,y) relative to the top-left of the picture, then (y%ibcBufH)+H<=ibcBufH. 2) ibcBuf[(x+bv[0])%ibcBufW][(y+bv[1])%IbcBufH] should not contain invalid pixel values, e.g. -1, for x=0,···,W-1, y=0,···,H-1.
[0101] [5.2 Embodiment #2] When the CTU size is 256x256, an IBC virtual buffer ibcBuf of 128x256 is maintained, i.e. ibcBufW=128, ibcBufH=256. The VPDU size is 64x64, and in addition to the current VPDU, three additional VPDUs of on-chip memory are used to store IBC reference samples.
[0102] The buffer ibcBuf is reset to -1 at the beginning of the decoding of a CTU row. xPrevVPDU=0 and yPrevVPDU=0.
[0103] First, decode a new VPDU with top-left position (x0,y0) relative to the top-left corner of the picture, and the following applies: 1) If (yPrevVPDU+64)%ibcBufH is not equal to 0, then ibcBuf[(x+xPrevVPDU-64)%ibcBufW][(y+yPrevVPDU)%ibcBufH] = -1 for x = x0,···,x0+63, y = y0,···,y0+63. 2) Otherwise ((yPrevVPDU+64)%ibcBufH is equal to 0), then ibcBuf[(x+xPrevVPDU)%ibcBufW][(y+yPrevVPDU)%ibcBufH] = -1 for x=x0,···,x0+63, y=y0,···,y0+63. 3) xPrevVPDU=x0 and yPrevVPDU=y0.
[0104] The bitstream constraints are that the following two conditions must be true: 1) Consider a WxH block with top-left position (x,y) relative to the top-left of the picture, then (y%ibcBufH)+H<=ibcBufH. 2) ibcBuf[(x+bv[0])%ibcBufW][(y+bv[1])%IbcBufH] should not contain invalid pixel values, e.g. -1, for x=0,···,W-1, y=0,···,H-1.
[0105] [5.3 Embodiment #3] This embodiment reflects bullet 2. Changes marked in bold italics are based on VVC draft 6 document JVET-O2001-vE. [Table 5]
[0106] [5.4 Embodiment #4] This embodiment reflects Burette 3.
[0107] Denote (xCb, yCb) as the top-left position of the current block relative to the top-left of the picture. The width and height of the block are W and H, respectively. The block vector of the block is (xBv, yBv).
[0108] VPDU row constraints for a picture: The bitstream constraint is that (xCb+xBv) / vSize must be equal to (xCb+xBv+W-1 / vSize).
[0109] VPDU sequence constraints for a picture: The bitstream constraint is that (yCb+yBv) / vSize must be equal to (yCb+yBv+H-1 / vSize).
[0110] VPDU row constraints for IBC buffers: The bitstream constraint is that ((xCb+xBv)%IbcBufWidthY) / vSize must be equal to (((xCb+xBv+W-1)%IbcBufWidthY) / vSize).
[0111] VPDU sequence constraints for IBC buffers: The bitstream constraint is that ((yCb+yBv)%IbcBufHeightY) / vSize must be equal to (((yCb+yBv+H-1)%IbcBufHeightY) / vSize).
[0112] [5.5 Embodiment #5] This embodiment reflects the fact that marking a sample in the IBC virtual buffer as unavailable may be independent of the chroma block. Changes marked in bold italics are based on JVET-O2001-vE. Deleted text is marked with double brackets (e.g., [[a]] represents the deletion of the letter "a"). [Table 6]
[0113] [5.6 Embodiment #6] [Table 7]
[0114] [5.7 Embodiment #7] This embodiment gives an example of allowing sub-picture prediction. Changes compared to JVET-O2001-vE are highlighted in bold italics, and deleted text is marked with double brackets (e.g., [[a]] represents the deletion of the letter "a"). [Table 8]
[0115] [5.8 Embodiment #8] This embodiment shows an example design of a chroma QP table. Changes marked in bold italics are based on JVET-O2001-vE. [Table 9]
[0116] Figure 6 shows an example of VPDU column and VPDU row cross reference blocks. As shown in Figure 6, for the current CU (checkered block 602), the red filled block (solid block 604) is the cross VPDU column reference block, and the block (diagonal striped block 606) is the cross VPDU row reference block. Each large block represents a 64x64 VPDU, and the area (608) represents the reconstructed pixels that can be used for IBC reference.
[0117] FIG. 5 is a block diagram of a video processing device 500. The device 500 may be used to implement one or more of the methods described herein. The device 500 may be embodied in a smartphone, a tablet, a computer, an Internet of Things (IoT) receiver, etc. The device 500 may include one or more processors 502, one or more memories 504, and video processing hardware 506. The processor 502 may be configured to implement one or more of the methods described herein, including but not limited to the method 400. The memory(s) 504 may be used to store data and code used to implement the methods and techniques described herein. The video processing hardware 506 may be used to implement some of the techniques described herein in a hardware circuit. In some embodiments, the video processing hardware 506 may be included partially or completely within the processor 502 (e.g., a graphics coprocessor).
[0118] 7 is a block diagram illustrating an example video processing system 700 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of system 700. System 700 may include an input 702 for receiving video content. The video content may be received in raw or uncompressed format, e.g., 8 or 10 bit multi-component pixel values, or may be in a compressed or encoded format. Input 702 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 networks (PON), and the like, and wireless interfaces such as Wi-Fi or cellular networks.
[0119] System 700 may include a coding component 704 that may implement various coding or encoding methods described herein. The coding component 704 may reduce the average bit rate of the video from the input 702 to an output of the coding component 704 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 704 may be stored or transmitted via a connected communication, as represented by component 706. The stored or communicated bitstream (or coded) representation of the video received at the input 702 may be used by component 708 to generate pixel values or displayable video that is sent to a display interface 710. The process of generating a video that can be viewed by a user from the bitstream representation is sometimes referred to as video decompression. Furthermore, it will be understood that while certain video processing operations are referred to as "coding" operations or tools, such coding tools or operations are used in an encoder and corresponding decoding tools or operations that transpose the results of the coding will be performed by a decoder.
[0120] 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 include Serial Advanced Technology Attachment (SATA), PCI, IDE interfaces, etc. The techniques described herein may be embodied in various electronic devices such as mobile phones, laptops, smartphones, or other devices capable of performing digital data processing and / or video display.
[0121] FIG. 8 is a block diagram illustrating an example video coding system 100 that may utilize the techniques of this disclosure.
[0122] 8, video coding system 100 may include source device 110 and destination device 120. Source device 110 generates encoded video data and may be referred to as a video encoding device. Destination device 120 can decode the encoded video data generated by source device 110 and may be referred to as a video decoding device.
[0123] The source device 110 may include a video source 112, a video encoder 114, and an input / output (I / O) interface 116.
[0124] The video source 112 may include a source such as a video capture device, an interface that receives video data from a video content provider, and / or a computer graphics system that generates video data, or a combination of such sources. The video data may have one or more pictures. The video encoder 114 encodes the video data from the 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 a coded picture and associated data. A coded picture is a coded representation of a picture. The associated data may include a sequence parameter set, a picture parameter set, and other syntax structures. The I / O interface 116 may include a modulator / demodulator (modem) and / or a transmitter. The coded video data may be transmitted directly over the network 130a to the destination device 120 via the I / O interface 116. The coded video data may also be stored in a storage medium / server 130b for access by the destination device 120.
[0125] The destination device 120 may include an I / O interface 126 , a video decoder 124 , and a display device 122 .
[0126] The I / O interface 126 may include a receiver and / or a modem. The I / O interface 126 may obtain encoded video data from the source device 110 or the storage medium / server 130b. The video decoder 124 may decode the encoded video data. The display device 122 may display the decoded video data to a user. The display device 122 may be integrated with the destination device 120 or may be external to the destination device 120 and configured to interface with an external display device.
[0127] The video encoder 114 and the video decoder 124 may operate according to a video compression standard, such as the High Efficiency Video Coding (HEVC) standard, the Versatile Video Coding (VVC) standard, and other current and / or future standards.
[0128] FIG. 9 is a block diagram illustrating an example of a video encoder 200, which may be the video encoder 114 of the system 100 illustrated in FIG.
[0129] Video encoder 200 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 9, video encoder 200 includes multiple functional components. The techniques described in this disclosure may be shared among various components of video encoder 200. In some examples, a processor may be configured to perform any or all of the techniques described in this disclosure.
[0130] Functional components of the video encoder 200 may include a partition unit 201, a prediction unit 202, which may include a mode selection 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.
[0131] In other examples, video encoder 200 may include more, fewer, or different functional components. In an example, prediction unit 202 may include an Intra Block Copy (IBC) unit. The IBC unit may perform prediction in an IBC mode, where at least one reference picture is the picture in which the current video block is located.
[0132] Furthermore, some components, such as the motion estimation unit 204 and the motion compensation unit 205, may be highly integrated, but are depicted separately in the example of FIG. 9 for purposes of illustration.
[0133] Partition unit 201 may partition a picture into one or more video blocks. Video encoder 200 and video decoder 300 may support a variety of video block sizes.
[0134] The mode selection unit 203 may select one of intra or inter coding modes, for example based on an error result, and provide the resulting intra or inter coded block to a residual generation unit 207 that generates residual block data, and to a reconstruction unit 212 that reconstructs the coded block for use as a reference picture. In some examples, the mode selection unit 203 may select a Combination of Intra and Inter Prediction (CIIP) mode, in which prediction is based on an inter prediction signal and an intra prediction signal. The mode selection unit 203 may also select a resolution (e.g., sub-pixel or integer pixel precision) for the motion vector of the block in the case of inter prediction.
[0135] To perform inter prediction on the 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 with 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.
[0136] Motion estimation unit 204 and motion compensation unit 205 may perform different operations for the current video block depending on whether the current video block is an I slice, a P slice, or a B slice, for example.
[0137] In some examples, motion estimation unit 204 may perform unidirectional prediction for the current video block, and motion estimation unit 204 may look for a reference video block for the current video block from a reference picture in list 0 or list 1. Motion estimation unit 204 may then generate a reference index indicating a reference picture in list 0 or list 1 that contains the reference video block, and a motion vector indicating a spatial displacement between the current video block and the reference video block. Motion estimation unit 204 may output the reference index, the prediction direction indicator, and the motion vector as motion information for the current video block. Motion compensation unit 205 may generate a predicted video block for the current block based on the reference video block indicated by the motion information of the current video block.
[0138] In another example, motion estimation unit 204 may perform bidirectional prediction for the current video block, and motion estimation unit 204 may look for a reference video block for the current video block from a reference picture in list 0 and may look for another reference video block for the current video block from a reference picture in list 1. Motion estimation unit 204 may then generate a reference index indicating the reference pictures in list 0 and list 1 that contain the reference video blocks, and a motion vector indicating the spatial displacement between the reference video block and the current video block. Motion estimation unit 204 may output the reference index and the motion vector of the current video block as motion information of the current video block. Motion compensation unit 205 may generate a predicted video block for the current video block based on the reference video block indicated by the motion information of the current video block.
[0139] In some examples, the motion estimation unit 204 may output a full set of motion information for the decoding process of the decoder.
[0140] In some examples, motion estimation unit 204 may not output a full set of motion information for the current video. Rather, motion estimation unit 204 may reference motion information of other video blocks to inform the motion information of the current 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.
[0141] In one example, motion estimation unit 204 may indicate in a syntax structure associated with the current video block a value that indicates to video decoder 300 that the current video block has the same motion information as other video blocks.
[0142] In another example, motion estimation unit 204 may identify another video block and a motion vector difference (MVD) in a syntax structure associated with the current video block. The motion vector difference indicates a difference between the motion vector of the current video block and the motion vector of the identified video block. Video decoder 300 may use the motion vector and the motion vector difference of the identified video block to determine the motion vector of the current video block.
[0143] As described above, video encoder 200 may predictively signal motion vectors. Two examples of predictive signaling techniques that may be implemented by video encoder 200 include Advanced Motion Vector Prediction (AMVP) and merge mode signaling.
[0144] 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 predictive data for the current video block based on decoded samples of other video blocks in the same picture. The predictive data for the current video block may include a predicted video block and various syntax elements.
[0145] Residual generation unit 207 may generate residual data for the current video block by subtracting (e.g., as indicated by a minus sign) the predicted video block of the current video block from the current video block. The residual data for the current video block may include residual video blocks that correspond to different sample components of the samples in the current video block.
[0146] In other examples, for example, in skip mode, residual data for the current video block may not be present and residual generation unit 207 may not perform the subtraction operation.
[0147] 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.
[0148] 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.
[0149] Inverse quantization unit 210 and inverse transform unit 211 may apply inverse quantization and inverse transform, respectively, to the transform coefficient video block 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 prediction unit 202 to generate a reconstructed video block related to the current block for storage in buffer 213.
[0150] After reconstruction unit 212 reconstructs the video blocks, a loop filtering operation may be performed to reduce video blocking artifacts in the video blocks.
[0151] The entropy encoding unit 214 may receive data from other functional components of the video encoder 200. When the entropy encoding unit 214 receives data, the entropy encoding unit 214 may perform one or more entropy encoding operations to generate entropy encoded data and generate a bitstream that includes the entropy encoded data.
[0152] FIG. 10 is a block diagram illustrating an example of a video decoder 300, which may be the video decoder 124 of the system 100 illustrated in FIG.
[0153] The video decoder 300 may be configured to perform any or all of the techniques of this disclosure. In the example of FIG. 10, the video decoder 300 includes multiple functional components. The techniques described in this disclosure may be shared among 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.
[0154] 10, the 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 transform unit 305, a reconstruction unit 306, and a buffer 307. The video decoder 300 may, in some examples, perform a decoding path that is generally inverse to the encoding path described with respect to the video encoder 200 (FIG. 9).
[0155] The entropy decoding unit 301 may retrieve an encoded bitstream. The encoded bitstream may include entropy coded video data (e.g., coded blocks of video data). The entropy decoding unit 301 may decode the entropy coded video data, and from the entropy decoded video data, the motion compensation unit 302 may determine motion information including motion vectors, motion vector precision, reference picture list index, and other motion information. The motion compensation unit 302 may determine such information, for example, by implementing AMVP and merge mode.
[0156] The motion compensation unit 302 may optionally perform interpolation based on an interpolation filter to generate the motion compensated block. An identifier for the interpolation filter used with sub-pixel precision may be included in the syntax element.
[0157] Motion compensation unit 302 may use the interpolation filters used by video encoder 200 during encoding of the video block to calculate interpolated values for sub-integer pixels of the 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 generate the predictive block.
[0158] The motion compensation unit 302 may use some of the syntax information to determine the size of the blocks used to code the frames and / or slices of the coded video sequence, partition information describing how each macroblock of a picture of the coded video sequence is partitioned, one or more reference frames (and reference frame lists) for each inter-coded block, and other information for decoding the coded video sequence.
[0159] The intra prediction unit 303 may use, for example, an intra prediction mode received in the bitstream to form a prediction block from spatially neighboring blocks. The inverse quantization unit 304 inverse quantizes, i.e., dequantizes, the quantized video block coefficients provided in the bitstream and decoded by the entropy decoding unit 301. The inverse transform unit 305 applies an inverse transform.
[0160] Reconstruction unit 306 may add a corresponding prediction block generated by motion compensation unit 302 or intra prediction unit 303 to the residual block to form a decoded block. If desired, a deblocking filter may also be applied to filter the decoded block to remove blockiness artifacts. The decoded video block is then stored in buffer 307, which provides reference blocks for subsequent motion compensation / intra prediction, as well as generating decoded video for presentation on a display device.
[0161] Some embodiments of the disclosed techniques include making a decision or determination to enable a video processing tool or mode. In an example, if a video processing tool or mode is enabled, the encoder will use or implement that tool or mode in processing blocks of video, but may not necessarily modify the resulting bitstream based on the use of the tool or mode. That is, conversion of blocks of video to a bitstream representation of video will use the video processing tool or mode if the tool or mode is enabled based on the decision or determination. In another example, if a video processing tool or mode is enabled, the decoder will process the bitstream knowing that the bitstream has been modified based on the video processing tool or mode. That is, conversion of a bitstream representation of video to blocks of video will be performed using the video processing tool or mode enabled based on the decision or determination.
[0162] Some embodiments of the disclosed techniques include making a decision or determination to disable a video processing tool or mode. In an example, when a video processing tool or mode is disabled, an encoder will not use that tool or mode in converting blocks of video to a bitstream representation of the video. In another example, when a video processing tool or mode is disabled, a decoder will process the bitstream with the video processing tool or mode that was disabled based on the decision or determination, knowing that the bitstream has not been altered.
[0163] As used herein, the term "video processing" may refer to video encoding, video decoding, video compression, or video decompression. For example, a video compression algorithm may be applied during conversion from a pixel representation of a video to a corresponding bitstream representation, or vice versa. The bitstream representation of a current video block may correspond to bits that are either in the same position or spread across different locations in the bitstream, e.g., as defined by a syntax. For example, a macroblock may be encoded with respect to a transformed and coded error residual value, as well as with bits in the header and other fields in the bitstream.
[0164] The following provide embodiments that can address, among other issues, the technical problems described herein: The first set of appendices describes certain features and aspects of the technology disclosed in the previous section.
[0165] (Appendix 1) 1. A method of video processing, comprising: making a decision regarding validity of one or more sample or block vectors mapped to the virtual buffer based on a size of the virtual buffer associated with a current block that is coded based on pixels in a reference block, a current picture including the current block and the reference block, the size of the virtual buffer being based on a size of a virtual pipeline data unit (VPDU), a size of a coding tree block (CTB), or a size of a coding tree unit (CTU); performing a conversion between the current block and a bitstream representation of the current block based on the determination; The method according to claim 1,
[0166] (Appendix 2) The product of the height and width of the virtual buffer is constant, and the height or the width is based on the size of the VPDU, the size of the CTB, or the size of the CTU; The method described in Appendix 1.
[0167] (Appendix 3) The width of the virtual buffer is equal to the width of the CTB or the width of the CTU; The method described in Appendix 1.
[0168] (Appendix 4) The width or height of the virtual buffer is N times the width or height of the VPDU, respectively, where N>=1 is an integer. The method described in Appendix 1.
[0169] (Appendix 5) the maximum number of the one or more samples is less than the size of the virtual buffer; The method described in Appendix 1.
[0170] (Appendix 6) The maximum number of the one or more samples is unchanged when it is determined that the size of the CTB or the size of the CTU is greater than 64×64. The method described in Appendix 1.
[0171] (Appendix 7) The number of the one or more samples is equal to or less than N times the number of samples in the VPDU, where N≧1 is an integer. The method described in Appendix 1.
[0172] (Appendix 8) N=3 if the size of the CTB or the size of the CTU is determined to be greater than 64×64; The method described in Appendix 7.
[0173] (Appendix 9) 1. A method of video processing, comprising: designating one or more reference samples of a reference block as unavailable for a current block that is coded based on pixels in the reference block, each of the one or more reference samples being mapped to a virtual buffer and having a corresponding sample in at least a current virtual pipeline data unit (VPDU) associated with the reference block, a current picture including the current block and the reference block; performing a conversion between the current block and a bitstream representation of the current block based on the specification; The method according to claim 1,
[0174] (Appendix 10) designating the corresponding sample in the current VPDU as unavailable. 10. The method according to claim 9.
[0175] (Appendix 11) The designation of the corresponding sample is based on a position of the current VPDU. 11. The method according to claim 10.
[0176] (Appendix 12) The designation of the corresponding sample is based on a position of a previous or recently decoded VPDU. 11. The method according to claim 10.
[0177] (Appendix 13) each of the one or more reference samples having a corresponding sample in each of the three most recently decoded VPDUs; 10. The method according to claim 9.
[0178] (Appendix 14) 1. A method 440 for video processing, comprising: For a current block that is coded based on pixels in a reference block, determining a size of a virtual buffer associated with the reference block based on a size of a coding tree unit (CTU) or a size of a coding tree block (CTB) of the current block, where a current picture includes the current block and the reference block; performing a conversion between the current block and a bitstream representation of the current block based on the determination; The method according to claim 1,
[0179] (Appendix 15) The size of the virtual buffer is 256×128 when the size of the CTB or CTU is determined to be 128×128; 15. The method according to claim 14.
[0180] (Appendix 16) The size of the virtual buffer is 64×256 when the size of the CTB or CTU is determined to be 256×256; 15. The method according to claim 14.
[0181] (Appendix 17) The size of the virtual buffer is 128×256 when the size of the CTB or CTU is determined to be 256×256; 15. The method according to claim 14.
[0182] (Appendix 18) coding the current block based on pixels in the reference block in the current picture that includes the current block is an intra block copy (IBC) operation, and the virtual buffer is an IBC virtual buffer. 18. A method according to any one of claims 1 to 17.
[0183] (Appendix 19) 1. A method of video processing, comprising: allocating an intra block copy (IBC) virtual buffer size for a conversion between a bitstream representation of a current block of video and the current block, the IBC virtual buffer size being greater than a minimum size of a block vector search area for the conversion; performing the conversion based on the assignment; The method according to claim 1,
[0184] (Appendix 20) the IBC virtual buffer size is greater than the total size of the virtual pipeline data unit memory used for the transformation; 19. The method according to claim 19.
[0185] (Appendix 21) The width of the IBC virtual buffer size is (128*128 / ctbSizeY+CtbSizeY); 21. The method according to any one of claims 19 to 20.
[0186] (Appendix 22) 1. A method of video processing, comprising: determining, based on a rule, a size of a reference block for transformation between a bitstream representation of a current block of video and the current block, for the transformation based on intra-block predictive coding; performing said conversion based on said determination; having The rule constrains the reference block to be within a virtual pipeline data unit (VPDU) column or a VPDU row. method.
[0187] (Appendix 23) The rule is that the reference block is not allowed to span different VPDU rows. 23. The method according to claim 22.
[0188] (Appendix 24) The rule does not allow the reference block to span different VPDU sequences. 23. The method according to claim 22.
[0189] (Appendix 25) the VPDU column or the VPDU row is relative to the picture containing the current block; 25. The method according to any one of claims 22 to 24.
[0190] (Appendix 26) The VPDU column or the VPDU row is relative to an intra block copy virtual buffer. 25. The method according to any one of claims 22 to 24.
[0191] (Appendix 27) the transforming comprises video encoding to generate the bitstream representation from the current block. 27. A method according to any one of claims 1 to 26.
[0192] (Appendix 28) the transforming comprises video decoding to generate the current block from the bitstream representation. 27. A method according to any one of claims 1 to 26.
[0193] (Appendix 29) 1. An apparatus in a video system, comprising: A processor; A memory having instructions; having The instructions, when executed by the processor, cause the processor to implement a method as recited in any one of claims 1 to 28. Device.
[0194] (Appendix 30) 1. A computer program product stored on a non-transitory computer-readable medium, comprising: 29. A computer program product comprising program code for carrying out the method according to any one of claims 1 to 28.
[0195] (Appendix 31) A method, apparatus, or system as described herein.
[0196] The second set of appendices describes certain features and aspects of the technology disclosed in the previous section (eg, exemplary items 13 to 21).
[0197] (Appendix 1) 1. A method of video processing (e.g., method 1110 shown in FIG. 11A), comprising: determining 1112 whether or how to reset reference sample values of a reference region of the video picture used to predict the current video block according to a rule for a transformation between a current video block of a video picture of a video and a coded representation of the video; a step 1114 of performing the conversion based on the determination; The method according to claim 1,
[0198] (Appendix 2) the rule specifies that the reference sample values of the reference region are not reset to the beginning of a coding tree unit (CTU) row of the video picture. The method described in Appendix 1.
[0199] (Appendix 3) The reference area inherited from the upper CTU row above the current CTU row is used as the initial state of the current CTU row of the video picture. The method described in Appendix 1.
[0200] (Appendix 4) the rule specifies that the reference sample values of the reference region are reset partially to the beginning of a coding tree unit (CTU) row of the video picture. The method described in Appendix 1.
[0201] (Appendix 5) The rule further specifies that a virtual pipeline data unit (VPDU) of an upper CTU row located above the CTU row is inherited in the reference region, and the remaining reference region is reset. The method described in Appendix 4.
[0202] (Appendix 6) The rule further specifies that a bottom-left virtual pipeline data unit (VPDU) of an upper CTU row located above the CTU row is inherited in the reference region, and the remaining reference region is reset. The method described in Appendix 4.
[0203] (Appendix 7) 1. A method of video processing (e.g., method 1120 shown in FIG. 11B), comprising: determining 1122 whether and / or how to mark as unavailable one or more reference samples of a reference region of the video picture used to predict the current video region for a conversion between a current video region of a video picture of a video including a luma block and corresponding one or more chroma blocks and a coded representation of the video based on a rule independent of a position of the one or more chroma blocks; a step 1124 of performing the conversion based on the determination; The method according to claim 1,
[0204] (Appendix 8) The rule provides for marking the one or more corresponding samples in the reference region as unavailable only if the luma block is a first block in a current virtual pipeline data unit (VPDU). The method described in Appendix 7.
[0205] (Appendix 9) the rules provide that the one or more reference samples of the reference region are not allowed to be reset or marked as unavailable when processing the one or more chroma blocks during the transformation. The method described in Appendix 7.
[0206] (Appendix 10) 1. A method of video processing (e.g., method 1130 shown in FIG. 11C), comprising: determining 1132 whether and / or how to mark one or more reference samples of a reference region of the video picture used to predict the current video block for a conversion between a current video block of a video picture of a video and a coded representation of the video based on rules that depend on a position of a most recently processed virtual pipeline data unit (VPDU) and a size of the VPDU; a step 1134 of performing the conversion based on the determination; The method according to claim 1,
[0207] (Appendix 11) The rules specify whether and / or how to mark the one or more reference samples of the reference region as unavailable, depending on a position of a most recently decoded VPDU within a brick, slice, tile, or picture of the video. 11. The method according to claim 10.
[0208] (Appendix 12) The rules specify whether and / or how to mark the one or more reference samples of the reference region as unavailable, depending on a position of a most recently decoded VPDU within a coding tree unit (CTU) row of the video brick, slice, tile, or picture. 11. The method according to claim 10.
[0209] (Appendix 13) the rule provides that the one or more reference samples of the reference region to be marked are determined independently of a position of the current video block. 11. The method according to claim 10.
[0210] (Appendix 14) 1. A method of video processing (e.g., method 1140 shown in FIG. 11D), comprising: determining 1142 constraints on block vectors used to predict the current video block according to rules for a transformation between a current video block of a video picture of a video and a coded representation of the video; a step 1144 of performing the conversion based on the determination; having the block vector indicates a displacement between the current video block and a reference region within the video picture used to predictively code the current video block; The rule specifies that the block vector is not allowed to cross a coding tree unit (CTU) row of the video picture. method.
[0211] (Appendix 15) The rule further specifies that the block vectors from other CTU rows different from the CTU row are not applied for prediction of the current video block. 15. The method according to claim 14.
[0212] (Appendix 16) 1. A method of video processing (e.g., method 1150 shown in FIG. 11E), comprising: determining 1152 whether to apply a deblocking filter to at least some samples of an edge of the current video block along with other blocks across a coding tree unit (CTU) row of the video picture for conversion between a current video block of a video picture of a video and a coded representation of the video based on a rule; a step 1154 of performing the conversion based on the determination; having the current video block is coded using an intra block copy (IBC) mode in which a prediction of the current video block is derived based on sample values from a video slice of the current video block. method.
[0213] (Appendix 17) the rule specifies that use of the IBC mode to code the current video block causes the decision to be independent of the motion vectors corresponding to the other blocks and / or the coding modes of the other blocks. 17. The method according to claim 16.
[0214] (Appendix 18) The rule is that the deblocking boundary strength is 1) if the current video block and the other block are blocks of different CTU rows; and 2) if the other video block is coded in the IBC mode or inter mode, Specifies that it is always set to 1. 18. The method according to claim 17.
[0215] (Appendix 19) The rule is that the deblocking boundary strength is 1) if the current video block and the other block are blocks of different CTU rows; and 2) if the other video block is coded in the IBC mode or inter mode, Specifies that it is always set to 0. 18. The method according to claim 17.
[0216] (Appendix 20) the rule specifies that the determination is independent of whether the other block is coded using the IBC mode or an Inter mode. 17. The method according to claim 16.
[0217] (Appendix 21) The rule is that the deblocking boundary strength is 1) if the current video block and the other block are blocks of different CTU rows; and 2) if the other video block is not coded in inter mode, Specifies that it is always set to 1. 21. The method according to claim 20.
[0218] (Appendix 22) 1. A method of video processing (e.g., method 1160 shown in FIG. 11F), comprising: determining 1162 applicability of sub-picture prediction for a conversion between a current video block of a video picture of a video and a coded representation of the video, using at least one of a first sub-picture or a second sub-picture of the video picture according to a rule to generate a predictive block for the current video block; a step 1164 of performing the conversion based on the determination; The method according to claim 1,
[0219] (Appendix 23) the rule specifies that it is permitted to use information from the second sub-picture of the video if the boundaries of the first sub-picture coincide with the boundaries of the video picture; 23. The method according to claim 22.
[0220] (Appendix 24) the border of the first sub-picture is the left or right border of the first sub-picture; 24. The method according to claim 23.
[0221] (Appendix 25) the border of the video picture is a left or right border of the video picture. 24. The method according to claim 23.
[0222] (Appendix 26) a left or right boundary of the second sub-picture coincides with a left or right boundary of the video picture. 25. The method according to claim 24.
[0223] (Appendix 27) The rule specifies that the sub-picture prediction is applied only if picture wrapping is allowed. 23. The method according to claim 22.
[0224] (Appendix 28) the coded representation includes a syntax element sps_ref_wraparound_enabled_flag equal to 1; 28. The method according to claim 27.
[0225] (Appendix 29) the rules further define that picture wrapping excludes the first sub-picture and the second sub-picture. 23. The method according to claim 22.
[0226] (Appendix 30) the rules further define that when the picture wrapping is enabled, the first sub-picture and the second sub-picture are not used. 29. The method according to claim 29.
[0227] (Appendix 31) the rule further defines that picture wrapping is enabled if at least one of the first sub-picture or the second sub-picture is used. 23. The method according to claim 22.
[0228] (Appendix 32) The rules further provide that the picture wrapping is enabled if at least one of the first sub-picture or the second sub-picture has a boundary that coincides with a boundary of the video picture. 32. The method according to claim 31 .
[0229] (Appendix 33) 1. A method of video processing (e.g., method 1170 shown in FIG. 11G), comprising: performing 1172 a conversion between the current video block of chrominance components of a video and a coded representation of the video according to rules; The rule specifies that a minimum index of a chroma quantization parameter (QP) table used in the transform is independent of a bit depth of samples of the chroma components. method.
[0230] (Appendix 34) the rule defines that the minimum index of the chroma QP table depends on a bit depth of samples of a luma component of the video. 34. The method according to claim 33.
[0231] (Appendix 35) The rule is that the minimum index of the chroma QP table is equal to the value of 6*bit_depth_luma_minus8. Y where bit_depth_luma_minus8 indicates the bit depth of the luma array samples, BitDepthY. 34. The method according to claim 33.
[0232] (Appendix 36) said converting including encoding said video into said coded representation; 36. The method of any one of claims 1 to 35.
[0233] (Appendix 37) the converting includes decoding the coded representation to generate the video. 36. The method of any one of claims 1 to 35.
[0234] (Appendix 38) 38. A video processing device having a processor configured to implement a method according to any one or more of claims 1 to 37.
[0235] (Appendix 39) A computer readable medium storing program code that, when executed, causes a processor to implement a method according to any one or more of claims 1 to 37.
[0236] (Appendix 40) 38. A computer-readable medium storing a coded or bitstream representation generated according to the method of any one of claims 1 to 37.
[0237] From the foregoing, it will be understood that specific embodiments of the presently disclosed technology have been described herein for purposes of illustration, and that various modifications may be made without departing from the scope of the invention. Accordingly, the presently disclosed technology is not limited, except as by the appended claims.
[0238] Implementations of the subject matter and functional operations described herein can be implemented in various systems, in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed herein and their structural equivalents, or in one or more combinations thereof. Implementations of the subject matter described herein can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a tangible and non-transitory computer-readable medium for execution by or to control the operation of a data processing apparatus. The computer-readable medium can be a machine-readable storage device, a machine-readable storage carrier, a memory device, a composition that provides a machine-readable propagated signal, or one or more combinations thereof. The term "data processing unit" or "data processing apparatus" encompasses all apparatus, devices, and machines that process data, including, by way of example, a programmable processor, a computer, or multiple processors or computers. An apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, such as code that constitutes a processor firmware, a protocol stack, a database management system, an operating system, or one or more combinations thereof.
[0239] 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 single file dedicated to the program in question, or in multiple coordinated files (e.g., a file storing one or more modules, subprograms, or portions of code), in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document). 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.
[0240] 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 operating on input data and generating output. The processes and logic flows may also be performed by, and an apparatus may be implemented as, special purpose logic circuitry, such as a field programmable gate array (FPGA) or application specific integrated circuit (ASIC).
[0241] Processors suitable for executing computer programs include, by way of example, both general purpose and special purpose microprocessors, as well as any one or more processors of any kind of digital computer. Generally, a processor will read 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. Generally, a computer will also include one or more mass storage devices, e.g., magnetic, magnetic optical disks, or optical disks, for storing data, or be operatively coupled to receive data from or transfer data to, or both, such one or more mass storage devices. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include, by way of example, all types of non-volatile memory, media, and memory devices, including semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices. The processor and memory may be augmented by, or incorporated in, dedicated logic circuitry.
[0242] It is intended that the specification, together with the drawings, be regarded merely as illustrative, and by illustrative I mean illustrative. As used herein, the use of "or" is intended to include "and / or" unless the context clearly indicates otherwise.
[0243] Although the present specification contains numerous details, they should not be construed as limitations on the scope of any subject matter or what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of a particular technology. Certain features described herein in the context of separate embodiments may also be implemented in combination with a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented in multiple embodiments separately or in any suitable subcombination. Furthermore, although features may be described above as operating in a particular combination and even initially claimed as such, one or more features from a claimed combination may in some cases be deleted from the combination, and the claimed combination may be directed to a subcombination or a variation of the subcombination.
[0244] Similarly, although operations may be depicted in the figures in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown, or in a sequential order, or that all of the depicted operations be performed, to achieve desired results. Further, the separation of various system components in the embodiments described herein should not be understood as requiring such separation in all embodiments.
[0245] Only a few implementations and examples have been described; other implementations, enhancements and variations can be made based on what is described and illustrated in this patent document.
[0246] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application is a divisional application of International Patent Application No. PCT / CN2020 / 116959 filed on September 23, 2020, claiming priority to and the benefit of International Patent Application No. PCT / CN2019 / 107380 filed on September 23, 2019. All of the above applications are incorporated herein by reference in their entirety.
Claims
1. 1. A method for processing video data, comprising the steps of: determining that a prediction mode is to be applied to derive predictive samples of a current video block of a video picture of a video for conversion between the current video block and a bitstream of the video; maintaining a virtual buffer containing one or more reference samples derived from reconstructed blocks of the video picture for the prediction mode; performing said conversion based on said determination; having In the prediction mode, reference samples determined by block vectors in the virtual buffer are used for deriving the prediction samples; When the virtual buffer is a luma buffer, unavailable reference sample marking is applied to the virtual buffer; In the marking of the unavailable reference samples, the set of reference samples in the virtual buffer are marked as unavailable, and the position of the unavailable reference samples in the virtual buffer is determined based on a position of the current video block; when the virtual buffer is a chroma buffer, the marking of the unavailable reference samples is not applied to the virtual buffer; method.
2. when the current video block is a first luma block in a virtual unit and the virtual buffer is the luma buffer, the reference samples in the virtual buffer corresponding to the virtual unit are marked as unavailable. The method of claim 1.
3. when a size of a virtual unit is greater than or equal to a width of the current video block and greater than or equal to a height of the current video block and the virtual buffer is the luma buffer, the reference samples in the virtual buffer corresponding to the virtual unit are marked as unavailable; the size of the virtual unit is equal to min(ctbSize, 64), where ctbSize represents a width or height of a coding tree block of the video picture; The method of claim 1.
4. when a size of a virtual unit is smaller than a width of the current video block and smaller than a height of the current video block and the virtual buffer is the luma buffer, the reference sample in the virtual buffer corresponding to the current video block is marked as unavailable; the size of the virtual unit is equal to min(ctbSize, 64), where ctbSize represents a width or height of a coding tree block of the video picture; The method of claim 1.
5. a variable is set to indicate resetting the virtual buffer, and when the virtual buffer is the luma buffer, the virtual buffer is reset; When the virtual buffer is a chroma buffer, the virtual buffer is not allowed to be reset. The method of claim 1.
6. When the virtual buffer is reset, the reference sample in the virtual buffer is reset to be −1. The method according to claim 5.
7. The unavailable reference sample has a value of −1. The method of claim 1.
8. the transforming includes encoding the current video block into the bitstream. The method of claim 1.
9. the converting includes decoding the current video block from the bitstream. The method of claim 1.
10. 1. An apparatus for processing video data, comprising: a processor and a non-transitory memory having instructions; The instructions, when executed by the processor, cause the processor to: determining that a prediction mode is to be applied to derive predictive samples of a current video block of a video picture of a video for conversion between the current video block and a bitstream of the video; maintaining a virtual buffer containing one or more reference samples derived from reconstructed blocks of the video picture for the prediction mode; performing said conversion based on said determination; Run the command, In the prediction mode, reference samples determined by block vectors in the virtual buffer are used for deriving the prediction samples; when the virtual buffer is a luma buffer, unavailable reference sample marking is applied to the virtual buffer; In the marking of the unavailable reference samples, the set of reference samples in the virtual buffer are marked as unavailable, and the position of the unavailable reference samples in the virtual buffer is determined based on a position of the current video block; when the virtual buffer is a chroma buffer, the marking of the unavailable reference samples is not applied to the virtual buffer; Device.
11. The processor: determining that a prediction mode is to be applied to derive predictive samples of a current video block of a video picture of a video for conversion between the current video block and a bitstream of the video; maintaining a virtual buffer containing one or more reference samples derived from reconstructed blocks of the video picture for the prediction mode; performing said conversion based on said determination; Run the command, In the prediction mode, reference samples determined by block vectors in the virtual buffer are used for deriving the prediction samples; when the virtual buffer is a luma buffer, unavailable reference sample marking is applied to the virtual buffer; In the marking of the unavailable reference samples, the set of reference samples in the virtual buffer are marked as unavailable, and the position of the unavailable reference samples in the virtual buffer is determined based on a position of the current video block; when the virtual buffer is a chroma buffer, the marking of the unavailable reference samples is not applied to the virtual buffer; A non-transitory computer-readable storage medium having instructions stored thereon.
12. A method for storing a bitstream of video, comprising the steps of: determining a prediction mode to be applied to derive a prediction sample for a current video block of a video picture of a video; maintaining a virtual buffer containing one or more reference samples derived from reconstructed blocks of the video picture for the prediction mode; generating the bitstream based on the determination; storing the bitstream on a non-transitory computer-readable recording medium; having In the prediction mode, reference samples determined by block vectors in the virtual buffer are used for deriving the prediction samples; when the virtual buffer is a luma buffer, unavailable reference sample marking is applied to the virtual buffer; In the marking of the unavailable reference samples, the set of reference samples in the virtual buffer are marked as unavailable, and the position of the unavailable reference samples in the virtual buffer is determined based on a position of the current video block; when the virtual buffer is a chroma buffer, the marking of the unavailable reference samples is not applied to the virtual buffer; method.
Citation Information
Cited By
Setting intra-block copy virtual buffer based on virtual pipeline data unit
US12323583B2
Size restriction for intra-block copy virtual buffer
US12382016B2
Intra block copy buffer and palette predictor update
US12470701B2
