Processing

Please wait...

Settings

Settings

Goto Application

1. WO2020108649 - INTERACTION BETWEEN INTRA BLOCK COPY MODE AND INTER PREDICTION TOOLS

Document

Description

Title of Invention 0001   0002   0003   0004   0005   0006   0007   0008   0009   0010   0011   0012   0013   0014   0015   0016   0017   0018   0019   0020   0021   0022   0023   0024   0025   0026   0027   0028   0029   0030   0031   0032   0033   0034   0035   0036   0037   0038   0039   0040   0041   0042   0043   0044   0045   0046   0047   0048   0049   0050   0051   0052   0053   0054   0055   0056   0057   0058   0059   0060   0061   0062   0063   0064   0065   0066   0067   0068   0069   0070   0071   0072   0073   0074   0075   0076   0077   0078   0079   0080   0081   0082   0083   0084   0085   0086   0087   0088   0089   0090   0091   0092   0093   0094   0095   0096   0097   0098   0099   0100   0101   0102   0103   0104   0105   0106   0107   0108   0109   0110   0111   0112   0113   0114   0115   0116   0117   0118   0119   0120   0121   0122   0123   0124   0125   0126   0127   0128   0129   0130   0131   0132   0133   0134   0135   0136   0137   0138   0139   0140   0141   0142   0143   0144   0145   0146   0147   0148   0149   0150   0151   0152   0153   0154   0155   0156   0157   0158   0159   0160   0161   0162   0163   0164   0165   0166   0167   0168   0169   0170   0171   0172   0173   0174   0175   0176   0177   0178   0179   0180   0181   0182   0183   0184   0185   0186   0187   0188   0189   0190   0191   0192   0193   0194   0195   0196   0197   0198   0199   0200   0201   0202   0203   0204   0205   0206   0207   0208   0209   0210   0211   0212   0213   0214   0215   0216   0217   0218   0219   0220   0221   0222   0223   0224   0225   0226   0227   0228   0229   0230   0231   0232   0233   0234   0235   0236   0237   0238   0239   0240   0241   0242   0243   0244   0245   0246   0247   0248   0249   0250   0251   0252   0253   0254   0255   0256   0257   0258   0259   0260   0261   0262   0263   0264   0265   0266   0267   0268   0269   0270   0271   0272   0273   0274   0275   0276   0277   0278   0279   0280   0281   0282   0283   0284   0285   0286   0287   0288   0289   0290   0291   0292   0293   0294   0295   0296   0297   0298   0299   0300   0301   0302   0303   0304   0305   0306   0307   0308   0309   0310   0311   0312   0313   0314   0315   0316   0317   0318   0319   0320   0321   0322   0323   0324   0325   0326   0327   0328   0329   0330   0331   0332   0333   0334   0335   0336   0337   0338   0339   0340   0341   0342   0343   0344   0345   0346   0347   0348   0349   0350   0351   0352   0353   0354   0355   0356   0357   0358   0359   0360   0361   0362   0363   0364   0365   0366   0367   0368   0369   0370   0371   0372   0373   0374   0375   0376   0377   0378   0379   0380   0381   0382   0383   0384   0385   0386   0387   0388   0389   0390   0391   0392   0393   0394   0395   0396   0397   0398   0399   0400   0401   0402   0403   0404   0405   0406   0407   0408   0409   0410   0411   0412   0413   0414   0415   0416   0417   0418   0419   0420   0421   0422   0423   0424   0425   0426   0427   0428   0429   0430   0431   0432   0433   0434   0435   0436   0437   0438   0439   0440   0441   0442   0443   0444   0445   0446   0447   0448   0449   0450   0451   0452   0453   0454   0455   0456   0457   0458   0459   0460   0461   0462   0463   0464   0465   0466   0467   0468   0469   0470   0471   0472   0473   0474   0475   0476   0477   0478   0479   0480   0481   0482   0483   0484   0485   0486   0487   0488   0489   0490   0491   0492   0493   0494   0495   0496   0497   0498   0499   0500   0501   0502   0503   0504   0505   0506   0507   0508   0509   0510   0511   0512   0513   0514   0515   0516   0517   0518   0519   0520   0521   0522   0523   0524   0525   0526   0527   0528   0529   0530   0531   0532   0533   0534   0535   0536   0537   0538   0539   0540   0541   0542   0543   0544   0545   0546   0547   0548   0549   0550   0551   0552   0553   0554   0555   0556   0557   0558   0559   0560   0561   0562   0563   0564   0565   0566   0567   0568   0569   0570   0571   0572   0573   0574   0575   0576   0577   0578   0579   0580   0581   0582   0583   0584   0585   0586  

Claims

1   2   3   4   5   6   7   8   9   10   11   12   13   14   15   16   17   18   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   40   41   42   43   44   45   46   47   48   49   50   51   52   53   54   55   56   57   58   59   60   61   62   63   64   65   66   67   68  

Drawings

1   2   3   4A   4B   5   6   7   8   9   10   11   12   13A   13B   14   15A   15B   16   17   18A   18B   19   20   21   22   23   24   25   26   27   28   29   30   31   32   33   34   35   36   37   38   39   40  

Description

Title of Invention : INTERACTION BETWEEN INTRA BLOCK COPY MODE AND INTER PREDICTION TOOLS

[0001]
CROSS REFERENCE
[0002]
The present application claims the priority to and benefits of International Patent Application No. PCT/CN2018/118167, filed on November 29, 2018. The entire disclosure of International Patent Application No. PCT/CN2018/118167 is incorporated by reference as part of the disclosure of this application.

TECHNICAL FIELD

[0003]
This patent document relates to video coding techniques, devices and systems.

BACKGROUND

[0004]
In spite of the advances in video compression, digital video still accounts for the largest bandwidth use on the internet and other digital communication networks. As the number of connected user devices capable of receiving and displaying video increases, it is expected that the bandwidth demand for digital video usage will continue to grow.
[0005]
SUMMARY
[0006]
Devices, systems and methods related to digital video coding, and specifically, to motion vector derivation and signaling for Intra-Block-Copy (IBC) in video and image coding are described. The described methods may be applied to both the existing video coding standards (e.g., High Efficiency Video Coding (HEVC) ) and future video coding standards or video codecs.
[0007]
In one representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes determining that an Intra-Block-Copy (IBC) mode is applied to a current video block of a video, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current video block is located in; making a decision regarding a disabling of a specific coding mode for the current block; performing, based on the decision, a conversion between the current video block and the bitstream representation, wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of a video block.
[0008]
In another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes determining that a current video block is coded using a specific coding mode; making a decision regarding disabling of an Intra-Block-Copy (IBC) mode for the current block based on the determination, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current block is located in; performing, based on the decision, a conversion between the current block and the bitstream representation, wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of the current block.
[0009]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes determining an affine mode of a current video block, wherein whether the current video block inherits an affine mode from a neighbouring block depends on a reference list; performing a conversion between a current video block of a video and a bitstream representation of the video consistent based on the determination.
[0010]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes performing a conversion between a current video block of a video and a bitstream representation of the video consistent, wherein during the conversion an Intra-Block-Copy (IBC) mode and a merge with motion vector difference (MMVD) mode are used, and wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the MMVD mode, a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[0011]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes performing a conversion between a current video block of a video and a bitstream representation of the video, wherein during the conversion an Intra-Block-Copy (IBC) mode and an inter-intra prediction mode are used, and wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the inter-intra prediction mode, prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[0012]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes determining, during a conversion between a current video block and a bitstream representation of the current video block, decoded information of at least one coding method different from an IBC mode, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in; determining, based on the decoded information, whether to skip signaling of an IBC flag for the current video block in a bitstream representation of the current video block, wherein the IBC flag relates with the IB mode; and performing the conversion based on the determining.
[0013]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes during a conversion between a current video block and a bitstream representation of the current video block, wherein the current video block comprises a luma component that is coded using a first coding structure tree and a chroma component that is coded using a second coding structure tree different from the first coding structure tree, deriving first motion vector information for a chroma block from second motion vector information of one or more corresponding blocks of the luma component of the current video block; performing the conversion based on the first motion vector information and the second vector information.
[0014]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes determining whether an Intra Block Copy (IBC) mode, in which at least one reference picture used by the current video block is identical to a picture in which the current video block is located , is applied for the current video block; signaling whether the IBC mode is applied for the current video block; refraining from signaling flags for a group of prediction modes based on determining that the IBC mode is applied for the current video block; and performing the conversion for the current video block based on the application of the IBC mode.
[0015]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes parsing a bitstream to determining whether an Intra Block Copy (IBC) mode, in which at least one reference picture used by the current video block is identical to a picture in which the current video block is located, is applied for the current video block; performing the conversion for the current video block based on the application of the IBC mode, wherein flags for a group of prediction modes are excluded from the bitstream based on determining that the CPR is applied for the current video block.
[0016]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes in a process of acquiring motion information of a current video block, during a conversion between the current video block and a bitstream representation of the current video block, wherein the motion information of the current video block is based on at least one affine model of at least one neighboring block of the current video block; determining whether a neighboring block of the current video block uses an Intra-Block Copy (IBC) mode in which at least one reference picture used by the neighboring video block is identical to a picture in which the neighboring block is located; disabling, for the current video block, to derive an affine candidate from the neighboring block based on determining that the neighbouring block uses the IBC mode; and performing the conversion based on the motion information of the current video block.
[0017]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes splitting a current video block into sub-blocks, during a conversion between a current video block and a bitstream representation of the current video block based on subblock-based temporal motion vector prediction (SbTMVP) mode; identifying, based on motion information of a spatial neighboring block of the current video block, a corresponding block, for a sub-block, in a motion source picture with a temporal vector; generating, based on coded mode information of the corresponding block, a motion vector and a reference index of the sub-block from the corresponding block of the sub-block; performing the conversion based on the generated motion vector and reference index.
[0018]
In yet another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes splitting a current video block into sub-blocks, during a conversion between a current video block and a bitstream representation of the current video block based on subblock-based temporal motion vector prediction (SbTMVP) mode; identifying, based on coded mode information of a spatial neighboring block of the current video block, a corresponding block, for a sub-block, in a motion source picture with a temporal vector; generating a motion vector and a reference index of the sub-block from the corresponding block of the sub-block; performing the conversion based on the generated motion vector and reference index.
[0019]
In yet another representative aspect, the above-described method is embodied in the form of processor-executable code and stored in a computer-readable program medium.
[0020]
In yet another representative aspect, a device that is configured or operable to perform the above-described method is disclosed. The device may include a processor that is programmed to implement this method.
[0021]
In yet another representative aspect, a video decoder apparatus may implement a method as described herein.
[0022]
The above and other aspects and features of the disclosed technology are described in greater detail in the drawings, the description and the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

[0023]
FIG. 1 shows an example of constructing a merge candidate list.
[0024]
FIG. 2 shows an example of positions of spatial candidates.
[0025]
FIG. 3 shows an example of candidate pairs subject to a redundancy check of spatial merge candidates.
[0026]
FIGS. 4A and 4B show examples of the position of a second prediction unit (PU) based on the size and shape of the current block.
[0027]
FIG. 5 shows an example of motion vector scaling for temporal merge candidates.
[0028]
FIG. 6 shows an example of candidate positions for temporal merge candidates.
[0029]
FIG. 7 shows an example of generating a combined bi-predictive merge candidate.
[0030]
FIG. 8 shows an example of constructing motion vector prediction candidates.
[0031]
FIG. 9 shows an example of motion vector scaling for spatial motion vector candidates.
[0032]
FIG. 10 shows an example of motion prediction using the alternative temporal motion vector prediction (ATMVP) algorithm for a coding unit (CU) .
[0033]
FIG. 11 shows an example of a coding unit (CU) with sub-blocks and neighboring blocks used by the spatial-temporal motion vector prediction (STMVP) algorithm.
[0034]
FIG. 12 shows an example flowchart for encoding with different MV precisions.
[0035]
FIGS. 13A and 13B show examples of the simplified 4-parameter affine model and the simplified 6-parameter affine model, respectively.
[0036]
FIG. 14 shows an example of an affine motion vector field (MVF) per sub-block.
[0037]
FIGS. 15A and 15B show examples of the 4-parameter and 6-parameter affine models, respectively.
[0038]
FIG. 16 shows an example of motion vector prediction for AF_INTER for inherited affine candidates.
[0039]
FIG. 17 shows an example of motion vector prediction for AF_INTER for constructed affine candidates.
[0040]
FIGS. 18A and 18B show example candidates for the AF_MERGE affine motion mode.
[0041]
FIG. 19 shows an example of candidate positions for affine merge mode.
[0042]
FIG. 20 shows an example of intra-picture block copy.
[0043]
FIG. 21 shows an example of a valid corresponding region in a collocated picture.
[0044]
FIG. 22 shows an example of the coding flow for history-based motion vector prediction (HMVP) candidates.
[0045]
FIG. 23 shows an example of a modified merge list construction process.
[0046]
FIG. 24 shows a flowchart of an example method for video processing.
[0047]
FIG. 25 shows a flowchart of another example method for video processing.
[0048]
FIG. 26 shows a flowchart of yet another example method for video processing.
[0049]
FIG. 27 shows a flowchart of yet another example method for video processing.
[0050]
FIG. 28 is a block diagram of an example of a hardware platform for implementing a visual media decoding or a visual media encoding technique described in the present document.
[0051]
FIG. 29 shows a flowchart of yet another example method for video processing.
[0052]
FIG. 30 shows a flowchart of yet another example method for video processing.
[0053]
FIG. 31 shows a flowchart of yet another example method for video processing.
[0054]
FIG. 32 shows a flowchart of yet another example method for video processing.
[0055]
FIG. 33 shows a flowchart of yet another example method for video processing.
[0056]
FIG. 34 shows a flowchart of yet another example method for video processing.
[0057]
FIG. 35 shows a flowchart of yet another example method for video processing.
[0058]
FIG. 36 shows a flowchart of yet another example method for video processing.
[0059]
FIG. 37 shows a flowchart of yet another example method for video processing.
[0060]
FIG. 38 shows a flowchart of yet another example method for video processing.
[0061]
FIG. 39 shows a flowchart of yet another example method for video processing.
[0062]
FIG. 40 shows a flowchart of yet another example method for video processing.

DETAILED DESCRIPTION

[0063]
Due to the increasing demand of higher resolution video, video coding methods and techniques are ubiquitous in modern technology. Video codecs typically include an electronic circuit or software that compresses or decompresses digital video, and are continually being improved to provide higher coding efficiency. A video codec converts uncompressed video to a compressed format or vice versa. There are complex relationships between the video quality, the amount of data used to represent the video (determined by the bit rate) , the complexity of the encoding and decoding algorithms, sensitivity to data losses and errors, ease of editing, random access, and end-to-end delay (latency) . The compressed format usually conforms to a standard video compression specification, e.g., the High Efficiency Video Coding (HEVC) standard (also known as H. 265 or MPEG-H Part 2) , the Versatile Video Coding standard to be finalized, or other current and/or future video coding standards.
[0064]
Embodiments of the disclosed technology may be applied to existing video coding standards (e.g., HEVC, H. 265) and future standards to improve compression performance. Section headings are used in the present document to improve readability of the description and do not in any way limit the discussion or the embodiments (and/or implementations) to the respective sections only.
[0065]
In the present document, the term “video processing” may refer to video encoding, video decoding, video compression or video decompression. For example, video compression algorithms may be applied during conversion from pixel representation of a video to a corresponding bitstream representation or vice versa.
[0066]
1 Examples of inter-prediction in HEVC/H. 265
[0067]
Video coding standards have significantly improved over the years, and now provide, in part, high coding efficiency and support for higher resolutions. Recent standards such as HEVC and H. 265 are based on the hybrid video coding structure wherein temporal prediction plus transform coding are utilized.
[0068]
1.1 Examples of prediction modes
[0069]
Each inter-predictedPU (prediction unit) has motion parameters for one or two reference picture lists. In some embodiments, motion parameters include a motion vector and a reference picture index. In other embodiments, the usage of one of the two reference picture lists may also be signaled using inter_pred_idc. In yet other embodiments, motion vectors may be explicitly coded as deltas relative to predictors.
[0070]
When a CU is coded with skip mode, one PU is associated with the CU, and there are no significant residual coefficients, no coded motion vector delta or reference picture index. A merge mode is specified whereby the motion parameters for the current PU are obtained from neighboring PUs, including spatial and temporal candidates. The merge mode can be applied to any inter-predicted PU, not only for skip mode. The alternative to merge mode is the explicit transmission of motion parameters, where motion vector, corresponding reference picture index for each reference picture list and reference picture list usage are signaled explicitly per each PU.
[0071]
When signaling indicates that one of the two reference picture lists is to be used, the PU is produced from one block of samples. This is referred to as ‘uni-prediction’ . Uni-prediction is available both for P-slices and B-slices.
[0072]
When signaling indicates that both of the reference picture lists are to be used, the PU is produced from two blocks of samples. This is referred to as ‘bi-prediction’ . Bi-prediction is available for B-slices only.
[0073]
Reference picture list
[0074]
In HEVC, the term inter prediction is used to denote prediction derived from data elements (e.g., sample values or motion vectors) of reference pictures other than the current decoded picture. Like in H. 264/AVC, a picture can be predicted from multiple reference pictures. The reference pictures that are used for inter prediction are organized in one or more reference picture lists. The reference picture index identifies which of the reference pictures in the list should be used for creating the prediction signal.
[0075]
A single reference picture list, List 0, is used for a P slice and two reference picture lists, List 0 and List 1 are used for B slices. It should be noted reference pictures included in List 0/1 could be from past and future pictures in terms of capturing/display order.
[0076]
1.1.1 Embodiments of constructing candidates for merge mode
[0077]
When a PU is predicted using merge mode, an index pointing to an entry in the merge candidates list is parsed from the bitstream and used to retrieve the motion information. The construction of this list can be summarized according to the following sequence of steps:
[0078]
Step 1: Initial candidates derivation
[0079]
Step 1.1: Spatial candidates derivation
[0080]
Step 1.2: Redundancy check for spatial candidates
[0081]
Step 1.3: Temporal candidates derivation
[0082]
Step 2: Additional candidates insertion
[0083]
Step 2.1: Creation of bi-predictive candidates
[0084]
Step 2.2: Insertion of zero motion candidates
[0085]
FIG. 1 shows an example of constructing a merge candidate list based on the sequence of steps summarized above. For spatial merge candidate derivation, a maximum of four merge candidates are selected among candidates that are located in five different positions. For temporal merge candidate derivation, a maximum of one merge candidate is selected among two candidates. Since constant number of candidates for each PU is assumed at decoder, additional candidates are generated when the number of candidates does not reach to maximum number of merge candidate (MaxNumMergeCand) which is signaled in slice header. Since the number of candidates is constant, index of best merge candidate is encoded using truncated unary binarization (TU) . If the size of CU is equal to 8, all the PUs of the current CU share a single merge candidate list, which is identical to the merge candidate list of the 2N×2N prediction unit.
[0086]
1.1.2 Constructing spatial merge candidates
[0087]
In the derivation of spatial merge candidates, a maximum of four merge candidates are selected among candidates located in the positions depicted in FIG. 2. The order of derivation is A 1, B 1, B 0, A 0 and B 2. Position B 2 is considered onlywhen any PU of position A 1, B 1, B 0, A 0 is not available (e.g. because it belongs to another slice or tile) or is intra coded. After candidate at position A 1 is added, the addition of the remaining candidates is subject to a redundancy check which ensures that candidates with same motion information are excluded from the list so that coding efficiency is improved.
[0088]
To reduce computational complexity, not all possible candidate pairs are considered in the mentioned redundancy check. Instead only the pairs linked with an arrow in FIG. 3 are considered and a candidate is only added to the list if the corresponding candidate used for redundancy check has not the same motion information. Another source of duplicate motion information is the “second PU” associated with partitions different from 2Nx2N. As an example, FIG. 4A and 4B depict the second PU for the case of N×2N and 2N×N, respectively. When the current PU is partitioned as N×2N, candidate at position A 1 is not considered for list construction. In some embodiments, adding this candidate may lead to two prediction units having the same motion information, which is redundant to just have one PU in a coding unit. Similarly, position B 1 is not considered when the current PU is partitioned as 2N×N.
[0089]
1.1.3 Constructing temporal merge candidates
[0090]
In this step, only one candidate is added to the list. Particularly, in the derivation of this temporal merge candidate, a scaled motion vector is derived based on co-located PU belonging to the picture which has the smallest POC difference with current picture within the given reference picture list. The reference picture list to be used for derivation of the co-located PU is explicitly signaled in the slice header.
[0091]
FIG. 5 shows an example of the derivation of the scaled motion vector for a temporal merge candidate (as the dotted line) , which is scaled from the motion vector of the co-located PU using the POC distances, tb and td, where tb is defined to be the POC difference between the reference picture of the current picture and the current picture and td is defined to be the POC difference between the reference picture of the co-located picture and the co-located picture. The reference picture index of temporal merge candidate is set equal to zero. For a B-slice, two motion vectors, one is for reference picture list 0 and the other is for reference picture list 1, are obtained and combined to make the bi-predictive merge candidate.
[0092]
In the co-located PU (Y) belonging to the reference frame, the position for the temporal candidate is selected between candidates C 0 and C 1, as depicted in FIG. 6. If PU at position C 0 is not available, is intra coded, or is outside of the current CTU, position C 1 is used. Otherwise, position C 0 is used in the derivation of the temporal merge candidate.
[0093]
1.1.4 Constructing additional types of merge candidates
[0094]
Besides spatio-temporal merge candidates, there are two additional types of merge candidates: combined bi-predictive merge candidate and zero merge candidate. Combined bi-predictive merge candidates are generated by utilizing spatio-temporal merge candidates. Combined bi-predictive merge candidate is used for B-Slice only. The combined bi-predictive candidates are generated by combining the first reference picture list motion parameters of an initial candidate with the second reference picture list motion parameters of another. If these two tuples provide different motion hypotheses, they will form a new bi-predictive candidate.
[0095]
FIG. 7 shows an example of this process, wherein two candidates in the original list (710, on the left) , which have mvL0 and refIdxL0 or mvL1 and refIdxL1, are used to create a combined bi-predictive merge candidate added to the final list (720, on the right) .
[0096]
Zero motion candidates are inserted to fill the remaining entries in the merge candidates list and therefore hit the MaxNumMergeCand capacity. These candidates have zero spatial displacement and a reference picture index which starts from zero and increases every time a new zero motion candidate is added to the list. The number of reference frames used by these candidates is one and two for uni-and bi-directional prediction, respectively. In some embodiments, no redundancy check is performed on these candidates.
[0097]
In some embodiments, the following steps are performed in order till the merge list is full:
[0098]
(1) Set variable numRef to either number of reference picture associated with list 0 for P slice, or the minimum number of reference pictures in two lists for B slice;
[0099]
(2) Add non-repeated zero motion candidates:
[0100]
For variable i being 0…numRef-1, add a default motion candidate with MV set to (0, 0) and reference picture index set to i for list 0 (if P slice) , or for both lists (if B slice) .
[0101]
(3) Add repeated zero motion candidates with MV set to (0, 0) , reference picture index of list 0 set to 0 (if P slice) and reference picture indices of both lists set to 0 (if B slice) .
[0102]
1.2 Embodiments of advanced motion vector prediction (AMVP)
[0103]
AMVP exploits spatio-temporal correlation of motion vector with neighboring PUs, which is used for explicit transmission of motion parameters. It constructs a motion vector candidate list by firstly checking availability of left, above temporally neighboring PU positions, removing redundant candidates and adding zero vector to make the candidate list to be constant length. Then, the encoder can select the best predictor from the candidate list and transmit the corresponding index indicating the chosen candidate. Similarly with merge index signaling, the index of the best motion vector candidate is encoded using truncated unary. The maximum value to be encoded in this case is 2 (see FIG. 8) . In the following sections, details about derivation process of motion vector prediction candidate are provided.
[0104]
1.2.1 Examples of deriving AMVP candidates
[0105]
FIG. 8 summarizes derivation process for motion vector prediction candidate, and may be implemented for each reference picture list with refidx as an input.
[0106]
In motion vector prediction, two types of motion vector candidates are considered: spatial motion vector candidate and temporal motion vector candidate. For spatial motion vector candidate derivation, two motion vector candidates are eventually derived based on motion vectors of each PU located in five different positions as previously shown in FIG. 2.
[0107]
For temporal motion vector candidate derivation, one motion vector candidate is selected from two candidates, which are derived based on two different co-located positions. After the first list of spatio-temporal candidates is made, duplicated motion vector candidates in the list are removed. If the number of potential candidates is larger than two, motion vector candidates whose reference picture index within the associated reference picture list is larger than 1 are removed from the list. If the number of spatio-temporal motion vector candidates is smaller than two, additional zero motion vector candidates is added to the list.
[0108]
1.2.2 Constructing spatial motion vector candidates
[0109]
In the derivation of spatial motion vector candidates, a maximum of two candidates are considered among five potential candidates, which are derived from PUs located in positions as previously shown in FIG. 2, those positions being the same as those of motion merge. The order of derivation for the left side of the current PU is defined as A 0, A 1, and scaled A 0, scaled A 1. The order of derivation for the above side of the current PU is defined as B 0, B 1, B 2, scaled B 0, scaled B 1, scaled B 2. For each side there are therefore four cases that can be used as motion vector candidate, with two cases not required to use spatial scaling, and two cases where spatial scaling is used. The four different cases are summarized as follows:
[0110]
-- No spatial scaling
[0111]
(1) Same reference picture list, and same reference picture index (same POC)
[0112]
(2) Different reference picture list, but same reference picture (same POC)
[0113]
-- Spatial scaling
[0114]
(3) Same reference picture list, but different reference picture (different POC)
[0115]
(4) Different reference picture list, and different reference picture (different POC)
[0116]
The no-spatial-scaling cases are checked first followed by the cases that allow spatial scaling. Spatial scaling is considered when the POC is different between the reference picture of the neighboring PU and that of the current PU regardless of reference picture list. If all PUs of left candidates are not available or are intra coded, scaling for the above motion vector is allowed to help parallel derivation of left and above MV candidates. Otherwise, spatial scaling is not allowed for the above motion vector.
[0117]
As shown in the example in FIG. 9, for the spatial scaling case, the motion vector of the neighboring PU is scaled in a similar manner as for temporal scaling. One difference is that the reference picture list and index of current PU is given as input; the actual scaling process is the same as that of temporal scaling.
[0118]
1.2.3 Constructing temporal motion vector candidates
[0119]
Apart from the reference picture index derivation, all processes for the derivation of temporal merge candidates are the same as for the derivation of spatial motion vector candidates (as shown in the example in FIG. 6) . In some embodiments, the reference picture index is signaled to the decoder.
[0120]
2 Example of inter prediction methods in Joint Exploration Model (JEM)
[0121]
In some embodiments, future video coding technologies are explored using a reference software known as the Joint Exploration Model (JEM) . In JEM, sub-block based prediction is adopted in several coding tools, such as affine prediction, alternative temporal motion vector prediction (ATMVP) , spatial-temporal motion vector prediction (STMVP) , bi-directional optical flow (BIO) , Frame-Rate Up Conversion (FRUC) , Locally Adaptive Motion Vector Resolution (LAMVR) , Overlapped Block Motion Compensation (OBMC) , Local Illumination Compensation (LIC) , and Decoder-side Motion Vector Refinement (DMVR) .
[0122]
2.1 Examples of sub-CU based motion vector prediction
[0123]
In the JEM with quadtrees plus binary trees (QTBT) , each CU can have at most one set of motion parameters for each prediction direction. In some embodiments, two sub-CU level motion vector prediction methods are considered in the encoder by splitting a large CU into sub-CUs and deriving motion information for all the sub-CUs of the large CU. Alternative temporal motion vector prediction (ATMVP) method allows each CU to fetch multiple sets of motion information from multiple blocks smaller than the current CU in the collocated reference picture. In spatial-temporal motion vector prediction (STMVP) method motion vectors of the sub-CUs are derived recursively by using the temporal motion vector predictor and spatial neighbouring motion vector. In some embodiments, and to preserve more accurate motion field for sub-CU motion prediction, the motion compression for the reference frames may be disabled.
[0124]
2.1.1 Examples of alternative temporal motion vector prediction (ATMVP)
[0125]
In the ATMVP method, the temporal motion vector prediction (TMVP) method is modified by fetching multiple sets of motion information (including motion vectors and reference indices) from blocks smaller than the current CU.
[0126]
FIG. 10 shows an example of ATMVP motion prediction process for a CU 1000. The ATMVP method predicts the motion vectors of the sub-CUs 1001 within a CU 1000 in two steps. The first step is to identify the corresponding block 1051 in a reference picture 1050 with a temporal vector. The reference picture 1050 is also referred to as the motion source picture. The second step is to split the current CU 1000 into sub-CUs 1001 and obtain the motion vectors as well as the reference indices of each sub-CU from the block corresponding to each sub-CU.
[0127]
In the first step, a reference picture 1050 and the corresponding block is determined by the motion information of the spatial neighboring blocks of the current CU 1000. To avoid the repetitive scanning process of neighboring blocks, the first merge candidate in the merge candidate list of the current CU 1000 is used. The first available motion vector as well as its associated reference picture index are set to be the temporal vector and the index to the motion source picture. This way, the corresponding block may be more accurately identified, compared with TMVP, wherein the corresponding block (sometimes called collocated block) is always in a bottom-right or center position relative to the current CU.
[0128]
In the second step, a corresponding block of the sub-CU 1051 is identified by the temporal vector in the motion source picture 1050, by adding to the coordinate of the current CU the temporal vector. For each sub-CU, the motion information of its corresponding block (e.g., the smallest motion grid that covers the center sample) is used to derive the motion information for the sub-CU. After the motion information of a corresponding N×N block is identified, it is converted to the motion vectors and reference indices of the current sub-CU, in the same way as TMVP of HEVC, wherein motion scaling and other procedures apply. For example, the decoder checks whether the low-delay condition (e.g. the POCs of all reference pictures of the current picture are smaller than the POC of the current picture) is fulfilled and possibly uses motion vector MVx (e.g., the motion vector corresponding to reference picture list X) to predict motion vector MVy (e.g., with X being equal to 0 or 1 and Y being equal to 1-X) for each sub-CU.
[0129]
2.1.2 Examples of spatial-temporal motion vector prediction (STMVP)
[0130]
In the STMVP method, the motion vectors of the sub-CUs are derived recursively, following raster scan order. FIG. 11 shows an example of one CU with four sub-blocks and neighboring blocks. Consider an 8×8 CU 1100 that includes four 4×4 sub-CUs A (1101) , B (1102) , C (1103) , and D (1104) . The neighboring 4×4 blocks in the current frame are labelled as a (1111) , b (1112) , c (1113) , and d (1114) .
[0131]
The motion derivation for sub-CU A starts by identifying its two spatial neighbors. The first neighbor is the N×N block above sub-CU A 1101 (block c 1113) . If this block c (1113) is not available or is intra coded the other N×N blocks above sub-CU A (1101) are checked (from left to right, starting at block c 1113) . The second neighbor is a block to the left of the sub-CU A 1101 (block b 1112) . If block b (1112) is not available or is intra coded other blocks to the left of sub-CU A 1101 are checked (from top to bottom, staring at block b 1112) . The motion information obtained from the neighboring blocks for each list is scaled to the first reference frame for a given list. Next, temporal motion vector predictor (TMVP) of sub-block A 1101 is derived by following the same procedure of TMVP derivation as specified in HEVC. The motion information of the collocated block at block D 1104 is fetched and scaled accordingly. Finally, after retrieving and scaling the motion information, all available motion vectors are averaged separately for each reference list. The averaged motion vector is assigned as the motion vector of the current sub-CU.
[0132]
2.1.3 Examples of sub-CU motion prediction mode signaling
[0133]
In some embodiments, the sub-CU modes are enabled as additional merge candidates and there is no additional syntax element required to signal the modes. Two additional merge candidates are added to merge candidates list of each CU to represent the ATMVP mode and STMVP mode. In other embodiments, up to seven merge candidates may be used, if the sequence parameter set indicates that ATMVP and STMVP are enabled. The encoding logic of the additional merge candidates is the same as for the merge candidates in the HM, which means, for each CU in P or B slice, two more RD checks may be needed for the two additional merge candidates. In some embodiments, e.g., JEM, all bins of the merge index are context coded by CABAC (Context-based Adaptive Binary Arithmetic Coding) . In other embodiments, e.g., HEVC, only the first bin is context coded and the remaining bins are context by-pass coded.
[0134]
2.2 Example of inter prediction methods in VVC
[0135]
There are several new coding tools for inter prediction improvement, such as Adaptive motion vector difference resolution (AMVR) for signaling MVD, affine prediction mode, Triangular prediction mode (TPM) , ATMVP, Generalized Bi-Prediction (GBI) , Bi-directional Optical flow (BIO) .
[0136]
2.2.1 Examples of coding block structures in VVC
[0137]
In VVC, a QuadTree/BinaryTree/MulitpleTree (QT/BT/TT) structure is adopted to divide a picture into square or rectangle blocks. Besides QT/BT/TT, separate tree (a.k.a. Dual coding tree) is also adopted in VVC for I-frames. With separate trees, the coding block structure are signaled separately for the luma and chroma components.
[0138]
2.2.2 Examples of adaptive motion vector difference resolution
[0139]
In some embodiments, motion vector differences (MVDs) (between the motion vector and predicted motion vector of a PU) are signalled in units of quarter luma samples when use_integer_mv_flag is equal to 0 in the slice header. In the JEM, a locally adaptive motion vector resolution (LAMVR) is introduced. In the JEM, MVD can be coded in units of quarter luma samples, integer luma samples or four luma samples. The MVD resolution is controlled at the coding unit (CU) level, and MVD resolution flags are conditionally signalled for each CU that has at least one non-zero MVD components.
[0140]
For a CU that has at least one non-zero MVD components, a first flag is signalled to indicate whether quarter luma sample MV precision is used in the CU. When the first flag (equal to 1) indicates that quarter luma sample MV precision is not used, another flag is signalled to indicate whether integer luma sample MV precision or four luma sample MV precision is used.
[0141]
When the first MVD resolution flag of a CU is zero, or not coded for a CU (meaning all MVDs in the CU are zero) , the quarter luma sample MV resolution is used for the CU. When a CU uses integer-luma sample MV precision or four-luma-sample MV precision, the MVPs in the AMVP candidate list for the CU are rounded to the corresponding precision.
[0142]
In the encoder, CU-level RD checks are used to determine which MVD resolution is to be used for a CU. That is, the CU-level RD check is performed three times for each MVD resolution. To accelerate encoder speed, the following encoding schemes are applied in the JEM:
[0143]
-- During RD check of a CU with normal quarter luma sample MVD resolution, the motion information of the current CU (integer luma sample accuracy) is stored. The stored motion information (after rounding) is used as the starting point for further small range motion vector refinement during the RD check for the same CU with integer luma sample and 4 luma sample MVD resolution so that the time-consuming motion estimation process is not duplicated three times.
[0144]
-- RD check of a CU with 4 luma sample MVD resolution is conditionally invoked. For a CU, when RD cost integer luma sample MVD resolution is much larger than that of quarter luma sample MVD resolution, the RD check of 4 luma sample MVD resolution for the CU is skipped.
[0145]
The encoding process is shown in FIG. 12. First, 1/4 pel MV is tested and the RD cost is calculated and denoted as RDCost0, then integer MV is tested and the RD cost is denoted as RDCost1. If RDCost1 <th *RDCost0 (wherein th is a positive valued threshold) , then 4-pel MV is tested; otherwise, 4-pel MV is skipped. Basically, motion information and RD cost etc. are already known for 1/4 pel MV when checking integer or 4-pel MV, which can be reused to speed up the encoding process of integer or 4-pel MV.
[0146]
2.2.3 Examples of affine motion compensation prediction
[0147]
In HEVC, only a translation motion model is applied for motion compensation prediction (MCP) . However, the camera and objects may have many kinds of motion, e.g. zoom in/out, rotation, perspective motions, and/or other irregular motions. In VVC, a simplified affine transform motion compensation prediction is applied with 4-parameter affine model and 6-parameter affine model. As shown in FIGS. 13A and 13B, the affine motion field of the block is described by two (in the 4-parameter affine model that uses the variables a, b, e and f) or three (in the 6-parameter affine model that uses the variables a, b, c, d, e and f) control point motion vectors, respectively.
[0148]
The motion vector field (MVF) of a block is described by the following equation with the 4-parameter affine model and 6-parameter affine model respectively:
[0149]
[0150]
[0151]
Herein, (mv h 0, mv h 0) is motion vector of the top-left corner control point (CP) , and (mv h 1, mv h 1) is motion vector of the top-right corner control point and (mv h 2, mv h 2) is motion vector of the bottom-left corner control point, (x, y) represents the coordinate of a representative point relative to the top-left sample within current block. The CP motion vectors may be signaled (like in the affine AMVP mode) or derived on-the-fly (like in the affine merge mode) . w and h are the width and height of the current block. In practice, the division is implemented by right-shift with a rounding operation. In an example, the representative point is defined to be the center position of a sub-block, e.g., when the coordinate of the left-top corner of a sub-block relative to the top-left sample within current block is (xs, ys) , the coordinate of the representative point is defined to be (xs+2, ys+2) . For each sub-block (e.g., 4×4) , the representative point is utilized to derive the motion vector for the whole sub-block.
[0152]
FIG. 14 shows an example of affine MVF per sub-block for a block 1400, wherein in order to further simplify the motion compensation prediction, sub-block based affine transform prediction is applied. To derive motion vector of each M×N sub-block, the motion vector of the center sample of each sub-block can be calculated according to Eqs. (1) and (2) , and rounded to the motion vector fraction accuracy (e.g., 1/16 in JEM) . Then the motion compensation interpolation filters can be applied to generate the prediction of each sub-block with derived motion vector. The interpolation filters for 1/16-pel are introduced by the affine mode. After the MCP, the high accuracy motion vector of each sub-block is rounded and saved as the same accuracy as the normal motion vector.
[0153]
2.2.4 Examples for signaling of affine prediction
[0154]
Similar to the translational motion model, there are also two modes for signaling the side information due affine prediction. They are AFFINE_INTER and AFFINE_MERGE modes.
[0155]
2.2.5 Examples of AF_INTER mode
[0156]
For CUs with both width and height larger than 8, AF_INTER mode can be applied. An affine flag in CU level is signaled in the bitstream to indicate whether AF_INTER mode is used.
[0157]
In this mode, for each reference picture list (List 0 or List 1) , an affine AMVP candidate list is constructed with three types of affine motion predictors in the following order, wherein each candidate includes the estimated CPMVs of the current block. The differences of the best CPMVs found at the encoder side (such as mv 0 nv 1 mv 2 in FIG. 17) and the estimated CPMVs are signalled. In addition, the index of affine AMVP candidate from which the estimated CPMVs are derived is further signalled.
[0158]
1)Inherited affine motion predictors
[0159]
The checking order is similar to that of spatial MVPs in HEVC AMVP list construction. First, a left inherited affine motion predictor is derived from the first block in {A1, A0} that is affine coded and has the same reference picture as in current block. Second, an above inherited affine motion predictor is derived from the first block in {B1, B0, B2} that is affine coded and has the same reference picture as in current block. The five blocks A1, A0, B1, B0, B2 are depicted in FIG. 16.
[0160]
Once a neighboring block is found to be coded with affine mode, the CPMVs of the coding unit covering the neighboring block are used to derive predictors of CPMVs of current block. For example, if A1 is coded with non-affine mode and A0 is coded with 4-parameter affine mode, the left inherited affine MV predictor will be derived from A0. In this case, the CPMVs of a CU covering A0, as denoted by for the top-left CPMV and for the top-right CPMV in FIG. 18B are utilized to derive the estimated CPMVs of current block, denoted by for the top-left (with coordinate (x0, y0) ) , top-right (with coordinate (x1, y1) ) and bottom-right positions (with coordinate (x2, y2) ) of current block.
[0161]
2) Constructed affine motion predictors
[0162]
A constructed affine motion predictor consists of control-point motion vectors (CPMVs) that are derived from neighboring inter coded blocks, as shown in FIG. 17, that have the same reference picture. If the current affine motion model is 4-paramter affine, the number of CPMVs is 2, otherwise if the current affine motion model is 6-parameter affine, the number of CPMVs is 3. The top-left CPMV is derived by the MV at the first block in the group {A, B, C} that is inter coded and has the same reference picture as in current block. The top-right CPMV is derived by the MV at the first block in the group {D, E} that is inter coded and has the same reference picture as in current block. The bottom-left CPMV is derived by the MV at the first block in the group {F, G} that is inter coded and has the same reference picture as in current block.
[0163]
– If the current affine motion model is 4-parameter affine, then a constructed affine motion predictor is inserted into the candidate list only if both and are founded, that is, and are used as the estimated CPMVs for top-left (with coordinate (x0, y0) ) , top-right (with coordinate (x1, y1) ) positions of current block.
[0164]
– If the current affine motion model is 6-parameter affine, then a constructed affine motion predictor is inserted into the candidate list only if and are all founded, that is, and are used as the estimated CPMVs for top-left (with coordinate (x0, y0) ) , top-right (with coordinate (x1, y1) ) and bottom-right (with coordinate (x2, y2) ) positions of current block.
[0165]
No pruning process is applied when inserting a constructed affine motion predictor into the candidate list.
[0166]
3) Normal AMVP motion predictors
[0167]
The following applies until the number of affine motion predictors reaches the maximum.
[0168]
1) Derive an affine motion predictor by setting all CPMVs equal to if available.
[0169]
2) Derive an affine motion predictor by setting all CPMVs equal to if available.
[0170]
3) Derive an affine motion predictor by setting all CPMVs equal to if available.
[0171]
4) Derive an affine motion predictor by setting all CPMVs equal to HEVC TMVP if available.
[0172]
5) Derive an affine motion predictor by setting all CPMVs to zero MV.
[0173]
Note that is already derived in constructed affine motion predictor.
[0174]
In AF_INTER mode, when 4/6 parameter affine mode is used, 2/3 control points are required, and therefore 2/3 MVD needs to be coded for these control points, as shown in FIGS. 15A and 15B. In an existing implementation, the MV may be derived as follows, e.g., it predicts mvd 1 and mvd 2 from mvd 0.
[0175]
[0176]
[0177]
[0178]
Herein, mvd i and mv 1 are the predicted motion vector, motion vector difference and motion vector of the top-left pixel (i = 0) , top-right pixel (i = 1) or left-bottom pixel (i = 2) respectively, as shown in FIG. 15B. In some embodiments, the addition of two motion vectors (e.g., mvA (xA, yA) and mvB (xB, yB) ) is equal to summation of two components separately. For example, newMV = mvA + mvB implies that the two components of newMV are set to (xA +xB) and (yA + yB) , respectively.
[0179]
2.2.6 Examples of AF_MERGE mode
[0180]
When a CU is applied in AF_MERGE mode, it gets the first block coded with an affine mode from the valid neighboring reconstructed blocks. And the selection order for the candidate block is from left, above, above right, left bottom to above left as shown in FIG. 18A (denoted by A, B, C, D, E in order) . For example, if the neighbour left bottom block is coded in affine mode as denoted by A0 in FIG. 18B, the Control Point (CP) motion vectors mv 0 N, mv 1 N and mv 2 N of the top left corner, above right corner and left bottom corner of the neighbouring CU/PU which contains the block A are fetched. And the motion vector mv 0 C, mv 1 C and mv 2 C (which is only used for the 6-parameter affine model) of the top left corner/top right/bottom left on the current CU/PU is calculated based on mv 0 N, mv 1 N and mv 2 N. It should be noted that sub-block (e.g. 4×4 block) located at the top-left corner stores mv0, the sub-block located at the top-right corner stores mv1 if the current block is affine coded. If the current block is coded with the 6-parameter affine model, the sub-block located at the bottom-left corner stores mv2; otherwise (with the 4-parameter affine model) , LB stores mv2’. Other sub-blocks stores the MVs used for MC.
[0181]
After the CPMV of the current CU v0 and v1 are computed according to the affine motion model in Eqs. (1) and (2) , the MVF of the current CU can be generated. In order to identify whether the current CU is coded with AF_MERGE mode, an affine flag can be signaled in the bitstream when there is at least one neighboring block is coded in affine mode.
[0182]
In some embodiments, an affine merge candidate list may be constructed with following steps:
[0183]
1) Insert inherited affine candidates
[0184]
Inherited affine candidate means that the candidate is derived from the affine motion model of its valid neighbor affine coded block. In the common base, as shown in FIG. 19, the scan order for the candidate positions is: A1, B1, B0, A0 and B2.
[0185]
After a candidate is derived, full pruning process is performed to check whether same candidate has been inserted into the list. If a same candidate exists, the derived candidate is discarded.
[0186]
2) Insert constructed affine candidates
[0187]
If the number of candidates in affine merge candidate list is less than MaxNumAffineCand (set to 5 in this contribution) , constructed affine candidates are inserted into the candidate list. Constructed affine candidate means the candidate is constructed by combining the neighbor motion information of each control point.
[0188]
The motion information for the control points is derived firstly from the specified spatial neighbors and temporal neighbor shown in FIG. 19. CPk (k=1, 2, 3, 4) represents the k-th control point. A0, A1, A2, B0, B1, B2 and B3 are spatial positions for predicting CPk (k=1, 2, 3) ; T is temporal position for predicting CP4.
[0189]
The coordinates of CP1, CP2, CP3 and CP4 is (0, 0) , (W, 0) , (H, 0) and (W, H) , respectively, where W and H are the width and height of current block.
[0190]
The motion information of each control point is obtained according to the following priority order:
[0191]
For CP1, the checking priority is B2→ B3→ A2. B2 is used if it is available. Otherwise, if B2 is available, B3 is used. If both B2 and B3 are unavailable, A2 is used. If all the three candidates are unavailable, the motion information of CP1 cannot be obtained.
[0192]
For CP2, the checking priority is B1→ B0.
[0193]
For CP3, the checking priority is A1→ A0.
[0194]
For CP4, T is used.
[0195]
Secondly, the combinations of controls points are used to construct an affine merge candidate.
[0196]
Motion information of three control points are needed to construct a 6-parameter affine candidate. The three control points can be selected from one of the following four combinations ( {CP1, CP2, CP4} , {CP1, CP2, CP3} , {CP2, CP3, CP4} , {CP1, CP3, CP4} ) . Combinations {CP1, CP2, CP3} , {CP2, CP3, CP4} , {CP1, CP3, CP4} will be converted to a 6-parameter motion model represented by top-left, top-right and bottom-left control points.
[0197]
Motion information of two control points are needed to construct a 4-parameter affine candidate. The two control points can be selected from one of the following six combinations ( {CP1, CP4} , {CP2, CP3} , {CP1, CP2} , {CP2, CP4} , {CP1, CP3} , {CP3, CP4} ) . Combinations {CP1, CP4} , {CP2, CP3} , {CP2, CP4} , {CP1, CP3} , {CP3, CP4} will be converted to a 4-parameter motion model represented by top-left and top-right control points.
[0198]
The combinations of constructed affine candidates are inserted into to candidate list as following order:
[0199]
{CP1, CP2, CP3} , {CP1, CP2, CP4} , {CP1, CP3, CP4} , {CP2, CP3, CP4} , {CP1, CP2} , {CP1, CP3} , {CP2, CP3} , {CP1, CP4} , {CP2, CP4} , {CP3, CP4}
[0200]
For reference list X (X being 0 or 1) of a combination, the reference index with highest usage ratio in the control points is selected as the reference index of list X, and motion vectors point to difference reference picture will be scaled.
[0201]
After a candidate is derived, full pruning process is performed to check whether same candidate has been inserted into the list. If a same candidate exists, the derived candidate is discarded.
[0202]
3) Padding with zero motion vectors
[0203]
If the number of candidates in affine merge candidate list is less than 5, zero motion vectors with zero reference indices are insert into the candidate list, until the list is full.
[0204]
In some embodiments, for the sub-block merge candidate list, a 4-parameter merge candidate with MVs set to (0, 0) and prediction direction set to uni-prediction from list 0 (for P slice) and bi-prediction (for B slice) .
[0205]
2.3 Examples of intra block copy (IBC)
[0206]
Intra block copy (IBC, or intra picture block compensation) , also named current picture referencing (CPR) was adopted in HEVC screen content coding extensions (SCC) . This tool is very efficient for coding of screen content video in that repeated patterns in text and graphics rich content occur frequently within the same picture. Having a previously reconstructed block with equal or similar pattern as a predictor can effectively reduce the prediction error and therefore improve coding efficiency. An example of the intra block compensation is illustrated in FIG. 20.
[0207]
Similar to the design of CRP in HEVC SCC, In VVC, The use of the IBC mode is signaled at both sequence and picture level. When the IBC mode is enabled at sequence parameter set (SPS) , it can be enabled at picture level. When the IBC mode is enabled at picture level, the current reconstructed picture is treated as a reference picture. Therefore, no syntax change on block level is needed on top of the existing VVC inter mode to signal the use of the IBC mode.
[0208]
Some of the features of CPR include:
[0209]
○ It is treated as a normal inter mode. Therefore, merge and skip modes are also available for the IBC mode. The merge candidate list construction is unified, containing merge candidates from the neighboring positions that are either coded in the IBC mode or the HEVC inter mode. Depending on the selected merge index, the current block under merge or skip mode can merge into either an IBC mode coded neighbor or otherwise a normal inter mode coded one with different pictures as reference pictures.
[0210]
○ Block vector prediction and coding schemes for the IBC mode reuse the schemes used for motion vector prediction and coding in the HEVC inter mode (AMVP and MVD coding) .
[0211]
○ The motion vector for the IBC mode, also referred as block vector, is coded with integer-pel precision, but stored in memory in 1/16-pel precision after decoding as quarter-pel precision is required in interpolation and deblocking stages. When used in motion vector prediction for the IBC mode, the stored vector predictor will be right shifted by 4.
[0212]
○ Search range: it is restricted to be within the current CTU.
[0213]
○ CPR is disallowed when affine mode/triangular mode/GBI/weighted prediction is enabled.
[0214]
2.3.1 Harmonization with CPR
[0215]
In PCT/CN2018/089920, several methods are proposed to harmonize CPR (a.k.a IBC) and some new coding tools.
[0216]
2.4 Examples of merge list design in VVC
[0217]
There are three different merge list construction processes supported in VVC:
[0218]
(1) Sub-block merge candidate list: it includes ATMVP and affine merge candidates. One merge list construction process is shared for both affine modes and ATMVP mode. Here, the ATMVP and affine merge candidates may be added in order. Sub-block merge list size is signaled in slice header, and maximum value is 5.
[0219]
(2) Uni-Prediction TPM merge list: For triangular prediction mode, one merge list construction process for the two partitions is shared even two partitions could select their own merge candidate index. When constructing this merge list, the spatial neighbouring blocks and two temporal blocks of the block are checked. The motion information derived from spatial neighbours and temporal blocks are called regular motion candidates in our IDF. These regular motion candidates are further utilized to derive multiple TPM candidates. Please note the transform is performed in the whole block level, even two partitions may use different motion vectors for generating their own prediction blocks. In some embodiments, the uni-prediction TPM merge list size is fixed to be 5.
[0220]
(3) Regular merge list: For remaining coding blocks, one merge list construction process is shared. Here, the spatial/temporal/HMVP, pairwise combined bi-prediction merge candidates and zero motion candidates may be inserted in order. Regular merge list size is signaled in slice header, and maximum value is 6.
[0221]
Sub-block merge candidate list
[0222]
It is suggested that all the sub-block related motion candidates are put in a separate merge list in addition to the regular merge list for non-sub block merge candidates.
[0223]
The sub-block related motion candidates are put in a separate merge list is named as ‘sub-block merge candidate list’ .
[0224]
In one example, the sub-block merge candidate list includes affine merge candidates, and ATMVP candidate, and/or sub-block based STMVP candidate.
[0225]
In another example, the ATMVP merge candidate in the normal merge list is moved to the first position of the affine merge list. Such that all the merge candidates in the new list (i.e., sub-block based merge candidate list) are based on sub-block coding tools.
[0226]
In still another example, a special merge candidate list, known as sub-block merge candidate list (a.k.a affine merge candidate list) is added besides the regular merge candidate list. The sub-block merge candidate list is filled with candidates in the following order:
[0227]
(a) ATMVP candidate (maybe available or unavailable) ;
[0228]
(b) Inherited Affine candidates;
[0229]
(c) Constructed Affine candidates;
[0230]
(d) Padding as zero MV 4-parameter affine model
[0231]
The maximum number of candidates (denoted as ML) in the sub-block merge candidate list derived as below:
[0232]
(1) If the ATMVP usage flag (e.g. the flag may be named as “sps_sbtmvp_enabled_flag” ) is on (equal to 1) , but the affine usage flag (e.g. the flag may be named as “sps_affine_enabled_flag” ) is off (equal to 0) , then ML is set equal to 1.
[0233]
(2) If the ATMVP usage flag is off (equal to 0) , and the affine usage flag is off (equal to 0) , then ML is set equal to 0. In this case, the sub-block merge candidate list is not used.
[0234]
(3) Otherwise (the affine usage flag is on (equal to 1) , the ATMVP usage flag is on or off) , ML is signaled from the encoder to the decoder. Valid ML is 0 ≤ ML ≤ 5.
[0235]
When constructing the sub-block merge candidate list, ATMVP candidate is checked first. If any one of the following conditions is true, ATMVP candidate is skipped and not put into the sub-block merge candidate list.
[0236]
(1) The ATMVP usage flag is off;
[0237]
(2) Any TMVP usage flag (e.g. the flag may be named as “slice_temporal_mvp_enabled_flag” when signaled at slice level) is off;
[0238]
(3) The reference picture with reference index 0 in reference list 0 is identical to the current picture (It is a CPR)
[0239]
ATMVP in the above described example is much simpler than in JEM. When an ATMVP merge candidate is generated, the following process is applied:
[0240]
(a) Check neighbouring blocks A1, B1, B0, A0 as shown in FIG. 2 in order, to find the first inter-coded, but not CPR-coded block, denoted as block X;
[0241]
(b) Initialize TMV= (0, 0) . If there is a MV (denoted as MVn) of block X, referring to the collocated reference picture (as signaled in the slice header) , TMV is set equal to MVn.
[0242]
(c) Suppose the center point of the current block is (x0, y0) , then locate a corresponding position of (x0, y0) as M= (x0+MV*x, y0+MV*y) in the collocated picture. Find the block Z covering M.
[0243]
(i) If Z is intra-coded, then ATMVP is unavailable;
[0244]
(ii) If Z is inter-coded, MVZ_0 and MVZ_1 for the two lists of block Z are scaled to (Reflist 0 index 0) and (Reflist 1 index 1) as MVdefault0, MVdefault1, and stored.
[0245]
(d) For each 8x8 sub-block, suppose its center point is (x0S, y0S) , then locate a corresponding position of (x0S, y0S) as MS= (x0S+MV*x, y0S+MV*y) in the collocated picture. Find the block ZS covering MS.
[0246]
(i) If ZS is intra-coded, MVdefault0, MVdefault1 are assigned to the sub-block;
[0247]
(ii) If ZS is inter-coded, MVZS_0 and MVZS_1 for the two lists of block ZS are scaled to (Reflist 0 index 0) and (Reflist 1 index 0) and are assigned to the sub-block.
[0248]
MV clipping and masking in ATMVP: When locating a corresponding position such as M or MS in the collocated picture, it is clipped to be inside a predefined region. The CTU size is S×S, S=128 in the present example. Suppose the top-left position of the collocated CTU is (xCTU, yCTU) , then the corresponding position M or MS at (xN, yN) will be clipped into the valid region xCTU ≤ xN < xCTU+S+4; yCTU ≤ yN < yCTU+S. FIG. 21 shows an example of the valid region.
[0249]
Besides clipping, (xN, yN) is also masked as xN=xN&MASK, yN=yN&MASK, where MASK is an integer equal to ~ (2 N-1) , and N =3, to set the lowest 3 bits to be 0. So xN and yN must be numbers which are times of 8. ( “~” represents the bitwise complement operator) .
[0250]
Regular merge list
[0251]
Different from the merge list design, in VVC, the history-based motion vector prediction (HMVP) method is employed. In some embodiments, combined bi-predictive merge candidates have been replaced by pairwise bi-predictive merge candidates.
[0252]
HMVP
[0253]
In HMVP, the previously coded motion information is stored. The motion information of a previously coded block is defined as an HMVP candidate. Multiple HMVP candidates are stored in a table, named as the HMVP table, and this table is maintained during the encoding/decoding process on-the-fly. The HMVP table is emptied when starting coding/decoding a new slice. Whenever there is an inter-coded block, the associated motion information is added to the last entry of the table as a new HMVP candidate. The overall coding flow is depicted in FIG. 22.
[0254]
HMVP candidates could be used in both AMVP and merge candidate list construction processes. FIG. 23 depicts the modified merge candidate list construction process (highlighted in grey) . When the merge candidate list is not full after the TMVP candidate insertion, HMVP candidates stored in the HMVP table could be utilized to fill in the merge candidate list. Considering that one block usually has a higher correlation with the nearest neighbouring block in terms of motion information, the HMVP candidates in the table are inserted in a descending order of indices. The last entry in the table is firstly added to the list, while the first entry is added in the end. Similarly, redundancy removal is applied on the HMVP candidates. Once the total number of available merge candidates reaches the maximal number of merge candidates allowed to be signaled, the merge candidate list construction process is terminated.
[0255]
2.5 Examples of generalized bi-prediction (GBi) improvement
[0256]
Generalized Bi-prediction improvement (GBi) proposed in one example is provided.
[0257]
GBi was proposed in one example. An improved embodiment that improved the gain-complexity trade-off for GBi is provide which applies unequal weights to predictors from L0 and L1 in bi-prediction mode. In inter prediction mode, multiple weight pairs including the equal weight pair (1/2, 1/2) are evaluated based on rate-distortion optimization (RDO) , and the GBi index of the selected weight pair is signaled to the decoder. In merge mode, the GBi index is inherited from a neighboring CU. In the embodiment, GBi, the predictor generation in bi-prediction mode is shown in the equation below.
[0258]
PGBi = (w0 *PL0 + w1 *PL1 + RoundingOffsetGBi) >> shiftNumGBi,
[0259]
Herein, PGBi is the final predictor of GBi. w0 and w1 are the selected GBi weight pair and applied to the predictors of list 0 (L0) and list 1 (L1) , respectively. RoundingOffsetGBi and shiftNumGBi are used to normalize the final predictor in GBi. The supported w1 weight set is {-1/4, 3/8, 1/2, 5/8, 5/4} , in which the five weights correspond to one equal weight pair and four unequal weight pairs. The blending gain, i.e., sum of w1 and w0, is fixed to 1.0. Therefore, the corresponding w0 weight set is {5/4, 5/8, 1/2, 3/8, -1/4} . The weight pair selection is at CU-level.
[0260]
For non-low delay pictures, the weight set size is reduced from five to three, where the w1 weight set is {3/8, 1/2, 5/8} and the w0 weight set is {5/8, 1/2, 3/8} . The weight set size reduction for non-low delay pictures is applied to the GBi and all the GBi tests in this contribution.
[0261]
In an embodiment, a combined solution is proposed to further improve the GBi performance. Specifically, the following modifications are applied on top of the existing GBi design in the embodiment.
[0262]
GBi encoder bug fix
[0263]
To reduce the GBi encoding time, in current encoder design, the encoder will store uni-prediction motion vectors estimated from GBi weight equal to 4/8, and reuse them for uni-prediction search of other GBi weights. This fast encoding method is applied to both translation motion model and affine motion model. In one example, 6-parameter affine model was adopted together with 4-parameter affine model. The encoder does not differentiate 4-parameter affine model and 6-parameter affine model when it stores the uni-prediction affine MVs when GBi weight is equal to 4/8. Consequently, 4-parameter affine MVs may be overwritten by 6-parameter affine MVs after the encoding with GBi weight 4/8. The stored 6-parmater affine MVs may be used for 4-parameter affine ME for other GBi weights, or the stored 4-parameter affine MVs may be used for 6-parameter affine ME. The proposed GBi encoder bug fix is to separate the 4-paramerter and 6-parameter affine MVs storage. The encoder stores those affine MVs based on affine model type when GBi weight is equal to 4/8, and reuse the corresponding affine MVs based on the affine model type for other GBi weights.
[0264]
CU size constraint for GBi
[0265]
In this method, GBi is disabled for small CUs. In inter prediction mode, if bi-prediction is used and the CU area is smaller than 128 luma samples, GBi is disabled without any signaling.
[0266]
Merge mode with GBi
[0267]
With Merge mode, GBi index is not signaled. Instead it is inherited from the neighbouring block it is merged to. When TMVP candidate is selected, GBi is turned off in this block.
[0268]
Affine prediction with GBi
[0269]
When the current block is coded with affine prediction, GBi can be used. For affine inter mode, GBi index is signaled. For Affine merge mode, GBi index is inherited from the neighbouring block it is merged to. If a constructed affine model is selected, GBi is turned off in this block.
[0270]
2.6 Examples of inter-intra prediction (IIP) mode
[0271]
With inter-intra prediction mode, multi-hypothesis prediction combines one intra prediction and one merge indexed prediction. Such a block is treated as a special inter-coded block. In a merge CU, one flag is signaled for merge mode to select an intra mode from an intra candidate list when the flag is true. For luma component, the intra candidate list is derived from 4 intra prediction modes including DC, planar, horizontal, and vertical modes, and the size of the intra candidate list can be 3 or 4 depending on the block shape. When the CU width is larger than the double of CU height, horizontal mode is exclusive of the intra mode list and when the CU height is larger than the double of CU width, vertical mode is removed from the intra mode list. One intra prediction mode selected by the intra mode index and one merge indexed prediction selected by the merge index are combined using weighted average. For chroma component, DM is always applied without extra signaling.
[0272]
The weights for combining predictions are described as follow. When DC or planar mode is selected or the CB width or height is smaller than 4, equal weights are applied. For those CBs with CB width and height larger than or equal to 4, when horizontal/vertical mode is selected, one CB is first vertically/horizontally split into four equal-area regions. Each weight set, denoted as (w_intrai, w_interi) , where i is from 1 to 4 and (w_intra1, w_inter1) = (6, 2) , (w_intra2, w_inter2) = (5, 3) , (w_intra3, w_inter3) = (3, 5) , and (w_intra4, w_inter4) = (2, 6) , will be applied to a corresponding region. (w_intra1, w_inter1) is for the region closest to the reference samples and (w_intra4, w_inter4) is for the region farthest away from the reference samples. Then, the combined prediction can be calculated by summing up the two weighted predictions and right-shifting 3 bits. Moreover, the intra prediction mode for the intra hypothesis of predictors can be saved for reference of the following neighboring CUs.
[0273]
Detailed design in an example
[0274]
1. inter_intra_flag (one new context) is signaled if all the conditions are satisfied
[0275]
a. Merge but not skip
[0276]
b. Not affine
[0277]
c. Not MMVD
[0278]
d. W*H<64 and W ! = 128 and H ! = 128 (That means we may have 2*8 chroma intra-prediction here)
[0279]
2. Inter-intra prediction can be applied on triangular prediction;
[0280]
3. Inter-intra prediction is applied to Y, Cb and Cr.
[0281]
4. If inter_intra_flag is on, the intra-prediction mode (IPM) is signaled. IPM must be one of {DC, Planar, Ver, Hor}
[0282]
a. 3 MPMs are involved.
[0283]
b. If W>2*H or H>2*W, IPM must be one of the 3 MPMs, and MPM-flag is not signaled; Otherwise, MPM-flag is signaled (one new context, why not share the same context with intra? )
[0284]
i. If MPM_flag is on, signal the selected MPM. 0, 10, 11 represents the three MPMs (bypass)
[0285]
ii. Otherwise, find the one in {DC, Planar, Ver, Hor} which is not in MPM list, as the IPM.
[0286]
c. MPM list construction (different to Intra MPM list)
[0287]
i. Set LeftIPM=AboveIPM=DC;
[0288]
ii. If the left neighbouring block (A2) is intra-coded or inter-intra-coded, set leftIPM to the IPM of the left neighbouring block;
[0289]
iii. If the above neighbouring block (B3) is intra-coded or inter-intra-coded, set aboveIPM to the IPM of the above neighbouring block;
[0290]
iv. leftIPM = (leftIPM > DC_IDX) ? ( (leftIPM ≤ DIA_IDX) ? HOR_IDX: VER_IDX) : leftIPM;
[0291]
v. aboveIPM = (aboveIPM > DC_IDX) ? ( (aboveIPM ≤ DIA_IDX) ? HOR_IDX: VER_IDX) : aboveIPM; (What about the wide-angle modes? )
[0292]
vi. If leftIPM== aboveIPM
[0293]
1. If leftIPM is not DC or planar
[0294]
a. MPM [0] =leftIPM, MPM [1] =Planar, MPM [2] =DC
[0295]
2. Otherwise,
[0296]
a. MPM [0] =DC, MPM [1] =Planar, MPM [2] =Ver
[0297]
vii. Otherwise
[0298]
1. MPM [0] =leftIPM, MPM [1] = aboveIPM
[0299]
2. If non of leftIPM and aboveIPM is planar, MPM [2] =Planar
[0300]
3. Otherwise: MPM [2] = (leftIPM+ aboveIPM) <2? Ver: DC
[0301]
viii. If W>2*H
[0302]
1. If MPM [x] ==Hor, Find ModeX in {DC, Planar, Ver, Hor} but not in the MPM list, set MPM [x] = ModeX;
[0303]
ix. If H>2*W
[0304]
1. If MPM [x] ==Ver, Find ModeX in {DC, Planar, Ver, Hor} but not in the MPM list, set MPM [x] = ModeX;
[0305]
5. It should be noted that the IPM used by inter-intra-prediction cannot be used to predict IPM of an intra-coded block.
[0306]
a. An intra-coded block treated an inter-intra coded block as inter-coded
[0307]
6. Neighbouring sample filtering: As intra-prediction:
[0308]
a. No filtering for DC/VER/HOR
[0309]
b. Filtering for Planar when W*H>32;
[0310]
c. PDPC is kept
[0311]
7. Weighting sum method
[0312]
a. P (x, y) = Clip ( (W0 (x, y) *P_Intra (x, y) +W1 (x, y) *P_Inter (x, y) ) >>3)
[0313]
8. Weighting values (may be improved or simplified)
[0314]
a. If mode == DC/Planar || W<4 || H<4: W0= W1= 4;
[0315]
b. If mode == HOR:
[0316]
i. W0=6, W1=2 if x<W/4;
[0317]
ii. W0=5, W1=3 if W/4≤x<W/2;
[0318]
iii. W0=3, W1=5 if W/2≤x<3*W/4;
[0319]
iv. W0=2, W1=6 if x≥3*W/4;
[0320]
c. If mode == VER:
[0321]
i. W0=6, W1=2 if y<H/4;
[0322]
ii. W0=5, W1=3 if H/4≤y<H/2;
[0323]
iii. W0=3, W1=5 if H/2≤y<3*H/4;
[0324]
iv. W0=2, W1=6 if y≥3*H/4.
[0325]
2.7 Examples of ultimate motion vector expression (UMVE)
[0326]
In some embodiments, ultimate motion vector expression (UMVE) is presented. UMVE is used for either skip or merge modes with a proposed motion vector expression method.
[0327]
UMVE re-uses merge candidate as same as those included in the regular merge candidate list in VVC. Among the merge candidates, a base candidate can be selected, and is further expanded by the proposed motion vector expression method.
[0328]
UMVE provides a new motion vector difference (MVD) representation method, in which a starting point, a motion magnitude and a motion direction are used to represent a MVD.
[0329]
This proposed technique uses a merge candidate list as it is. But only candidates which are default merge type (MRG_TYPE_DEFAULT_N) are considered for UMVE’s expansion.
[0330]
Base candidate index defines the starting point. Base candidate index indicates the best candidate among candidates in the list as follows.
[0331]
Table 1: Base candidate IDX
[0332]
[Table 0001]
Base candidate IDX 0 1 2 3
N thMVP 1 stMVP 2 ndMVP 3 rdMVP 4 thMVP

[0333]
If the number of base candidate is equal to 1, Base candidate IDX is not signaled.
[0334]
Distance index is motion magnitude information. Distance index indicates the pre-defined distance from the starting point information. Pre-defined distance is as follows:
[0335]
Table 2: Distance IDX
[0336]
[0337]
Direction index represents the direction of the MVD relative to the starting point. The direction index can represent of the four directions as shown below.
[0338]
Table 3: Direction IDX
[0339]
[Table 0002]
Direction IDX 00 01 10 11
x-axis + N/A N/A
y-axis N/A N/A +

[0340]
UMVE flag is signaled right after sending a skip flag or merge flag. If skip or merge flag is true, UMVE flag is parsed. If UMVE flag is equal to 1, UMVE syntaxes are parsed. But, if not 1, AFFINE flag is parsed. If AFFINE flag is equal to 1, that is AFFINE mode, but, if not 1, skip/merge index is parsed for skip/merge mode.
[0341]
Additional line buffer due to UMVE candidates is not needed. Because a skip/merge candidate of software is directly used as a base candidate. Using input UMVE index, the supplement of MV is decided right before motion compensation. There is no need to hold long line buffer for this.
[0342]
In current common test condition, either the first or the second merge candidate in the merge candidate list could be selected as the base candidate.
[0343]
UMVE is known as Merge with MVD (MMVD) .
[0344]
3 Drawbacks of existing implementations
[0345]
In existing implementations (e.g., current VVC design) , CPR has these issues:
[0346]
(1) Interaction between CPR and affine is still unclear. (e.g., for CPR coded blocks, the merge candidates may be inserted to the sub-block merge list or regular merge list) .
[0347]
(2) Interaction between CPR and general bi-prediction is still unclear. (e.g., for CPR coded blocks, always using fixed half-half weight, therefore, no need to signal weights index) .
[0348]
(3) Interaction between CPR and MMVD (a.k.a. UMVE) is still unclear.
[0349]
(4) Interaction between CPR and inter-intra prediction is still unclear.
[0350]
(5) Interaction between ATMVP and CPR.
[0351]
(6) How to apply CPR with the dual (separate) coding tree is still unclear.
[0352]
4 Example methods for motion vector derivation and signaling for CPR
[0353]
Embodiments of the presently disclosed technology overcome the drawbacks of existing implementations, thereby providing video coding with higher coding efficiencies. The use of motion vector derivation and signaling for current picture referencing in video and image coding, based on the disclosed technology, may enhance both existing and future video coding standards, is elucidated in the following examples described for various implementations. The examples of the disclosed technology provided below explain general concepts, and are not meant to be interpreted as limiting. In an example, unless explicitly indicated to the contrary, the various features described in these examples may be combined. It should be noted that “a block or a candidate uses CPR” may mean:
[0354]
(i) All reference pictures used by the block or candidate are CPR; or
[0355]
(ii) At least one reference picture used by the block or candidate is CPR.
[0356]
Example 1. CPR is not allowed to be used when affine motion compensation is used.
[0357]
(a) In one example, a conformance bit-stream cannot use CPR and affine motion compensation simultaneously in a single block.
[0358]
(b) In one example, in the parsing process, the block-level affine enabling/disabling flag may be firstly signaled. When one block is coded with the affine mode, there is no need to signal whether the current block’s reference picture index is equal to the one that current picture is associated with.
[0359]
(c) Alternatively, reference picture indices may be signaled before the block-level affine enabling/disabling flag. When a block uses CPR, the signalling of affine flag is always skipped.
[0360]
(d) Alternatively, reference picture indices may be signaled before the block-level affine enabling/disabling flag. When a block is coded with bi-prediction and only one reference picture is the current reference picture, the affine flag may be still signalled.
[0361]
(i) In one example, furthermore, it is required that integer motion vectors are used for such a block.
[0362]
Example 2. A block cannot inherit affine model from a neighbouring block which uses CPR.
[0363]
(a) In one example, a neighbouring block using CPR cannot be used to derive an affine merge candidate in the sub-block merge candidate list.
[0364]
(i) In one example, a neighbouring block using CPR is treated as unavailable in the sub-block merge candidate list construction process.
[0365]
(b) In one example, a neighbouring block using CPR cannot be used to derive an affine AMVP candidate in the affine AMVP list.
[0366]
(i) In one example, a neighbouring block using CPR is treated as unavailable in the affine AMVP candidate list construction process.
[0367]
Example 3. Whether a block can inherit affine model from a neighbouring block which uses CPR or not, may depend on reference list.
[0368]
(a) In one example, suppose the neighbouring block applies bi-prediction, the reference picture in reference list X (X may be 0 or 1) is the current picture and the reference picture in reference list (1-X) is not the current picture, then
[0369]
(i) Motion information of the neighbouring block referring to reference list X cannot be used to derive an affine merge candidate in the sub-block merge candidate list.
[0370]
(1) In one example, motion information of the neighbouring block referring to reference list (1-X) may be used to derive an affine merge candidate in the sub-block merge candidate list.
[0371]
(ii) Motion information of the neighbouring block referring to reference list X cannot be used to derive an affine AMVP candidate in the affine AMVP list.
[0372]
(1) For example, motion information of the neighbouring block referring to reference list X cannot be used to derive an affine AMVP candidate in the affine AMVP list for reference list X.
[0373]
(iii) Motion information of the neighbouring block referring to reference list (1-X) may be used to derive an affine AMVP candidate in the affine AMVP list.
[0374]
(1) For example, Motion information of the neighbouring block referring to reference list (1-X) may be used to derive an affine AMVP candidate in the affine AMVP list for reference list (1-X) .
[0375]
Example 4. CPR is not allowed to be used when GBi is applied (GBi weighting values are not equal on the two reference pictures) in a block.
[0376]
(a) In one example, a conformance bit-stream cannot use CPR and GBi simultaneously in a single block.
[0377]
(b) In one example, if CPR is used in a block, the GBi weighting index is not signaled and inferred to be 0 (weighting values are equal on the two reference pictures) .
[0378]
(c) In one example, if un-equal weights in GBi is applied (GBi weighting values are not equal on the two reference pictures) in a block, the CPR indication is not signaled and inferred to be 0 (CPR is not used) .
[0379]
Example 5. CPR is not allowed to be used when MMVD is applied in a block.
[0380]
(a) In one example, a conformance bit-stream cannot use CPR and MMVD simultaneously in a single block.
[0381]
(b) In one example, if CPR is used in a block, MMVD flag is not signaled and inferred to be 0 (weighting values are equal on the two reference pictures) .
[0382]
(c) In one example, if MMVD is applied in a block, the CPR indication is not signaled and inferred to be 0 (CPR is not used) .
[0383]
Example 6. CPR is allowed to be used when MMVD is applied in a block.
[0384]
(a) In one example, if the base MV candidate has at least one reference pictures referring to the current picture:
[0385]
(i) In one example, MMVD is based on the MV referring to the current picture, omitting the MV not referring to the current picture (if existing) ;
[0386]
(ii) In one example, the distances signaled by MMVD can only be integers.
[0387]
(iii) In one example, MMVD is uni-predicted.
[0388]
(b) In one example, if the base MV candidate has at least one reference pictures not referring to the current picture:
[0389]
(i) In one example, MMVD is based on the MV referring not to the current picture, omitting the MV referring to the current picture (if existing) ;
[0390]
Example 7. CPR is not allowed to be used when inter-intra prediction is applied in a block.
[0391]
(a) In one example, a conformance bit-stream cannot use CPR and inter-intra prediction simultaneously in a single block.
[0392]
(b) In one example, if CPR is used in a block, the inter-intra prediction flag is not signaled and inferred to be 0.
[0393]
(c) In one example, if inter-intra prediction is applied in a block, the CPR indication is not signaled and inferred to be 0 (CPR is not used) .
[0394]
Example 8. CPR is allowed to be used when inter-intra prediction is applied in a block.
[0395]
(a) In one example, if the merge candidate to do inter-intra prediction has at least one reference pictures referring to the current picture:
[0396]
(i) In one example, inter-intra prediction is based on the MV referring to the current picture, omitting the MV not referring to the current picture (if existing) ;
[0397]
(ii) In one example, the intra-prediction part of the inter-intra-prediction may be changed as:
[0398]
(1) Boundary filtering is not conducted;
[0399]
(2) Position Dependent Prediction Combination (PDPC) is not conducted;
[0400]
(3) Only these specific modes are allowed:
[0401]
○ MPMs
[0402]
○ DC
[0403]
○ Vertical
[0404]
○ Horizontal
[0405]
(iii) In one example, the inter-prediction part of the inter-intra-prediction is uni-predicted.
[0406]
(b) In one example, if the merge candidate to do inter-intra prediction has at least one reference pictures not referring to the current picture:
[0407]
(i) In one example, inter-intra prediction is based on the MV referring not to the current picture, omitting the MV referring to the current picture (if it exists) .
[0408]
Example 9. In the process of ATMVP:
[0409]
(a) A neighbouring block is treated as unavailable if it uses CPR;
[0410]
(b) If a block in the collocated picture uses CPR
[0411]
(i) It may be treated as unavailable in the ATMVP process;
[0412]
(ii) It may be treated as available and a MV’ can be derived from that block for the current block or sub-block.
[0413]
(1) In one example, the MV’ refers to the current picture and is copied from the block in the collocated picture.
[0414]
Example 10. When CPR is coded as a new mode in addition to intra, inter modes (instead of being indicated as a specific reference picture in a reference picture list) , whether to skip signalling of the CPR mode may depend on the decoded information of other coding methods.
[0415]
(a) In one example, the other coding methods may include, e.g., affine flag, inter-intra prediction flag, GBI index representing un-equal weights, MMVD, ATMVP.
[0416]
(b) When any one of the other coding method is applied to one block, the signalling of the CPR mode for this block is skipped.
[0417]
(c) Alternatively, whether to skip signalling of usage of other coding methods may depend on the decoded information of CPR mode.
[0418]
Example 11. When the luma component and chroma components are coded with separated coding structure trees:
[0419]
(a) In one example, when chroma components are coded, MV information (MV may refer to the current picture) of the corresponding block of the luma component can be used as a MV prediction or merge candidate.
[0420]
(i) The corresponding block of the luma component may be at any position (such as top-left, top-right, bottom-left, bottom-right or center) in the current chroma block.
[0421]
(1) If the colour format is not 4: 4: 4, the current chroma block should be scaled to find the corresponding luma block.
[0422]
(ii) In one example, there may be MV information from several corresponding blocks of the luma component severing as MV prediction or merge candidate for the current chroma block. Which one of them is selected may be signaled to the decoder or derived at the decoder.
[0423]
(b) The width/height of a chroma block using CPR may have restrictions.
[0424]
(i) In one example, the width/height of a chroma block using CPR may be restricted differently from an intra-coded chroma block.
[0425]
(ii) In one example, width >2 &&height >2 for intra coded block but width ≥ 2 &&height ≥ 2 for CPR coded.
[0426]
The examples described above may be incorporated in the context of the method described below, e.g., methods 2400, 2500, 2600 and 2700, which may be implemented at a video decoder or a video encoder.
[0427]
FIG. 24 shows a flowchart of an exemplary method for video processing. The method 2400 includes, at step 2410, performing a conversion between a current video block and a bitstream representation of the current video block consistent with a first coding rule that specifies applicability of current picture referencing (CPR) during coding or decoding of the current video block, wherein the first coding rule specifies at least one of (a) refraining from simultaneously using CPR and affine motion compensation during the conversion, or (b) disabling, for the conversion, inheriting an affine model of a neighboring block that uses CPR for coding, or (c) inheriting, for the conversion, the affine model of the neighboring block only in case that a coding condition is met, or (d) refraining from simultaneously using CPR and generalized bi-prediction (GBi) for the conversion, wherein the GBi uses non-equally weighted reference pictures, or (e) refraining from simultaneously using CPR and a merge with motion vector differences (MMVD) mode, or (f) simultaneously using CPR and the MMVD mode, or (g) refraining from simultaneously using CPR and inter-intra prediction, or (h) simultaneously using CPR and inter-intra prediction, or (i) simultaneously using an alternative temporal motion vector predictor.
[0428]
In some embodiments, and in the context of Example 1, integer precision is used for coding rule (a) .
[0429]
In some embodiments, and in the context of Example 6, the MMVD mode comprises a uni-prediction for coding rules (e) or (f) .
[0430]
In some embodiments, and in the context of Example 8, the inter-intra prediction comprises an intra-prediction part and an inter-prediction part for coding rules (g) and (h) . In an example, the intra-prediction part excludes boundary filtering. In another example, the intra-prediction part excludes position dependent prediction combination. In yet another example, the intra-prediction part comprises most probable mode selection, a DC prediction mode, a horizontal prediction mode or a vertical prediction mode. In yet another example, the inter-prediction part comprises uni-prediction.
[0431]
FIG. 25 shows a flowchart of another exemplary method for video processing. The method 2500 includes, at step 2510, determining that a neighboring block of a current video block is coded using a current picture referencing mode.
[0432]
The method 2500 includes, at step 2520, deriving, based on the determining, a merge candidate. In some embodiments, and in the context of Example 2, the merge candidate comprises a first affine model different from a second affine model of the neighboring block. In an example, the merge candidate comprises an affine merge candidate, and wherein the merge candidate list comprises a sub-block merge candidate list. In another example, the merge candidate comprises an affine AMVP candidate, and wherein the merge candidate list comprises an affine AMVP candidate list.
[0433]
In some embodiments, and in the context of Example 9, the merge candidate may include an alternative temporal motion vector prediction (ATMVP) candidate.
[0434]
The method 2500 includes, at step 2530, inserting the merge candidate into a merge candidate list.
[0435]
The method 2500 includes, at step 2540, reconstructing, based on the merge candidate list, the current video block.
[0436]
In some embodiments, and in the context of Example 3, the neighboring block applies bi-prediction, and the method 2500 further includes the step of determining, based on a first reference picture list or a second reference picture list, an affine model of the merge candidate. In an example, the first reference picture list comprises a current picture of the current video block, and the affine model is determined based on at least one picture in the second reference picture list. In another example, the merge candidate comprises an AMVP candidate, and the merge candidate list comprises an affine AMVP candidate list.
[0437]
FIG. 26 shows a flowchart of yet another exemplary method for video processing. The method 2600 includes, at step 2610, generating decoded information by decoding a first coding mode of a current video block that is coded with the first coding mode and a second coding mode that is different from the first coding mode.
[0438]
The method 2600 includes, at step 2620, determining, based on the decoded information, whether the first coding mode or the second coding mode is signaled in a bitstream representation of the current video block.
[0439]
The method 2600 includes, at step 2630, reconstructing, based on the determining, the current video block.
[0440]
In some embodiments, and in the context of Example 10, the first coding mode comprises an affine coding mode, an inter-intra prediction mode, a generalized bi-prediction prediction mode with unequal weights, a merge with motion vector differences mode or an alternative temporal motion vector prediction mode, the second coding mode comprises a CPR mode, and the bitstream representation excludes a flag for the CPR mode.
[0441]
In some embodiments, and in the context of Example 10, first coding mode comprises a current picture referencing (CPR) mode, the second coding mode comprises an affine coding mode, an inter-intra prediction mode, a generalized bi-prediction prediction mode with unequal weights, a merge with motion vector differences mode or an alternative temporal motion vector prediction mode, and the bitstream representation excludes a flag for the second coding mode.
[0442]
FIG. 27 shows a flowchart of yet another exemplary method for video processing. The method 2700 includes, at step 2710, determining that a current video block comprises a luma component that is coded using a first coding structure tree and a chroma component that is coded using a second coding structure tree different from the first coding structure tree.
[0443]
The method 2700 includes, at step 2720, reconstructing, based on the determining, the current video block. In some embodiments, and in the context of Example 11, the reconstructing comprises decoding the chroma component based on motion vector information that is derived from one or more corresponding blocks of the luma component. In an example, the one or more corresponding blocks of the luma component is in a top-left position, a top-right position, a bottom-left position, a bottom-right position or a center position of the current video block. In another example, the method 2700 further includes the step of scaling, upon determining that a color format of the chroma component is different from a 4: 4: 4 color format, the current video block to determine the one or more corresponding blocks of the luma component.
[0444]
In some embodiments, and in the context of Example 11, the current video block is coded using a current picture referencing (CPR) mode. In an example, a first set of restrictions on a height and a width of the current video block is different from a second set of restrictions on a height and a width of an intra-coded video block different from the current video block.
[0445]
5 Example implementations of the disclosed technology
[0446]
FIG. 28 is a block diagram of a video processing apparatus 2800. The apparatus 2800 may be used to implement one or more of the methods described herein. The apparatus 2800 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on. The apparatus 2800 may include one or more processors 2802, one or more memories 2804 and video processing hardware 2806. The processor (s) 2802 may be configured to implement one or more methods (including, but not limited to, methods 2400, 2500, 2600 and 2700) described in the present document. The memory (memories) 2804 may be used for storing data and code used for implementing the methods and techniques described herein. The video processing hardware 2806 may be used to implement, in hardware circuitry, some techniques described in the present document.
[0447]
FIG. 29 shows a flowchart of yet another exemplary method for video processing. The method 2900 includes, at step 2910, determining that an Intra-Block-Copy (IBC) mode is applied to a current video block of a video, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current video block is located in; at step 2920, making a decision regarding a disabling of a specific coding mode for the current block; at step 2930, performing, based on the decision, a conversion between the current video block and the bitstream representation, wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of a video block.
[0448]
FIG. 30 shows a flowchart of yet another exemplary method for video processing. The method 3000 includes, at step 3010, determining that a current video block is coded using a specific coding mode; at step 3020, making a decision regarding disabling of an Intra-Block-Copy (IBC) mode for the current block based on the determination, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current block is located in; at step 3030, performing, based on the decision, a conversion between the current block and the bitstream representation, wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of the current block.
[0449]
FIG. 31 shows a flowchart of yet another exemplary method for video processing. The method 3100 includes, at step 3110, determining an affine mode of a current video block, wherein whether the current video block inherits an affine mode from a neighbouring block depends on a reference list; at step 3120, performing a conversion between a current video block of a video and a bitstream representation of the video consistent based on the determination.
[0450]
FIG. 32 shows a flowchart of yet another exemplary method for video processing. The method 3200 includes, at step 3210, performing a conversion between a current video block of a video and a bitstream representation of the video consistent, wherein during the conversion an Intra-Block-Copy (IBC) mode and a merge with motion vector difference (MMVD) mode are used, and wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the MMVD mode, a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[0451]
FIG. 33 shows a flowchart of yet another exemplary method for video processing. The method 3300 includes, at step 3310, performing a conversion between a current video block of a video and a bitstream representation of the video, wherein during the conversion an Intra-Block-Copy (IBC) mode and an inter-intra prediction mode are used, and wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the inter-intra prediction mode, prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[0452]
FIG. 34 shows a flowchart of yet another exemplary method for video processing. The method 3400 includes, at step 3410, determining, during a conversion between a current video block and a bitstream representation of the current video block, decoded information of at least one coding method different from an IBC mode, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in; at step 3420, determining, based on the decoded information, whether to skip signaling of an IBC flag for the current video block in a bitstream representation of the current video block, wherein the IBC flag relates with the IB mode; and at step 3430, performing the conversion based on the determining.
[0453]
FIG. 35 shows a flowchart of yet another exemplary method for video processing. The method 3500 includes, at step 3510, during a conversion between a current video block and a bitstream representation of the current video block, wherein the current video block comprises a luma component that is coded using a first coding structure tree and a chroma component that is coded using a second coding structure tree different from the first coding structure tree, deriving first motion vector information for a chroma block from second motion vector information of one or more corresponding blocks of the luma component of the current video block; at step 3520, performing the conversion based on the first motion vector information and the second vector information.
[0454]
FIG. 36 shows a flowchart of yet another exemplary method for video processing. The method 3600 includes, at step 3610, determining whether an Intra Block Copy (IBC) mode, in which at least one reference picture used by the current video block is identical to a picture in which the current video block is located, is applied for the current video block; at step 3620, signaling whether the IBC mode is applied for the current video block; at step 3630, refraining from signaling flags for a group of prediction modes based on determining that the IBC mode is applied for the current video block; and at step 3640, performing the conversion for the current video block based on the application of the IBC mode.
[0455]
FIG. 37 shows a flowchart of yet another exemplary method for video processing. The method 3700 includes, at step 3710, parsing a bitstream to determining whether an Intra Block Copy (IBC) mode, in which at least one reference picture used by the current video block is identical to a picture in which the current video block is located, is applied for the current video block; at step 3720, performing the conversion for the current video block based on the application of the IBC mode, wherein flags for a group of prediction modes are excluded from the bitstream based on determining that the CPR is applied for the current video block.
[0456]
FIG. 38 shows a flowchart of yet another exemplary method for video processing. The method 3800 includes, at step 3810, in a process of acquiring motion information of a current video block, during a conversion between the current video block and a bitstream representation of the current video block, wherein the motion information of the current video block is based on at least one affine model of at least one neighboring block of the current video block; at step 3820, determining whether a neighboring block of the current video block uses an Intra-Block Copy (IBC) mode in which at least one reference picture used by the neighboring video block is identical to a picture in which the neighboring block is located; at step 3830, disabling, for the current video block, to derive an affine candidate from the neighboring block based on determining that the neighbouring block uses the IBC mode; and at step 3830, performing the conversion based on the motion information of the current video block.
[0457]
FIG. 39 shows a flowchart of yet another exemplary method for video processing. The method 3900 includes, at step 3910, splitting a current video block into sub-blocks, during a conversion between a current video block and a bitstream representation of the current video block based on subblock-based temporal motion vector prediction (SbTMVP) mode; at step 3920, identifying, based on motion information of a spatial neighboring block of the current video block, a corresponding block, for a sub-block, in a motion source picture with a temporal vector; at step 3930, generating, based on coded mode information of the corresponding block, a motion vector and a reference index of the sub-block from the corresponding block of the sub-block; at step 3940, performing the conversion based on the generated motion vector and reference index.
[0458]
FIG. 40 shows a flowchart of yet another exemplary method for video processing. The method 4000 includes, at step 4010, splitting a current video block into sub-blocks, during a conversion between a current video block and a bitstream representation of the current video block based on subblock-based temporal motion vector prediction (SbTMVP) mode; at step 4020, identifying, based on coded mode information of a spatial neighboring block of the current video block, a corresponding block, for a sub-block, in a motion source picture with a temporal vector; at step 4030, generating a motion vector and a reference index of the sub-block from the corresponding block of the sub-block; at step 4040, performing the conversion based on the generated motion vector and reference index.
[0459]
In some embodiments, the video coding methods may be implemented using an apparatus that is implemented on a hardware platform as described with respect to FIG. 28.
[0460]
Some embodiments may be described using the following examples.
[0461]
1.1. A method for video processing, comprising: determining that an Intra-Block-Copy (IBC) mode is applied to a current video block of a video, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current video block is located in; making a decision regarding a disabling of a specific coding mode for the current block; performing, based on the decision, a conversion between the current video block and the bitstream representation; wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of a video block.
[0462]
1.2. The method of example 1.1, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0463]
1.3. The method of example 1.1, wherein the conversion comprises decoding the bitstream representation of the current video block to generate pixel values of the current video block.
[0464]
1.4. The method of any of examples 1-3, wherein the specific coding mode comprises an affine motion compensation mode, wherein the affine motion compensation mode uses at least one control point motion vector.
[0465]
1.5. The method of example 1.4, wherein reference picture indices is signaled, and the signaling of an affine flag is skipped in response to the current video block using the IBC mode.
[0466]
1.6. The method of example 1.4, the method further comprises: before the affine flag is signaled, signaling reference picture indices and determining whether bi-prediction mode is used for the current video block, wherein if bi-prediction mode is used for the current video block and only one reference picture is the current reference picture, then the affine flag is signaled; and if bi-prediction mode is used for the current video block and both reference pictures are the current reference picture, then the affine flag is not signaled.
[0467]
1.7. The method of example 1.6, wherein integer precision is used for motion vectors of the current video block.
[0468]
1.8. The method of any of examples 1.1-1.7, wherein the specific coding mode comprises a GBi mode, wherein in the GBI mode, different weighting values relates with different reference pictures.
[0469]
1.9. The method of example 1.8, wherein a GBi weighting index is not signaled in response to the IBC mode being used in the current block.
[0470]
1.10 The method of example 1.8, wherein the GBi weighting index is inferred to be 0.
[0471]
1.11. The method of any of examples 1.1-1.10, wherein the specific coding mode comprises a merge with motion vector difference (MMVD) mode, wherein in the MMVD mode, a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[0472]
1.12. The method of example 1.11, wherein an MMVD flag is not signaled in response to the IBC mode being used in the current video block.
[0473]
1.13. The method of example 1.12, wherein the MMVD flag is inferred to be zero.
[0474]
1.14. The method of any of examples 1.1-1.13, the specific coding mode comprises a combined inter-intra prediction (CIIP) mode, wherein in the CIIP mode, a prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[0475]
1.15. The method of example 1.14, wherein a CIIP flag for the current video block is not signaled in response to the IBC mode being used in the current block.
[0476]
1.16. The method of example 1.15, wherein the CIIP flag is inferred to be zero.
[0477]
1.17. A method for video processing, comprising: determining that a current video block is coded using a specific coding mode; making a decision regarding disabling of an Intra-Block-Copy (IBC) mode for the current block based on the determination, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current block is located in; performing, based on the decision, a conversion between the current block and the bitstream representation; wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of the current block.
[0478]
1.18. The method of example 1.17, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0479]
1.19. The method of example 1.17, wherein the conversion comprises decoding the bitstream representation of the current video block to generate pixel values of the current video block.
[0480]
1.20. The method of any one of examples 1.1-1.3, wherein the specific coding mode comprises an affine motion compensation mode, wherein the affine motion compensation uses at least one control point motion vector.
[0481]
1.21. The method of example 1.20, wherein an affine flag in block level is signaled in the bitstream indicating whether the affine motion compensation mode is enabled or not for the current video block, and if the affine flag indicates that the affine motion compensation mode is enabled for the current video block, then it is not signaled whether the IBC mode is applied.
[0482]
1.22. The method of any one of examples 1.17-1.19, wherein the specific coding mode comprises a GBi mode, wherein in the GBI mode, different weighting values relates with different reference pictures.
[0483]
1.23. The method of example 1.22, wherein an IBC indication is not signaled in response to the GBI mode being applied.
[0484]
1.24. The method of example 1.23, wherein the IBC indication is inferred to be 0.
[0485]
1.25. The method of any one of examples 1.17-1.24, wherein the specific coding mode comprises a merge with motion vector difference (MMVD) mode, wherein in the MMVD mode, a motion vector of the current block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[0486]
1.26. The method of example 1.25, wherein an IBC indication is not signaled in response to the MMVD mode being applied in the current video block.
[0487]
1.27. The method of example 1.26, wherein the IBC indication is inferred to be zero.
[0488]
1.28. The method of any of examples 1.17-1.27, the specific coding mode comprises a combined inter-intra prediction (CIIP) mode, wherein in the CIIP mode, a prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[0489]
1.29. The method of example 1.28, wherein an IBC flag for the current video block is not signaled in response to the inter-intra prediction mode being applied.
[0490]
1.30. The method of example 1.29, wherein the IBC flag is inferred to be zero.
[0491]
1.31. A method for video processing, comprising: determining an affine mode of a current video block, wherein whether the current video block inherits an affine mode from a neighbouring block depends on a reference list; performing a conversion between a current video block of a video and a bitstream representation of the video consistent based on the determination.
[0492]
1.32 The method of example 1.31, wherein the neighbouring block applies bi-prediction, a reference picture in a reference list X is the current picture and a reference picture in a reference list (1-X) is not the current picture, wherein X is 0 or 1.
[0493]
1.33. The method of example 1.32, wherein motion information of the neighbouring block referring to the reference list X is not used to derive an affine merge candidate in a sub-block merge candidate list.
[0494]
1.34. The method of example 1.32 or 1.33, wherein motion information of the neighbouring block referring to the reference list (1-X) is used to derive the affine merge candidate in the sub-block merge candidate list.
[0495]
1.35. The method of example 1.32, wherein motion information of the neighbouring block referring to the reference list X is not used to derive an affine AMVP candidate in an affine AMVP list.
[0496]
1.36. The method of example 1.35, wherein the motion information of the neighbouring block referring to the reference list X is not used to derive the affine AMVP candidate in the affine AMVP list for the reference list X.
[0497]
1.37. The method of example 1.32, wherein motion information of the neighbouring block referring to the reference list (1-X) is used to derive an affine AMVP candidate in an affine AMVP list.
[0498]
1.38. The method of example 1.37, wherein the motion information of the neighbouring block referring to the reference list (1-X) is used to derive the affine AMVP candidate in the affine AMVP list for the reference list (1-X) .
[0499]
1.39. A method for video processing, comprising: performing a conversion between a current video block of a video and a bitstream representation of the video consistent; wherein during the conversion an Intra-Block-Copy (IBC) mode and a merge with motion vector difference (MMVD) mode are used, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the MMVD mode, a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[0500]
1.40. The method of example 1.39, wherein, the MMVD mode uses a base MV candidate which has at least one reference picture referring to the current picture.
[0501]
1.41. The method of example 1.40, wherein the MMVD is based on at least one MV referring to the current picture, and an MV not referring to the current picture is omitted if existing.
[0502]
1.42. The method of example 1.41, wherein distances signaled by the MMVD are integers.
[0503]
1.43. The method of example 1.41, wherein the MMVD is uni-predicted.
[0504]
1.44. The method of example 1.39, wherein if the MMVD mode uses a base MV candidate which has at least one reference pictures not referring to the current picture, the MMVD is based on at least one MV referring not to the current picture, and an MV referring to the current picture is omitted if existing.
[0505]
1.45. A method for video processing, comprising: performing a conversion between a current video block of a video and a bitstream representation of the video; wherein during the conversion an Intra-Block-Copy (IBC) mode and an inter-intra prediction mode are used, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the inter-intra prediction mode, prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[0506]
1.46. The method of example 1.45, wherein a merge candidate to be inter-intra predicted has at least one reference picture referring to the current picture.
[0507]
1.47. The method of example 1.46, wherein the inter-intra prediction is based on at least one MV referring to the current picture, and an MV not referring to the current picture is omitted if existing.
[0508]
1.48. The method of example 1.45, wherein an intra-prediction part of the inter-intra prediction mode excludes boundary filtering.
[0509]
1.49. The method of example 1.45, wherein an intra-prediction part of the inter-intra prediction mode excludes position dependent prediction combination (PDPC) .
[0510]
1.50. The method of example 1.45, wherein an intra-prediction part of the inter-intra prediction mode comprises at least one of: most probable mode selection (MPMs) , a DC prediction mode, a horizontal prediction mode or a vertical prediction mode.
[0511]
1.51. The method of example 1.45, wherein an inter-prediction part of the inter-intra prediction mode is uni-predicted.
[0512]
1.52. The method of any of examples 1.45-1.51, wherein if a merge candidate to be inter-intra predicted has at least one reference pictures not referring to the current picture, the inter-intra prediction based on at least one MV referring not to the current picture is performed and the MV referring to the current picture is omitted if existing.
[0513]
1.53. A method for video processing, comprising: determining, during a conversion between a current video block and a bitstream representation of the current video block, decoded information of at least one coding method different from an IBC mode, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in; determining, based on the decoded information, whether to skip signaling of an IBC flag for the current video block in a bitstream representation of the current video block, wherein the IBC flag relates with the IB mode; and performing the conversion based on the determining.
[0514]
1.54. The method of example 1.53, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0515]
1.55. The method of example 1.53, wherein the conversion comprises decoding the bitstream representation of the current video block current video block to generate pixel values of the current video block.
[0516]
1.56. The method of any of examples 1.53-1.55, further comprising: if it is determined not to skip signaling of the IBC flag in the determining step, signaling the IBC flag for the current video block in the bitstream representation; otherwise, refraining from signaling the IBC flag for the current video block in the bitstream representation.
[0517]
1.57. The method of any of examples 1.53-1.56, wherein it is determined to skip signaling of the IBC flag when the decoded information of coding method comprises at least one of an affine flag, an inter-intra prediction flag, a generalized bi-prediction prediction (GBi) index, a merge with motion vector differences (MMVD) information, an alternative temporal motion vector prediction (ATMVP) information.
[0518]
1.58. A method for video processing, comprising: during a conversion between a current video block and a bitstream representation of the current video block, wherein the current video block comprises a luma component that is coded using a first coding structure tree and a chroma component that is coded using a second coding structure tree different from the first coding structure tree, deriving first motion vector information for a chroma block from second motion vector information of one or more corresponding blocks of the luma component of the current video block; performing the conversion based on the first motion vector information and the second vector information.
[0519]
1.59. The method of example 1.58, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0520]
1.60. The method of example 1.58, wherein the conversion comprises decoding the bitstream representation of the current video block current video block to generate pixel values of the current video block.
[0521]
1.61. The method of example 1.58, wherein the first motion vector information is used as a MV predication or a merge candidate to derive the second motion vector information.
[0522]
1.62. The method of and of examples 1.58-1.61, wherein the one or more corresponding blocks of the luma component are in a top-left position, a top-right position, a bottom-left position, a bottom-right position and/or a center position of the current video block.
[0523]
1.63. The method of example 1.62, further comprising: determining whether a color format of the chroma component is different from a 4: 4: 4 color format; and scaling, upon determining that the color format of the chroma component is different from a 4: 4: 4 color format, the current video block to determine the one or more corresponding blocks of the luma component.
[0524]
1.64. The method of any of examples 1.58-1.60, wherein the current video block is coded using an Intra-Block-Copy (IBC) mode.
[0525]
1.65. The method of example 1.64, wherein a first set of restrictions on a height and a width of the current video block is different from a second set of restrictions on a height and a width of an intra-coded video block different from the current video block.
[0526]
1.66. The method of example 1.65, wherein the width of the current video block is greater than 2 and the height is greater than 2 when the current video block is coded using an intra block copy mode, and the width of the current video block is greater or equal to 2 and the height is greater or equal to 2 when the current video block is coded using the IBC mode.
[0527]
1.67. An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of examples 1.1 to 1.66.
[0528]
1.68. A computer program product stored on a non-transitory computer readable media, the computer program product including program code for carrying out the method in any one of examples 1.1 to 1.66.
[0529]
2.1. A method for video processing, comprising: determining whether an Intra Block Copy (IBC) mode, in which at least one reference picture used by the current video block is identical to a picture in which the current video block is located , is applied for the current video block; signaling whether the IBC mode is applied for the current video block; refraining from signaling flags for a group of prediction modes based on determining that the IBC mode is applied for the current video block; and performing the conversion for the current video block based on the application of the IBC mode.
[0530]
2.2. The method of example 2.1, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0531]
2.3. The method of example 2.1 or 2.2, wherein the group of prediction modes include an affine mode, wherein the affine mode uses at least one control point motion vector.
[0532]
2.4. The method of example 2.3, wherein the determining whether the IBC mode is applied for the current video block takes place before an affine flag is signaled; and the method further comprises: if it is determined that the IBC mode is applied for the current video block, then refraining from signaling the affine flag; and otherwise, signaling the affine flag.
[0533]
2.5. The method of example 2.4, wherein when the affine flag is not signaled, the affine flag is inferred to be zero.
[0534]
2.6. The method of any of examples 2.1-2.5, wherein, the group of prediction modes include a generalized bi-prediction (GBi) mode, wherein in the GBI mode, different weighting values relates with different reference pictures.
[0535]
2.7. The method of example 2.6, wherein the determining whether the IBC mode is applied for the current video block takes place before a GBi index is signaled; and the method further comprises: if it is determined that the IBC mode is applied for the current video block, then refraining from signaling GBi weighting index, and otherwise, signaling the GBi weighting index.
[0536]
2.8. The method of example 2.7, wherein when the GBi weighting index is not signaled, the weighting values of the reference pictures used by the GBi are inferred to be zero.
[0537]
2.9. A method for video processing, comprising: parsing a bitstream to determining whether an Intra Block Copy (IBC) mode, in which at least one reference picture used by the current video block is identical to a picture in which the current video block is located, is applied for the current video block; performing the conversion for the current video block based on the application of the IBC mode, wherein flags for a group of prediction modes are excluded from the bitstream based on determining that the CPR is applied for the current video block.
[0538]
2.10. The method of example 2.9, wherein the conversion comprises decoding the bitstream representation of the current video block current video block to generate pixel values of the current video block.
[0539]
2.11. The method of example 2.9 or 2.10, wherein the flag for the prediction mode is inferred to be zero.
[0540]
2.12. The method of any of examples 2.9-2.11, wherein the group of prediction modes include at least one of: an affine mode in which at least one control point motion vector is used, an inter-intra prediction mode in which a prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal, a generalized bi-prediction prediction (GBi) mode with unequal weights, a merge with motion vector differences (MMVD) mode in which a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference, and an alternative temporal motion vector prediction (ATMVP) mode in which motion information of a subblock of the current video block is based on a corresponding block that is determined by motion information of a spatial neighboring block of the current video block.
[0541]
2.13. An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of examples 2.1 to 2.12.
[0542]
2.14. A computer program product stored on a non-transitory computer readable media, the computer program product including program code for carrying out the method in any one of examples 2.1 to 2.12.
[0543]
2.15. A video decoding apparatus comprising a processor configured to implement a method recited in one or more of examples 2.1 to 2.12.
[0544]
2.16. A video encoding apparatus comprising a processor configured to implement a method recited in one or more of examples 2.1 to 2.12.
[0545]
3.1. A method for video processing, comprising: in a process of acquiring motion information of a current video block, during a conversion between the current video block and a bitstream representation of the current video block, wherein the motion information of the current video block is based on at least one affine model of at least one neighboring block of the current video block, determining whether a neighboring block of the current video block uses an Intra-Block Copy (IBC) mode in which at least one reference picture used by the neighboring video block is identical to a picture in which the neighboring block is located; disabling, for the current video block, to derive an affine candidate from the neighboring block based on determining that the neighbouring block uses the IBC mode; and performing the conversion based on the motion information of the current video block.
[0546]
3.2. The method of example 3.1, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0547]
3.3. The method of example 3.1, wherein the conversion comprises decoding the bitstream representation of the current video block to generate pixel values of the current video block.
[0548]
3.4. The method of any of examples 3.1-3.3, wherein the method further comprising: deriving, based on determining that the neighbouring block does not use the IBC mode, an affine candidate for the current video block from the neighbouring block.
[0549]
3.5. The method of any of examples 3.1-3.4, wherein the affine candidate comprises an affine merge candidate, and wherein the affine candidate is in a sub-block merge candidate list
[0550]
3.6. The method of example 3.5, wherein the neighbouring block is treated as unavailable based on determining that the neighbouring block uses the IBC mode.
[0551]
3.7. The method of any of examples 3.1-3.4, wherein the affine candidate comprises an affine Advanced Motion Vector Prediction (AMVP) candidate, and wherein the affine candidate is in an affine AMVP list.
[0552]
3.8. The method of example 3.7, wherein the neighbouring block is treated as unavailable based on determining that the neighbouring block uses the IBC mode.
[0553]
3.9. An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of examples 3.1 to 3.8.
[0554]
3.10. A computer program product stored on a non-transitory computer readable media, the computer program product including program code for carrying out the method in any one of examples 3.1 to 3.8.
[0555]
3.11. A video decoding apparatus comprising a processor configured to implement a method recited in one or more of examples 3.1 to 3.8.
[0556]
3.12. A video encoding apparatus comprising a processor configured to implement a method recited in one or more of examples 3.1 to 3.8.
[0557]
4.1. A method for video processing, comprising: splitting a current video block into sub-blocks, during a conversion between a current video block and a bitstream representation of the current video block based on subblock-based temporal motion vector prediction (SbTMVP) mode; identifying, based on motion information of a spatial neighboring block of the current video block, a corresponding block, for a sub-block, in a motion source picture with a temporal vector; generating, based on coded mode information of the corresponding block, a motion vector and a reference index of the sub-block from the corresponding block of the sub-block; performing the conversion based on the generated motion vector and reference index.
[0558]
4.2. The method of example 4.1, wherein the motion source picture is a collocated reference picture of the current video block.
[0559]
4.3. The method of any of examples 4.1-4.2, wherein the corresponding block is coded with an Inra Block Copy (IBC) mode, in which a reference block of the corresponding block includes at least one pixel in a picture that includes the corresponding block.
[0560]
4.4. The method of example 4.3, further comprising: treating the corresponding block as unavailable during the conversion.
[0561]
4.5. The method of example 4.4, further comprising: refraining from deriving the motion vector and the reference picture of the sub-block from the corresponding block.
[0562]
4.6. The method of example 4.5, further comprising: assigning default motion information to the current video block.
[0563]
4.7. The method of example 4.3, wherein the corresponding block is treated as available and the motion vector and the reference picture of the sub-block is derived from the corresponding block.
[0564]
4.8. The method of example 4.7, wherein the motion vector of the sub-block is copied from that associated with the corresponding block.
[0565]
4.9. The method of example 4.1, wherein the spatial neighboring block is treated as unavailable if it uses an IBC mode, in which a reference block of the spatial neighboring block includes at least one pixel in a picture that includes the spatial block.
[0566]
4.10. A method for video processing, comprising: splitting a current video block into sub-blocks, during a conversion between a current video block and a bitstream representation of the current video block based on subblock-based temporal motion vector prediction (SbTMVP) mode; identifying, based on coded mode information of a spatial neighboring block of the current video block, a corresponding block, for a sub-block, in a motion source picture with a temporal vector; generating a motion vector and a reference index of the sub-block from the corresponding block of the sub-block; performing the conversion based on the generated motion vector and reference index.
[0567]
4.11. The method of example 4.10, wherein the motion source picture is a collocated reference picture of the current video block.
[0568]
4.12. The method of any of examples 4.10-4.11, wherein the spatial neighboring block is coded with an Inra Block Copy (IBC) mode, in which a reference block of the spatial neighboring block includes at least one pixel in a picture that includes the spatial neighboring block.
[0569]
4.13. The method of example 4.12, further comprising: treating the spatial neighboring block as unavailable during the conversion.
[0570]
4.14. The method of example 4.13, further comprising: refraining from identifying the corresponding block based on a motion vector of the spatial neighboring block.
[0571]
4.15. The method of example 4.14, further comprising: default motion information is assigned to identify the corresponding block.
[0572]
4.16. The method of any examples of 4.1 to 4.15, wherein the conversion comprises encoding the current video block into the bitstream representation.
[0573]
4.17. The method of any examples of 4.1 to 4.15, wherein the conversion comprises decoding the bitstream representation of the current video block to generate pixel values of the current video block.
[0574]
4.18. An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of examples 4.1 to 4.15.
[0575]
4.19. A computer program product stored on a non-transitory computer readable media, the computer program product including program code for carrying out the method in any one of examples 4.1 to 4.15.
[0576]
4.20. A video decoding apparatus comprising a processor configured to implement a method recited in one or more of examples 4.1 to 4.15.
[0577]
4.21. A video encoding apparatus comprising a processor configured to implement a method recited in one or more of examples 4.1 to 4.15.
[0578]
From the foregoing, it will be appreciated that specific embodiments of the presently disclosed technology have been described herein for purposes of illustration, but that various modifications may be made without deviating from the scope of the invention. Accordingly, the presently disclosed technology is not limited except as by the appended claims.
[0579]
Implementations of the subject matter and the functional operations described in this patent document can be implemented in various systems, digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this specification and their structural equivalents, or in combinations of one or more of them. Implementations of the subject matter described in this specification 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, data processing apparatus. The computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more of them. The term “data processing unit” or “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
[0580]
A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document) , in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code) . A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
[0581]
The processes and logic flows described in this specification can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit) .
[0582]
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Computer readable media suitable for storing computer program instructions and data include all forms of nonvolatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
[0583]
It is intended that the specification, together with the drawings, be considered exemplary only, where exemplary means an example. As used herein, the use of “or” is intended to include “and/or” , unless the context clearly indicates otherwise.
[0584]
While this patent document contains many specifics, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular inventions. Certain features that are described in this patent document in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
[0585]
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Moreover, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.
[0586]
Only a few implementations and examples are described and other implementations, enhancements and variations can be made based on what is described and illustrated in this patent document.

Claims

[Claim 1]
A method for video processing, comprising: determining that an Intra-Block-Copy (IBC) mode is applied to a current video block of a video, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current video block is located in; making a decision regarding a disabling of a specific coding mode for the current block; performing, based on the decision, a conversion between the current video block and the bitstream representation; wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of a video block.
[Claim 2]
The method of claim 1, wherein the conversion comprises encoding the current video block into the bitstream representation.
[Claim 3]
The method of claim 1, wherein the conversion comprises decoding the bitstream representation of the current video block to generate pixel values of the current video block.
[Claim 4]
The method of any of claims 1-3, wherein the specific coding mode comprises an affine motion compensation mode, wherein the affine motion compensation mode uses at least one control point motion vector.
[Claim 5]
The method of claim 4, wherein reference picture indices is signaled, and the signaling of an affine flag is skipped in response to the current video block using the IBC mode.
[Claim 6]
The method of claim 4, the method further comprises: before the affine flag is signaled, signaling reference picture indices and determining whether bi-prediction mode is used for the current video block, wherein if bi-prediction mode is used for the current video block and only one reference picture is the current reference picture, then the affine flag is signaled; and if bi-prediction mode is used for the current video block and both reference pictures are the current reference picture, then the affine flag is not signaled.
[Claim 7]
The method of claim 6, wherein integer precision is used for motion vectors of the current video block.
[Claim 8]
The method of any of claims 1-7, wherein the specific coding mode comprises a GBi mode, wherein in the GBI mode, different weighting values relates with different reference pictures.
[Claim 9]
The method of claim 8, wherein a GBi weighting index is not signaled in response to the IBC mode being used in the current block.
[Claim 10]
The method of claim 8, wherein the GBi weighting index is inferred to be 0.
[Claim 11]
The method of any of claims 1-10, wherein the specific coding mode comprises a merge with motion vector difference (MMVD) mode, wherein in the MMVD mode, a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[Claim 12]
The method of claim 11, wherein an MMVD flag is not signaled in response to the IBC mode being used in the current video block.
[Claim 13]
The method of claim 12, wherein the MMVD flag is inferred to be zero.
[Claim 14]
The method of any of claims 1-13, the specific coding mode comprises a combined inter-intra prediction (CIIP) mode, wherein in the CIIP mode, a prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[Claim 15]
The method of claim 14, wherein a CIIP flag for the current video block is not signaled in response to the IBC mode being used in the current block.
[Claim 16]
The method of claim 15, wherein the CIIP flag is inferred to be zero.
[Claim 17]
A method for video processing, comprising: determining that a current video block is coded using a specific coding mode; making a decision regarding disabling of an Intra-Block-Copy (IBC) mode for the current block based on the determination, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture where the current block is located in; performing, based on the decision, a conversion between the current block and the bitstream representation; wherein the specific coding mode uses a motion vector and a non-current picture to derive a prediction of the current block.
[Claim 18]
The method of claim 17, wherein the conversion comprises encoding the current video block into the bitstream representation.
[Claim 19]
The method of claim 17, wherein the conversion comprises decoding the bitstream representation of the current video block to generate pixel values of the current video block.
[Claim 20]
The method of any one of claims 1-3, wherein the specific coding mode comprises an affine motion compensation mode, wherein the affine motion compensation uses at least one control point motion vector.
[Claim 21]
The method of claim 20, wherein an affine flag in block level is signaled in the bitstream indicating whether the affine motion compensation mode is enabled or not for the current video block, and if the affine flag indicates that the affine motion compensation mode is enabled for the current video block, then it is not signaled whether the IBC mode is applied.
[Claim 22]
The method of any one of claims 17-19, wherein the specific coding mode comprises a GBi mode, wherein in the GBI mode, different weighting values relates with different reference pictures.
[Claim 23]
The method of claim 22, wherein an IBC indication is not signaled in response to the GBI mode being applied.
[Claim 24]
The method of claim 23, wherein the IBC indication is inferred to be 0.
[Claim 25]
The method of any one of claims 17-24, wherein the specific coding mode comprises a merge with motion vector difference (MMVD) mode, wherein in the MMVD mode, a motion vector of the current block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[Claim 26]
The method of claim 25, wherein an IBC indication is not signaled in response to the MMVD mode being applied in the current video block.
[Claim 27]
The method of claim 26, wherein the IBC indication is inferred to be zero.
[Claim 28]
The method of any of claims 17-27, the specific coding mode comprises a combined inter-intra prediction (CIIP) mode, wherein in the CIIP mode, a prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[Claim 29]
The method of claim 28, wherein an IBC flag for the current video block is not signaled in response to the inter-intra prediction mode being applied.
[Claim 30]
The method of claim 29, wherein the IBC flag is inferred to be zero.
[Claim 31]
A method for video processing, comprising: determining an affine mode of a current video block, wherein whether the current video block inherits an affine mode from a neighbouring block depends on a reference list; performing a conversion between a current video block of a video and a bitstream representation of the video consistent based on the determination.
[Claim 32]
The method of claim 31, wherein the neighbouring block applies bi-prediction, a reference picture in a reference list X is the current picture and a reference picture in a reference list (1-X) is not the current picture, wherein X is 0 or 1.
[Claim 33]
The method of claim 32, wherein motion information of the neighbouring block referring to the reference list X is not used to derive an affine merge candidate in a sub-block merge candidate list.
[Claim 34]
The method of claim 32 or 33, wherein motion information of the neighbouring block referring to the reference list (1-X) is used to derive the affine merge candidate in the sub-block merge candidate list.
[Claim 35]
The method of claim 32, wherein motion information of the neighbouring block referring to the reference list X is not used to derive an affine AMVP candidate in an affine AMVP list.
[Claim 36]
The method of claim 35, wherein the motion information of the neighbouring block referring to the reference list X is not used to derive the affine AMVP candidate in the affine AMVP list for the reference list X.
[Claim 37]
The method of claim 32, wherein motion information of the neighbouring block referring to the reference list (1-X) is used to derive an affine AMVP candidate in an affine AMVP list.
[Claim 38]
The method of claim 37, wherein the motion information of the neighbouring block referring to the reference list (1-X) is used to derive the affine AMVP candidate in the affine AMVP list for the reference list (1-X) .
[Claim 39]
A method for video processing, comprising: performing a conversion between a current video block of a video and a bitstream representation of the current video block; wherein during the conversion an Intra-Block-Copy (IBC) mode and a merge with motion vector difference (MMVD) mode are used, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the MMVD mode, a motion vector of a video block is derived based on a merge motion candidate list and is further refined by at least one motion vector difference.
[Claim 40]
The method of claim 39, wherein, the MMVD mode uses a base MV candidate which has at least one reference picture referring to the current picture.
[Claim 41]
The method of claim 40, wherein the MMVD is based on at least one MV referring to the current picture, and an MV not referring to the current picture is omitted if existing.
[Claim 42]
The method of claim 41, wherein distances signaled by the MMVD are integers.
[Claim 43]
The method of claim 41, wherein the MMVD is uni-predicted.
[Claim 44]
The method of claim 39, wherein if the MMVD mode uses a base MV candidate which has at least one reference pictures not referring to the current picture, the MMVD is based on at least one MV referring not to the current picture, and an MV referring to the current picture is omitted if existing.
[Claim 45]
A method for video processing, comprising: performing a conversion between a current video block of a video and a bitstream representation of the video; wherein during the conversion an Intra-Block-Copy (IBC) mode and an inter-intra prediction mode are used, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in, and in the inter-intra prediction mode, prediction signal of the current video block is generated at least based on an intra prediction signal and an inter prediction signal.
[Claim 46]
The method of claim 45, wherein a merge candidate to be inter-intra predicted has at least one reference picture referring to the current picture.
[Claim 47]
The method of claim 46, wherein the inter-intra prediction is based on at least one MV referring to the current picture, and an MV not referring to the current picture is omitted if existing.
[Claim 48]
The method of claim 45, wherein an intra-prediction part of the inter-intra prediction mode excludes boundary filtering.
[Claim 49]
The method of claim 45, wherein an intra-prediction part of the inter-intra prediction mode excludes position dependent prediction combination (PDPC) .
[Claim 50]
The method of claim 45, wherein an intra-prediction part of the inter-intra prediction mode comprises at least one of: most probable mode selection (MPMs) , a DC prediction mode, a horizontal prediction mode or a vertical prediction mode.
[Claim 51]
The method of claim 45, wherein an inter-prediction part of the inter-intra prediction mode is uni-predicted.
[Claim 52]
The method of any of claims 45-51, wherein if a merge candidate to be inter-intra predicted has at least one reference pictures not referring to the current picture, the inter-intra prediction based on at least one MV referring not to the current picture is performed and the MV referring to the current picture is omitted if existing.
[Claim 53]
A method for video processing, comprising: determining, during a conversion between a current video block and a bitstream representation of the current video block, decoded information of at least one coding method different from an IBC mode, wherein in the IBC mode, at least one reference picture used by the current video block is a current picture in which the current video block is located in; determining, based on the decoded information, whether to skip signaling of an IBC flag for the current video block in a bitstream representation of the current video block, wherein the IBC flag relates with the IB mode; and performing the conversion based on the determining.
[Claim 54]
The method of claim 53, wherein the conversion comprises encoding the current video block into the bitstream representation.
[Claim 55]
The method of claim 53, wherein the conversion comprises decoding the bitstream representation of the current video block current video block to generate pixel values of the current video block.
[Claim 56]
The method of any of claims 53-55, further comprising: if it is determined not to skip signaling of the IBC flag in the determining step, signaling the IBC flag for the current video block in the bitstream representation; otherwise, refraining from signaling the IBC flag for the current video block in the bitstream representation.
[Claim 57]
The method of any of claims 53-56, wherein it is determined to skip signaling of the IBC flag when the decoded information of coding method comprises at least one of an affine flag, an inter-intra prediction flag, a generalized bi-prediction prediction (GBi) index, a merge with motion vector differences (MMVD) information, an alternative temporal motion vector prediction (ATMVP) information.
[Claim 58]
A method for video processing, comprising: during a conversion between a current video block and a bitstream representation of the current video block, wherein the current video block comprises a luma component that is coded using a first coding structure tree and a chroma component that is coded using a second coding structure tree different from the first coding structure tree, deriving first motion vector information for a chroma block from second motion vector information of one or more corresponding blocks of the luma component of the current video block; performing the conversion based on the first motion vector information and the second vector information.
[Claim 59]
The method of claim 58, wherein the conversion comprises encoding the current video block into the bitstream representation.
[Claim 60]
The method of claim 58, wherein the conversion comprises decoding the bitstream representation of the current video block current video block to generate pixel values of the current video block.
[Claim 61]
The method of claim 58, wherein the first motion vector information is used as a MV predication or a merge candidate to derive the second motion vector information.
[Claim 62]
The method of and of claims 58-61, wherein the one or more corresponding blocks of the luma component are in a top-left position, a top-right position, a bottom-left position, a bottom-right position and/or a center position of the current video block.
[Claim 63]
The method of claim 62, further comprising: determining whether a color format of the chroma component is different from a 4: 4: 4 color format; and scaling, upon determining that the color format of the chroma component is different from a 4: 4: 4 color format, the current video block to determine the one or more corresponding blocks of the luma component.
[Claim 64]
The method of any of claims 58-60, wherein the current video block is coded using an Intra-Block-Copy (IBC) mode.
[Claim 65]
The method of claim 64, wherein a first set of restrictions on a height and a width of the current video block is different from a second set of restrictions on a height and a width of an intra-coded video block different from the current video block.
[Claim 66]
The method of claim 65, wherein the width of the current video block is greater than 2 and the height is greater than 2 when the current video block is coded using an intra block copy mode, and the width of the current video block is greater or equal to 2 and the height is greater or equal to 2 when the current video block is coded using the IBC mode.
[Claim 67]
An apparatus in a video system comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to implement the method in any one of claims 1 to 66.
[Claim 68]
A computer program product stored on a non-transitory computer readable media, the computer program product including program code for carrying out the method in any one of claims 1 to 66.

Drawings

[ Fig. 1]  
[ Fig. 2]  
[ Fig. 3]  
[ Fig. 4A]  
[ Fig. 4B]  
[ Fig. 5]  
[ Fig. 6]  
[ Fig. 7]  
[ Fig. 8]  
[ Fig. 9]  
[ Fig. 10]  
[ Fig. 11]  
[ Fig. 12]  
[ Fig. 13A]  
[ Fig. 13B]  
[ Fig. 14]  
[ Fig. 15A]  
[ Fig. 15B]  
[ Fig. 16]  
[ Fig. 17]  
[ Fig. 18A]  
[ Fig. 18B]  
[ Fig. 19]  
[ Fig. 20]  
[ Fig. 21]  
[ Fig. 22]  
[ Fig. 23]  
[ Fig. 24]  
[ Fig. 25]  
[ Fig. 26]  
[ Fig. 27]  
[ Fig. 28]  
[ Fig. 29]  
[ Fig. 30]  
[ Fig. 31]  
[ Fig. 32]  
[ Fig. 33]  
[ Fig. 34]  
[ Fig. 35]  
[ Fig. 36]  
[ Fig. 37]  
[ Fig. 38]  
[ Fig. 39]  
[ Fig. 40]