WO2020156538A1 - Interaction between mv precisions and mv difference coding - Google Patents
Interaction between mv precisions and mv difference coding Download PDFInfo
- Publication number
- WO2020156538A1 WO2020156538A1 PCT/CN2020/074152 CN2020074152W WO2020156538A1 WO 2020156538 A1 WO2020156538 A1 WO 2020156538A1 CN 2020074152 W CN2020074152 W CN 2020074152W WO 2020156538 A1 WO2020156538 A1 WO 2020156538A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mvd
- block
- smvd
- reference picture
- precision
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
- H04N19/517—Processing of motion vectors by encoding
- H04N19/52—Processing of motion vectors by encoding by predictive encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/136—Incoming video signal characteristics or properties
- H04N19/137—Motion inside a coding unit, e.g. average field, frame or block difference
- H04N19/139—Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/523—Motion estimation or motion compensation with sub-pixel accuracy
Definitions
- This patent document relates to video coding techniques, devices and systems.
- Devices, systems and methods related to digital video coding, and specifically, to the interactions between motion vector precisions and motion vector 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.
- HEVC High Efficiency Video Coding
- the disclosed technology may be used to provide a method for video coding.
- This method includes determining, based on at least one of motion information, a motion vector difference (MVD) precision or a motion vector (MV) precision of a current video block, between enabling and disabling a symmetric motion vector difference (SMVD) mode for the current video block, and reconstructing, based on the determining, the current video block.
- MVD motion vector difference
- SMVD symmetric motion vector difference
- the disclosed technology may be used to provide a method for video processing.
- This method includes determining, for a conversion between a first block of video and a bitstream representation of the first block, whether a symmetric motion vector difference (SMVD) mode for the first block is enabled or disabled and/or how to apply the SMVD mode for the first block, based on at least one of motion information, a motion vector difference (MVD) precision and a motion vector (MV) precision of the first block; and performing the conversion based on the determining.
- SMVD symmetric motion vector difference
- the above-described method is embodied in the form of processor-executable code and stored in a computer-readable program medium.
- a device that is configured or operable to perform the above-described method.
- the device may include a processor that is programmed to implement this method.
- a video decoder apparatus may implement a method as described herein.
- FIG. 1 shows an example of constructing a merge candidate list.
- FIG. 2 shows an example of positions of spatial candidates.
- FIG. 3 shows an example of candidate pairs subject to a redundancy check of spatial merge candidates.
- 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.
- FIG. 5 shows an example of motion vector scaling for temporal merge candidates.
- FIG. 6 shows an example of candidate positions for temporal merge candidates.
- FIG. 7 shows an example of generating a combined bi-predictive merge candidate.
- FIG. 8 shows an example of constructing motion vector prediction candidates.
- FIG. 9 shows an example of motion vector scaling for spatial motion vector candidates.
- FIG. 10 shows an example of a simplified affine motion model.
- FIG. 11 shows an example of an affine motion vector field (MVF) per sub-block.
- FIG. 12 shows an example of motion vector prediction (MVP) for the AF_INTER affine motion mode.
- MVP motion vector prediction
- FIGS. 13A and 13B show examples of the 4-parameter and 6-parameter affine models, respectively.
- FIGS. 14A and 14B show example candidates for the AF_MERGE affine motion mode.
- FIG. 15 shows an example of an optical flow trajectory used by the bi-directional optical flow (BIO) algorithm.
- FIGS. 16A and 16B show example snapshots of using of the bi-directional optical flow (BIO) algorithm without block extensions.
- FIG. 17 shows an example of the decoder-side motion vector refinement (DMVR) algorithm based on bilateral template matching.
- FIG. 18 shows an example of the symmetrical mode.
- FIG. 19 shows a flowchart of an example method for video processing.
- FIG. 20 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.
- FIG. 21 shows a flowchart of an example method for video processing.
- 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.
- 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.
- HEVC High Efficiency Video Coding
- MPEG-H Part 2 MPEG-H Part 2
- 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.
- 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.
- Each inter-predicted PU has motion parameters for one or two reference picture lists.
- motion parameters include a motion vector and a reference picture index.
- the usage of one of the two reference picture lists may also be signaled using inter_pred_idc.
- motion vectors may be explicitly coded as deltas relative to predictors.
- 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.
- the PU 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.
- Bi-prediction 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.
- Step 1 Initial candidates derivation
- Step 1.1 Spatial candidates derivation
- Step 1.2 Redundancy check for spatial candidates
- Step 1.3 Temporal candidates derivation
- Step 2 Additional candidates insertion
- Step 2.1 Creation of bi-predictive candidates
- Step 2.2 Insertion of zero motion candidates
- 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.
- 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 signalled 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.
- TU truncated unary binarization
- 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 only when 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.
- 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.
- FIG. 4A and 4B depict the second PU for the case of N ⁇ 2N and 2N ⁇ N, respectively.
- candidate at position A 1 is not considered for list construction.
- 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.
- position B 1 is not considered when the current PU is partitioned as 2N ⁇ N.
- 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.
- 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.
- 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.
- 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.
- 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) .
- 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.
- motion estimation can be performed in parallel whereby the motion vectors for all prediction units inside a given region are derived simultaneously.
- the derivation of merge candidates from spatial neighborhood may interfere with parallel processing as one prediction unit cannot derive the motion parameters from an adjacent PU until its associated motion estimation is completed.
- a motion estimation region may be defined.
- the size of the MER may be signaled in the picture parameter set (PPS) using the “log2_parallel_merge_level_minus2” syntax element.
- AMVP advanced motion vector prediction
- 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.
- FIG. 8 summarizes derivation process for motion vector prediction candidate, and may be implemented for each reference picture list with refidx as an input.
- motion vector candidate two types are considered: spatial motion vector candidate and temporal motion vector candidate.
- 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.
- 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.
- 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 .
- 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 neighbouring 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.
- the motion vector of the neighbouring 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.
- the reference picture index is signaled to the decoder.
- JEM Joint Exploration Model
- affine prediction alternative temporal motion vector prediction
- STMVP spatial-temporal motion vector prediction
- BIO bi-directional optical flow
- FRUC Frame-Rate Up Conversion
- LAMVR Locally Adaptive Motion Vector Resolution
- OBMC Overlapped Block Motion Compensation
- LIC Local Illumination Compensation
- DMVR Decoder-side Motion Vector Refinement
- motion vector differences (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.
- LAMVR locally adaptive motion vector resolution
- 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.
- a first flag is signalled to indicate whether quarter luma sample MV precision is used in the CU.
- 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.
- the quarter luma sample MV resolution is used for the CU.
- the MVPs in the AMVP candidate list for the CU are rounded to the corresponding precision.
- 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.
- the following encoding schemes are applied in the JEM:
- 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.
- motion vector accuracy is one-quarter pel (one-quarter luma sample and one-eighth chroma sample for 4: 2: 0 video) .
- the accuracy for the internal motion vector storage and the merge candidate increases to 1/16 pel.
- the higher motion vector accuracy (1/16 pel) is used in motion compensation inter prediction for the CU coded with skip/merge mode.
- the integer-pel or quarter-pel motion is used for the CU coded with normal AMVP mode.
- SHVC upsampling interpolation filters which have same filter length and normalization factor as HEVC motion compensation interpolation filters, are used as motion compensation interpolation filters for the additional fractional pel positions.
- the chroma component motion vector accuracy is 1/32 sample in the JEM, the additional interpolation filters of 1/32 pel fractional positions are derived by using the average of the filters of the two neighbouring 1/16 pel fractional positions.
- FIG. 10 shows an example of an affine motion field of a block 1000 described by two control point motion vectors V 0 and V 1 .
- the motion vector field (MVF) of the block 1000 can be described by the following equation:
- (v 0x , v 0y ) is motion vector of the top-left corner control point
- (v 1x , v 1y ) is motion vector of the top-right corner control point.
- sub-block based affine transform prediction can be applied.
- the sub-block size M ⁇ N is derived as follows:
- MvPre is the motion vector fraction accuracy (e.g., 1/16 in JEM) .
- (v 2x , v 2y ) is motion vector of the bottom-left control point, calculated according to Eq. (1) .
- M and N can be adjusted downward if necessary to make it a divisor of w and h, respectively.
- FIG. 11 shows an example of affine MVF per sub-block for a block 1100.
- the motion vector of the center sample of each sub-block can be calculated according to Eq. (1) , and rounded to the motion vector fraction accuracy (e.g., 1/16 in JEM) .
- the motion compensation interpolation filters can be applied to generate the prediction of each sub-block with derived motion vector.
- the high accuracy motion vector of each sub-block is rounded and saved as the same accuracy as the normal motion vector.
- AF_INTER mode In the JEM, there are two affine motion modes: AF_INTER mode and AF_MERGE mode. 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.
- AF_INTER mode a candidate list with motion vector pair ⁇ (v 0 , v 1 )
- FIG. 12 shows an example of motion vector prediction (MVP) for a block 1200 in the AF_INTER mode.
- MVP motion vector prediction
- v 0 is selected from the motion vectors of the sub-block A, B, or C.
- the motion vectors from the neighboring blocks can be scaled according to the reference list.
- the motion vectors can also be scaled according to the relationship among the Picture Order Count (POC) of the reference for the neighboring block, the POC of the reference for the current CU, and the POC of the current CU.
- POC Picture Order Count
- the approach to select v 1 from the neighboring sub-block D and E is similar. If the number of candidate list is smaller than 2, the list is padded by the motion vector pair composed by duplicating each of the AMVP candidates.
- the candidates can be firstly sorted according to the neighboring motion vectors (e.g., based on the similarity of the two motion vectors in a pair candidate) . In some implementations, the first two candidates are kept.
- a Rate Distortion (RD) cost check is used to determine which motion vector pair candidate is selected as the control point motion vector prediction (CPMVP) of the current CU.
- An index indicating the position of the CPMVP in the candidate list can be signaled in the bitstream. After the CPMVP of the current affine CU is determined, affine motion estimation is applied and the control point motion vector (CPMV) is found. Then the difference of the CPMV and the CPMVP is signaled in the bitstream.
- RD Rate Distortion
- the MV may be derived as follows, e.g., it predicts mvd 1 and mvd 2 from mvd 0 .
- the addition of two motion vectors e.g., mvA (xA, yA) and mvB (xB, yB)
- mvA + mvB implies that the two components of newMV are set to (xA +xB) and (yA + yB) , respectively.
- FIG. 14A shows an example of the selection order of candidate blocks for a current CU 1400. As shown in FIG. 14A, the selection order can be from left (1401) , above (1402) , above right (1403) , left bottom (1404) to above left (1405) of the current CU 1400.
- FIG. 14B shows another example of candidate blocks for a current CU 1400 in the AF_MERGE mode. If the neighboring left bottom block 1401 is coded in affine mode, as shown in FIG.
- the motion vectors v 2 , v 3 and v 4 of the top left corner, above right corner, and left bottom corner of the CU containing the sub-block 1401 are derived.
- the motion vector v 0 of the top left corner on the current CU 1400 is calculated based on v2, v3 and v4.
- the motion vector v1 of the above right of the current CU can be calculated accordingly.
- the MVF of the current CU can be generated.
- an affine flag can be signaled in the bitstream when there is at least one neighboring block is coded in affine mode.
- the bi-directional optical flow (BIO) method is a sample-wise motion refinement performed on top of block-wise motion compensation for bi-prediction.
- the sample-level motion refinement does not use signaling.
- the motion vector field (v x , v y ) is given by:
- FIG. 15 shows an example optical flow trajectory in the Bi-directional Optical flow (BIO) method.
- ⁇ 0 and ⁇ 1 denote the distances to the reference frames.
- BIO is applied if the prediction is not from the same time moment (e.g., ⁇ 0 ⁇ 1 ) .
- the motion vector field (v x , v y ) is determined by minimizing the difference ⁇ between values in points A and B.
- FIG. 9 shows an example of intersection of motion trajectory and reference frame planes. Model uses only first linear term of a local Taylor expansion for ⁇ :
- the JEM uses a simplified approach making first a minimization in the vertical direction and then in the horizontal direction. This results in the following:
- d is bit depth of the video samples.
- FIG. 16A shows an example of access positions outside of a block 1600.
- Eq. (9) (2M+1) ⁇ (2M+1) square window ⁇ centered in currently predicted point on a boundary of predicted block needs to accesses positions outside of the block.
- values of I (k) outside of the block are set to be equal to the nearest available value inside the block. For example, this can be implemented as a padding area 1601, as shown in FIG. 16B.
- BIO it is possible that the motion field can be refined for each sample.
- a block-based design of BIO is used in the JEM.
- the motion refinement can be calculated based on a 4x4 block.
- the values of s n in Eq. (9) of all samples in a 4x4 block can be aggregated, and then the aggregated values of s n in are used to derived BIO motion vectors offset for the 4 ⁇ 4 block. More specifically, the following formula can used for block-based BIO derivation:
- b k denotes the set of samples belonging to the k-th 4x4 block of the predicted block.
- s n in Eq (9) and Eq (10) are replaced by ( (s n, bk ) >> 4 ) to derive the associated motion vector offsets.
- MV regiment of BIO may be unreliable due to noise or irregular motion. Therefore, in BIO, the magnitude of MV regiment is clipped to a threshold value.
- the threshold value is determined based on whether the reference pictures of the current picture are all from one direction. For example, if all the reference pictures of the current picture are from one direction, the value of the threshold is set to 12 ⁇ 2 14-d ; otherwise, it is set to 12 ⁇ 2 13-d .
- Gradients for BIO can be calculated at the same time with motion compensation interpolation using operations consistent with HEVC motion compensation process (e.g., 2D separable Finite Impulse Response (FIR) ) .
- the input for the 2D separable FIR is the same reference frame sample as for motion compensation process and fractional position (fracX, fracY) according to the fractional part of block motion vector.
- fracX, fracY fractional position
- fracX, fracY fractional position
- BIOfilterG For vertical gradient a gradient filter is applied vertically using BIOfilterG corresponding to the fractional position fracY with de-scaling shift d-8. The signal displacement is then performed using BIOfilterS in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18-d.
- the length of interpolation filter for gradients calculation BIOfilterG and signal displacement BIOfilterF can be shorter (e.g., 6-tap) in order to maintain reasonable complexity.
- Table 1 shows example filters that can be used for gradients calculation of different fractional positions of block motion vector in BIO.
- Table 2 shows example interpolation filters that can be used for prediction signal generation in BIO.
- Fractional pel position Interpolation filter for gradient (BIOfilterG) 0 ⁇ 8, -39, -3, 46, -17, 5 ⁇ 1/16 ⁇ 8, -32, -13, 50, -18, 5 ⁇ 1/8 ⁇ 7, -27, -20, 54, -19, 5 ⁇ 3/16 ⁇ 6, -21, -29, 57, -18, 5 ⁇ 1/4 ⁇ 4, -17, -36, 60, -15, 4 ⁇ 5/16 ⁇ 3, -9, -44, 61, -15, 4 ⁇ 3/8 ⁇ 1, -4, -48, 61, -13, 3 ⁇ 7/16 ⁇ 0, 1, -54, 60, -9, 2 ⁇ 1/2 ⁇ -1, 4, -57, 57, -4, 1 ⁇
- Fractional pel position Interpolation filter for prediction signal (BIOfilterS) 0 ⁇ 0, 0, 64, 0, 0, 0 ⁇ 1/16 ⁇ 1, -3, 64, 4, -2, 0 ⁇ 1/8 ⁇ 1, -6, 62, 9, -3, 1 ⁇ 3/16 ⁇ 2, -8, 60, 14, -5, 1 ⁇ 1/4 ⁇ 2, -9, 57, 19, -7, 2 ⁇ 5/16 ⁇ 3, -10, 53, 24, -8, 2 ⁇ 3/8 ⁇ 3, -11, 50, 29, -9, 2 ⁇ 7/16 ⁇ 3, -11, 44, 35, -10, 3 ⁇ 1/2 ⁇ 3, -10, 35, 44, -11, 3 ⁇
- BIO can be applied to all bi-predicted blocks when the two predictions are from different reference pictures.
- BIO can be disabled.
- BIO is applied for a block after normal MC process.
- BIO may not be applied during the OBMC process. This means that BIO is applied in the MC process for a block when using its own MV and is not applied in the MC process when the MV of a neighboring block is used during the OBMC process.
- a bi-prediction operation for the prediction of one block region, two prediction blocks, formed using a motion vector (MV) of list0 and a MV of list1, respectively, are combined to form a single prediction signal.
- the two motion vectors of the bi-prediction are further refined by a bilateral template matching process.
- the bilateral template matching applied in the decoder to perform a distortion-based search between a bilateral template and the reconstruction samples in the reference pictures in order to obtain a refined MV without transmission of additional motion information.
- a bilateral template is generated as the weighted combination (i.e. average) of the two prediction blocks, from the initial MV0 of list0 and MV1 of list1, respectively, as shown in FIG. 17.
- the template matching operation consists of calculating cost measures between the generated template and the sample region (around the initial prediction block) in the reference picture. For each of the two reference pictures, the MV that yields the minimum template cost is considered as the updated MV of that list to replace the original one.
- nine MV candidates are searched for each list. The nine MV candidates include the original MV and 8 surrounding MVs with one luma sample offset to the original MV in either the horizontal or vertical direction, or both.
- the two new MVs i.e., MV0′and MV1′as shown in FIG. 17, are used for generating the final bi-prediction results.
- a sum of absolute differences (SAD) is used as the cost measure.
- DMVR is applied for the merge mode of bi-prediction with one MV from a reference picture in the past and another from a reference picture in the future, without the transmission of additional syntax elements.
- JEM when LIC, affine motion, FRUC, or sub-CU merge candidate is enabled for a CU, DMVR is not applied.
- Symmetric motion vector difference (SMVD) is proposed to encode the MVD more efficiently.
- variables BiDirPredFlag, RefIdxSymL0 and RefIdxSymL1 are derived as follows:
- BiDirPredFlag is set equal to 1.
- BiDirPredFlag is set equal to 1. Otherwise, BiDirPredFlag is set equal to 0.
- a symmetrical mode flag indicating whether symmetrical mode is used or not is explicitly signaled if the prediction direction for the CU is bi-prediction and BiDirPredFlag is equal to 1.
- MVD0 When the flag is true, only mvp_l0_flag, mvp_l1_flag and MVD0 are explicitly signaled.
- the reference indices are set equal to RefIdxSymL0, RefIdxSymL1 for list 0 and list 1, respectively.
- MVD1 is just set equal to –MVD0.
- the final motion vectors are shown in the formulas below:
- SMVD for affine mode is proposed.
- the concept of SMVD is extended to the coding of CPMVs for affine-coded blocks.
- Affine SMVD such a method is called Affine SMVD.
- SMVD and affine SMVD modes have been introduced to reduce the overhead for coding MVDs. Furthermore, AMVR and affine AMVR modes are targeting the same goal. However, the interaction between these two different types of modes is not well defined.
- Embodiments of the presently disclosed technology overcome the drawbacks of existing implementations, thereby providing video coding with higher coding efficiencies.
- the interactions between motion vector precisions and motion vector 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.
- MVD affine SMVD
- affine AMVR affine AMVR
- blocks coded with affine mode whereas other terms like ‘SMVD’ and ‘AMVR’ are applied to non-affine coded blocks.
- lower MVD precision means a coarser MVD precision; e.g., 1-pel MVD precision is lower than 1/4-pel MVD precision.
- Higher MVD precision means a finer MVD precision; e.g., 1/16-pel MVD precision is higher than 1/4-pel MVD precision.
- Whether to enable SMVD and/or how to apply SMVD for a block may depend on the motion information, and/or MVD precisions and/or MV precisions for the block.
- SMVD may be disabled for some CUs depending on the MVD precision etc.
- SMVD may be disabled when MVD precision is lower than or equal to a precision (for example, integer-pel precision) .
- SMVD may be disabled when MVD precision is higher than or equal to a precision (for example, integer-pel precision) .
- some MVD precisions may be disabled when SMVD is applied.
- 4-pel precision MVD may be disabled in SMVD mode.
- signalling of the MVD precision may depend on the usage of SMVD.
- the signalling of MDV precision (e.g., amvr_mode for non-affine inter mode in the specification) may be modified accordingly.
- only one bin may be coded for the AMVR mode.
- SMVD may be disabled when all MVD components of prediction 0 or/and 1 are zero.
- SMVD mode may be signaled after the motion information of the prediction direction 0 or 1.
- SMVD mode is not signaled if all MVD components of prediction direction 0 or 1 are zero.
- SMVD mode is not signaled if absolute value of horizonal or/and vertical MVD component of prediction direction 0 or 1 is smaller than a threshold.
- SMVD mode is not signaled if absolute sum of horizonal and vertical MVD component of prediction direction 0 or 1 is smaller than a threshold.
- SMVD mode is not signaled if absolute value of horizonal or/and vertical MVD component of prediction direction 0 or 1 is greater than a threshold.
- SMVD mode is not signaled if absolute sum of horizonal and vertical MVD component of prediction direction 0 or 1 is greater than a threshold.
- SMVD mode When SMVD mode is not signaled, it may be derived as false implicitly, e.g., SMVD mode is not applied.
- Whether to enable affine SMVD and/or how to apply SMVD for an affine coded block may depend on the affine motion information, and/or MVD precisions and/or MV precisions for the block.
- Affine SMVD may be disabled for some CUs depending on affine MVD precision etc.
- affine SMVD may be disabled when affine MVD precision is lower than or equal to a precision (for example, integer-pel precision) .
- affine SMVD may be disabled when affine MVD precision is higher than or equal to a precision (for example, integer-pel precision) .
- affine MVD precisions may be disabled when SMVD is applied.
- integer-pel precision affine MVD may be disabled in SMVD mode.
- affine AMVR indications may depend on the usage of SMVD.
- the signalling of MDV precision (e.g., amvr_mode for affine inter mode in the specification) may be modified accordingly.
- only one bin may be coded for the AMVR mode.
- affine SMVD may be disabled when all affine MVD components of prediction 0 or/and 1 are zero.
- affine SMVD mode may be signaled after the motion information of the prediction direction 0 or 1.
- affine SMVD mode is not signaled if all affine MVD components of prediction direction 0 or 1 are zero.
- affine SMVD mode When affine SMVD mode is not signaled, it may be derived as false implicitly, i.e., affine SMVD mode is not applied.
- the signaling of motion vector differences may depend on the usage of SMVD/affine SMVD.
- the vertical component of the motion vector difference shall be not equal to 0.
- the vertical component of the motion vector difference (e.g., abs_mvd_greater0_flag [1] ) may be conditionally signaled.
- the signalling of the vertical component may depend on whether SMVD or affine SMVD is enabled for current block.
- abs_mvd_greater0_flag [1] may depend on the following conditions:
- SMVD flag (or Affine SMVD) is true and the value of horizontal component of the motion vector difference is not equal to 0 (e.g., abs_mvd_greater0_flag [0 ] is true) ; or SMVD flag (or Affine SMVD) is false.
- abs_mvd_greater0_flag [1] may be derived to be true implicitly.
- the set of allowed MVD precisions may depend on the usage of SMVD.
- the set of allowed affine MVD precisions may depend on the usage of affine SMVD.
- MVD or affine SMVD
- lower MVD precisions may be allowed, such as (1/4-pel, 2-pel, 8-pel) .
- MVD or affine SMVD
- higher MVD precisions may be allowed, such as (1/4-pel, 1/2-pel, 1/8-pel) .
- VPDU Virtual Pipelining Data Units
- method 1900 may be implemented at a video decoder or a video encoder.
- FIG. 19 shows a flowchart of an exemplary method for video processing.
- the method 1900 includes, at step 1910, determining, based on at least one of motion information, a motion vector difference (MVD) precision or a motion vector (MV) precision of a current video block, between enabling and disabling a symmetric motion vector difference (SMVD) mode for the current video block.
- MVD motion vector difference
- SMVD symmetric motion vector difference
- the method 1900 includes, at step 1920, reconstructing, based on the determining, the current video block.
- the SMVD mode is disabled due to the MVD precision being lower than or equal to a threshold precision. In other embodiments, the SMVD mode is disabled due to the MVD precision being higher than equal to a threshold precision.
- the threshold precision is an integer-pel precision.
- the SMVD mode is disabled due to all MVD components of a first or second prediction direction of the current video block being zero.
- the SMVD mode is signaled after motion information of a first or second prediction direction of the current video block.
- an absolute value of a horizontal or vertical MVD component of the first or second prediction direction is lower than an MVD threshold.
- an absolute value of a horizontal or vertical MVD component of the first or second prediction direction is higher than an MVD threshold.
- signaling at least one MVD is based on the determining.
- the SMVD mode is enabled, and the MVD precision is 1/4-pel, 2-pel or 8-pel. In other embodiments, the SMVD mode is enabled, and the MVD precision is 1/4-pel, 1/2-pel or 1/8-pel.
- the determining is further based on signaling in a sequence parameter set (SPS) , a picture parameter set (PPS) , a video parameter set (VPS) , a tile group header, a slice header, a sequence header, a picture header, a tile or a group of coding tree units (CTUs) .
- SPS sequence parameter set
- PPS picture parameter set
- VPS video parameter set
- tile group header a slice header
- sequence header a sequence header
- CTUs coding tree units
- the determining is further based on a height or a width of the current video block, a virtual pipelining data unit (VPDU) picture type, a low-delay check flag or coding information associated with the current video block or previously coded blocks.
- VPDU virtual pipelining data unit
- the motion information is affine motion information
- the MVD precision is an affine MVD precision
- the MV precision is an affine MV precision
- the SMVD mode is an affine SMVD mode.
- FIG. 20 is a block diagram of a video processing apparatus 2000.
- the apparatus 2000 may be used to implement one or more of the methods described herein.
- the apparatus 2000 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on.
- the apparatus 2000 may include one or more processors 2002, one or more memories 2004 and video processing hardware 2006.
- the processor (s) 2002 may be configured to implement one or more methods (including, but not limited to, method 1900) described in the present document.
- the memory (memories) 2004 may be used for storing data and code used for implementing the methods and techniques described herein.
- the video processing hardware 2006 may be used to implement, in hardware circuitry, some techniques described in the present document.
- the video coding methods may be implemented using an apparatus that is implemented on a hardware platform as described with respect to FIG. 20.
- FIG. 21 is a flowchart for a method 2100 of processing video.
- the method 2100 includes, determining (2102) , for a conversion between a first block of video and a bitstream representation of the first block, whether a symmetric motion vector difference (SMVD) mode for the first block is enabled or disabled and/or how to apply the SMVD mode for the first block, based on at least one of motion information, a motion vector difference (MVD) precision and a motion vector (MV) precision of the first block; and performing (2104) the conversion based on the determining.
- SMVD symmetric motion vector difference
- the SMVD mode is disabled for partial of coding units (CUs) depending on the MVD precision.
- the SMVD mode is disabled when the MVD precision is lower than or equal to a threshold precision.
- the SMVD mode is disabled when the MVD precision is higher than equal to a threshold precision.
- the threshold precision is an integer-pel precision.
- partial of the MVD precision are disabled when the SMVD mode is applied.
- signalling of the MVD precision depends on the usage of SMVD.
- the signalling of MVD precision is modified accordingly.
- the SMVD mode is disabled when all MVD components of reference picture list 0 and/or reference picture list 1 of the first block are zero.
- the SMVD mode is signaled after motion information of reference picture list 0 and/or reference picture list 1 of the first block.
- the SMVD mode is not signaled if all MVD components of reference picture list 0 or reference picture list 1 of the first block are zero.
- the SMVD mode is not signaled if absolute value of horizontal or/and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is less than a threshold.
- the SMVD mode is not signaled if absolute sum of horizontal and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is less than a threshold.
- the SMVD mode is not signaled if absolute value of horizontal or/and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is greater than a threshold.
- the SMVD mode is not signaled if absolute sum of horizontal and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is greater than a threshold.
- the SMVD mode when SMVD mode is not signaled, the SMVD mode is not applied.
- signaling of the MVD depends on the determination whether the SMVD mode for the first block is enabled or disabled.
- the vertical component of the MVD is not equal to 0.
- the vertical component of the MVD is conditionally signaled.
- the signaling of the vertical component of the MVD depends on the determination whether the SMVD mode for the first block is enabled or disabled.
- the signaling of the indication of whether the vertical component of the MVD is non-zero depends on one of the following conditions: SMVD flag is true and the value of horizontal component of the MVD is not equal to 0; or SMVD flag is false.
- the signaling of the indication of whether the vertical component of the MVD is non-zero is skipped when the conditions are false.
- the vertical component of the MVD is implicitly derived to be non-zero.
- the set of allowed MVD precisions depends on the determination whether the SMVD mode for the first block is enabled or disabled.
- lower MVD precisions are allowed, wherein the lower MVD precision includes at least one of 1/4-pel, 2-pel and 8-pel.
- higher MVD precisions are allowed, wherein the higher MVD precision is includes at least one of 1/4-pel, 1/2-pel or 1/8-pel.
- the determining is further based on an indication signaled in a sequence parameter set (SPS) , a picture parameter set (PPS) , a video parameter set (VPS) , a tile group header, a slice header, a sequence header, a picture header, a tile or a group of coding tree units (CTUs) .
- SPS sequence parameter set
- PPS picture parameter set
- VPS video parameter set
- tile group header a slice header
- sequence header a sequence header
- CTUs coding tree units
- the determining further depends on at least one of block dimension, a virtual pipelining data unit (VPDU) , a picture type, a low-delay check flag or coding information associated with the first block or previously coded blocks.
- VPDU virtual pipelining data unit
- the SMVD mode is affine SMVD mode
- the motion information is affine motion information
- the MVD precision is an affine MVD precision
- the MV precision is an affine MV precision
- the SMVD MVD components are affine SMVD MVD components.
- the affine SMVD mode is not signaled if absolute value of horizontal or/and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is less than a threshold, N is an integer larger and/or equal to 1.
- the affine SMVD mode is not signaled if absolute sum of horizontal and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is less than a threshold, N is an integer larger and/or equal to 1.
- the affine SMVD mode is not signaled if absolute value of horizontal or/and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is greater than a threshold, N is an integer larger and/or equal to 1.
- the affine SMVD mode is not signaled if absolute sum of horizontal and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is greater than a threshold, N is an integer larger and/or equal to 1.
- the conversion generates the first block of video from the bitstream representation.
- the conversion generates the bitstream representation from the first block of video.
- 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.
- 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.
- a computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
- a computer program does not necessarily correspond to a file in a file system.
- a program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document) , in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code) .
- a computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
- the processes and logic flows described in this 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) .
- processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer.
- a processor will receive instructions and data from a read only memory or a random access memory or both.
- the essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data.
- a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
- mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
- a computer need not have such devices.
- Computer readable media suitable for storing computer program instructions and data include all forms of nonvolatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices.
- 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.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Interaction between MV precisions and MV difference coding is described. In an exemplary aspect, a method for video processing includes determining, for a conversion between a first block of video and a bitstream representation of the first block, whether a symmetric motion vector difference (SMVD) mode for the first block is enabled or disabled and/or how to apply the SMVD mode for the first block, based on at least one of motion information, a motion vector difference (MVD) precision and a motion vector (MV) precision of the first block; and performing the conversion based on the determining.
Description
Under the applicable patent law and/or rules pursuant to the Paris Convention, this application is made to timely claim the priority to and benefits of International Patent Application No. PCT/CN2019/074681, filed on February 3, 2019. The entire disclosures of International Patent Application No. PCT/CN2019/074681 are incorporated by reference as part of the disclosure of this application.
This patent document relates to video coding techniques, devices and systems.
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.
SUMMARY
Devices, systems and methods related to digital video coding, and specifically, to the interactions between motion vector precisions and motion vector 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.
In one representative aspect, the disclosed technology may be used to provide a method for video coding. This method includes determining, based on at least one of motion information, a motion vector difference (MVD) precision or a motion vector (MV) precision of a current video block, between enabling and disabling a symmetric motion vector difference (SMVD) mode for the current video block, and reconstructing, based on the determining, the current video block.
In another representative aspect, the disclosed technology may be used to provide a method for video processing. This method includes determining, for a conversion between a first block of video and a bitstream representation of the first block, whether a symmetric motion vector difference (SMVD) mode for the first block is enabled or disabled and/or how to apply the SMVD mode for the first block, based on at least one of motion information, a motion vector difference (MVD) precision and a motion vector (MV) precision of the first block; and performing the conversion based on the determining.
In another representative aspect, the above-described method is embodied in the form of processor-executable code and stored in a computer-readable program medium.
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.
In yet another representative aspect, a video decoder apparatus may implement a method as described herein.
The above and other aspects and features of the disclosed technology are described in greater detail in the drawings, the description and the claims.
FIG. 1 shows an example of constructing a merge candidate list.
FIG. 2 shows an example of positions of spatial candidates.
FIG. 3 shows an example of candidate pairs subject to a redundancy check of spatial merge candidates.
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.
FIG. 5 shows an example of motion vector scaling for temporal merge candidates.
FIG. 6 shows an example of candidate positions for temporal merge candidates.
FIG. 7 shows an example of generating a combined bi-predictive merge candidate.
FIG. 8 shows an example of constructing motion vector prediction candidates.
FIG. 9 shows an example of motion vector scaling for spatial motion vector candidates.
FIG. 10 shows an example of a simplified affine motion model.
FIG. 11 shows an example of an affine motion vector field (MVF) per sub-block.
FIG. 12 shows an example of motion vector prediction (MVP) for the AF_INTER affine motion mode.
FIGS. 13A and 13B show examples of the 4-parameter and 6-parameter affine models, respectively.
FIGS. 14A and 14B show example candidates for the AF_MERGE affine motion mode.
FIG. 15 shows an example of an optical flow trajectory used by the bi-directional optical flow (BIO) algorithm.
FIGS. 16A and 16B show example snapshots of using of the bi-directional optical flow (BIO) algorithm without block extensions.
FIG. 17 shows an example of the decoder-side motion vector refinement (DMVR) algorithm based on bilateral template matching.
FIG. 18 shows an example of the symmetrical mode.
FIG. 19 shows a flowchart of an example method for video processing.
FIG. 20 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.
FIG. 21 shows a flowchart of an example method for video processing.
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.
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.
1. Examples of inter-prediction in HEVC/H. 265
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.
1.1 Examples of prediction modes
Each inter-predicted PU (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.
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.
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.
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.
1.1.1 Embodiments of constructing candidates for merge mode
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:
Step 1: Initial candidates derivation
Step 1.1: Spatial candidates derivation
Step 1.2: Redundancy check for spatial candidates
Step 1.3: Temporal candidates derivation
Step 2: Additional candidates insertion
Step 2.1: Creation of bi-predictive candidates
Step 2.2: Insertion of zero motion candidates
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 signalled 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.
1.1.2 Constructing spatial merge candidates
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 only when 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.
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.
1.1.3 Constructing temporal merge candidates
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.
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.
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.
1.1.4 Constructing additional types of merge candidates
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.
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) .
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.
1.1.5 Examples of motion estimation regions for parallel processing
To speed up the encoding process, motion estimation can be performed in parallel whereby the motion vectors for all prediction units inside a given region are derived simultaneously. The derivation of merge candidates from spatial neighborhood may interfere with parallel processing as one prediction unit cannot derive the motion parameters from an adjacent PU until its associated motion estimation is completed. To mitigate the trade-off between coding efficiency and processing latency, a motion estimation region (MER) may be defined. The size of the MER may be signaled in the picture parameter set (PPS) using the “log2_parallel_merge_level_minus2” syntax element. When a MER is defined, merge candidates falling in the same region are marked as unavailable and therefore not considered in the list construction.
1.2 Embodiments of advanced motion vector prediction (AMVP)
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.
1.2.1 Examples of constructing motion vector prediction candidates
FIG. 8 summarizes derivation process for motion vector prediction candidate, and may be implemented for each reference picture list with refidx as an input.
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.
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.
1.2.2 Constructing spatial motion vector candidates
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:
-- No spatial scaling
(1) Same reference picture list, and same reference picture index (same POC)
(2) Different reference picture list, but same reference picture (same POC)
-- Spatial scaling
(3) Same reference picture list, but different reference picture (different POC)
(4) Different reference picture list, and different reference picture (different POC)
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 neighbouring 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.
As shown in the example in FIG. 9, for the spatial scaling case, the motion vector of the neighbouring 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.
1.2.3 Constructing temporal motion vector candidates
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.
2. Example of inter prediction methods in Joint Exploration Model (JEM)
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) .
2.1 Examples of adaptive motion vector difference resolution
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.
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.
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.
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:
-- 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.
-- 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.
2.2 Examples of higher motion vector storage accuracy
In HEVC, motion vector accuracy is one-quarter pel (one-quarter luma sample and one-eighth chroma sample for 4: 2: 0 video) . In the JEM, the accuracy for the internal motion vector storage and the merge candidate increases to 1/16 pel. The higher motion vector accuracy (1/16 pel) is used in motion compensation inter prediction for the CU coded with skip/merge mode. For the CU coded with normal AMVP mode, either the integer-pel or quarter-pel motion is used.
SHVC upsampling interpolation filters, which have same filter length and normalization factor as HEVC motion compensation interpolation filters, are used as motion compensation interpolation filters for the additional fractional pel positions. The chroma component motion vector accuracy is 1/32 sample in the JEM, the additional interpolation filters of 1/32 pel fractional positions are derived by using the average of the filters of the two neighbouring 1/16 pel fractional positions.
2.3 Examples of affine motion compensation prediction
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. JEM, on the other hand, applies a simplified affine transform motion compensation prediction. FIG. 10 shows an example of an affine motion field of a block 1000 described by two control point motion vectors V
0 and V
1. The motion vector field (MVF) of the block 1000 can be described by the following equation:
As shown in FIG. 10, (v
0x, v
0y) is motion vector of the top-left corner control point, and (v
1x, v
1y) is motion vector of the top-right corner control point. To simplify the motion compensation prediction, sub-block based affine transform prediction can be applied. The sub-block size M×N is derived as follows:
Here, MvPre is the motion vector fraction accuracy (e.g., 1/16 in JEM) . (v
2x, v
2y) is motion vector of the bottom-left control point, calculated according to Eq. (1) . M and N can be adjusted downward if necessary to make it a divisor of w and h, respectively.
FIG. 11 shows an example of affine MVF per sub-block for a block 1100. 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 Eq. (1) , 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. 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.
2.3.1 Embodiments of the AF_INTER mode
In the JEM, there are two affine motion modes: AF_INTER mode and AF_MERGE mode. 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. In the AF_INTER mode, a candidate list with motion vector pair { (v
0, v
1) |v
0= {v
A, v
B, v
c} , v
1= {v
D, v
E} } is constructed using the neighboring blocks.
FIG. 12 shows an example of motion vector prediction (MVP) for a block 1200 in the AF_INTER mode. As shown in FIG. 12, v
0 is selected from the motion vectors of the sub-block A, B, or C. The motion vectors from the neighboring blocks can be scaled according to the reference list. The motion vectors can also be scaled according to the relationship among the Picture Order Count (POC) of the reference for the neighboring block, the POC of the reference for the current CU, and the POC of the current CU. The approach to select v
1 from the neighboring sub-block D and E is similar. If the number of candidate list is smaller than 2, the list is padded by the motion vector pair composed by duplicating each of the AMVP candidates. When the candidate list is larger than 2, the candidates can be firstly sorted according to the neighboring motion vectors (e.g., based on the similarity of the two motion vectors in a pair candidate) . In some implementations, the first two candidates are kept. In some embodiments, a Rate Distortion (RD) cost check is used to determine which motion vector pair candidate is selected as the control point motion vector prediction (CPMVP) of the current CU. An index indicating the position of the CPMVP in the candidate list can be signaled in the bitstream. After the CPMVP of the current affine CU is determined, affine motion estimation is applied and the control point motion vector (CPMV) is found. Then the difference of the CPMV and the CPMVP is signaled in the bitstream.
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. 13A and 13B. In an existing implementation, the MV may be derived as follows, e.g., it predicts mvd
1 and mvd
2 from mvd
0.
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. 13B. 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.
2.3.3 Embodiments of the AF_MERGE mode
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. FIG. 14A shows an example of the selection order of candidate blocks for a current CU 1400. As shown in FIG. 14A, the selection order can be from left (1401) , above (1402) , above right (1403) , left bottom (1404) to above left (1405) of the current CU 1400. FIG. 14B shows another example of candidate blocks for a current CU 1400 in the AF_MERGE mode. If the neighboring left bottom block 1401 is coded in affine mode, as shown in FIG. 14B, the motion vectors v
2, v
3 and v
4 of the top left corner, above right corner, and left bottom corner of the CU containing the sub-block 1401 are derived. The motion vector v
0 of the top left corner on the current CU 1400 is calculated based on v2, v3 and v4. The motion vector v1 of the above right of the current CU can be calculated accordingly.
After the CPMV of the current CU v0 and v1 are computed according to the affine motion model in Eq. (1) , 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.
2.4 Examples of bi-directional optical flow (BIO)
The bi-directional optical flow (BIO) method is a sample-wise motion refinement performed on top of block-wise motion compensation for bi-prediction. In some implementations, the sample-level motion refinement does not use signaling.
Let I
(k) be the luma value from reference k (k=0, 1) after block motion compensation, and denote
and
as the horizontal and vertical components of the I
(k) gradient, respectively. Assuming the optical flow is valid, the motion vector field (v
x, v
y) is given by:
Combining this optical flow equation with Hermite interpolation for the motion trajectory of each sample results in a unique third-order polynomial that matches both the function values I
(k) and derivatives
and
at the ends. The value of this polynomial at t=0 is the BIO prediction:
FIG. 15 shows an example optical flow trajectory in the Bi-directional Optical flow (BIO) method. Here, τ
0 and τ
1 denote the distances to the reference frames. Distances τ
0 and τ
1 are calculated based on POC for Ref
0 and Ref
1: τ
0=POC (current) -POC (Ref
0) , τ
1= POC (Ref
1) -POC (current) . If both predictions come from the same time direction (either both from the past or both from the future) then the signs are different (e.g., τ
0·τ
1<0) . In this case, BIO is applied if the prediction is not from the same time moment (e.g., τ
0≠τ
1) . Both referenced regions have non-zero motion (e.g., MVx
0, MVy
0, MVx
1, MVy
1≠0) and the block motion vectors are proportional to the time distance (e.g., MVx
0/MVx
1=MVy
0/MVy
1=-τ
0/τ
1) .
The motion vector field (v
x, v
y) is determined by minimizing the difference Δ between values in points A and B. FIG. 9 shows an example of intersection of motion trajectory and reference frame planes. Model uses only first linear term of a local Taylor expansion for Δ:
All values in the above equation depend on the sample location, denoted as (i′, j′) . Assuming the motion is consistent in the local surrounding area, Δ can be minimized inside the (2M+1) × (2M+1) square window Ω centered on the currently predicted point (i, j) , where M is equal to 2:
For this optimization problem, the JEM uses a simplified approach making first a minimization in the vertical direction and then in the horizontal direction. This results in the following:
where,
In order to avoid division by zero or a very small value, regularization parameters r and m can be introduced in Eq. (9) and Eq. (10) , where:
r=500·4
d-8 Eq. (12)
m=700·4
d-8 Eq. (13)
Here, d is bit depth of the video samples.
In order to keep the memory access for BIO the same as for regular bi-predictive motion compensation, all prediction and gradients values, I
(k) ,
are calculated for positions inside the current block. FIG. 16A shows an example of access positions outside of a block 1600. As shown in FIG. 16A, in Eq. (9) , (2M+1) × (2M+1) square window Ω centered in currently predicted point on a boundary of predicted block needs to accesses positions outside of the block. In the JEM, values of I
(k) ,
outside of the block are set to be equal to the nearest available value inside the block. For example, this can be implemented as a padding area 1601, as shown in FIG. 16B.
With BIO, it is possible that the motion field can be refined for each sample. To reduce the computational complexity, a block-based design of BIO is used in the JEM. The motion refinement can be calculated based on a 4x4 block. In the block-based BIO, the values of s
n in Eq. (9) of all samples in a 4x4 block can be aggregated, and then the aggregated values of s
n in are used to derived BIO motion vectors offset for the 4×4 block. More specifically, the following formula can used for block-based BIO derivation:
Here, b
k denotes the set of samples belonging to the k-th 4x4 block of the predicted block. s
n in Eq (9) and Eq (10) are replaced by ( (s
n, bk) >> 4 ) to derive the associated motion vector offsets.
In some scenarios, MV regiment of BIO may be unreliable due to noise or irregular motion. Therefore, in BIO, the magnitude of MV regiment is clipped to a threshold value. The threshold value is determined based on whether the reference pictures of the current picture are all from one direction. For example, if all the reference pictures of the current picture are from one direction, the value of the threshold is set to 12×2
14-d; otherwise, it is set to 12×2
13-d.
Gradients for BIO can be calculated at the same time with motion compensation interpolation using operations consistent with HEVC motion compensation process (e.g., 2D separable Finite Impulse Response (FIR) ) . In some embodiments, the input for the 2D separable FIR is the same reference frame sample as for motion compensation process and fractional position (fracX, fracY) according to the fractional part of block motion vector. For horizontal gradient
a signal is first interpolated vertically using BIOfilterS corresponding to the fractional position fracY with de-scaling shift d-8. Gradient filter BIOfilterG is then applied in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18-d. For vertical gradient
a gradient filter is applied vertically using BIOfilterG corresponding to the fractional position fracY with de-scaling shift d-8. The signal displacement is then performed using BIOfilterS in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18-d. The length of interpolation filter for gradients calculation BIOfilterG and signal displacement BIOfilterF can be shorter (e.g., 6-tap) in order to maintain reasonable complexity. Table 1 shows example filters that can be used for gradients calculation of different fractional positions of block motion vector in BIO. Table 2 shows example interpolation filters that can be used for prediction signal generation in BIO.
Table 1: Exemplary filters for gradient calculations in BIO
| Fractional pel position | Interpolation filter for gradient (BIOfilterG) |
| 0 | {8, -39, -3, 46, -17, 5} |
| 1/16 | {8, -32, -13, 50, -18, 5} |
| 1/8 | {7, -27, -20, 54, -19, 5} |
| 3/16 | {6, -21, -29, 57, -18, 5} |
| 1/4 | {4, -17, -36, 60, -15, 4} |
| 5/16 | {3, -9, -44, 61, -15, 4} |
| 3/8 | {1, -4, -48, 61, -13, 3} |
| 7/16 | {0, 1, -54, 60, -9, 2} |
| 1/2 | {-1, 4, -57, 57, -4, 1} |
Table 2: Exemplary interpolation filters for prediction signal generation in BIO
| Fractional pel position | Interpolation filter for prediction signal (BIOfilterS) |
| 0 | {0, 0, 64, 0, 0, 0} |
| 1/16 | {1, -3, 64, 4, -2, 0} |
| 1/8 | {1, -6, 62, 9, -3, 1} |
| 3/16 | {2, -8, 60, 14, -5, 1} |
| 1/4 | {2, -9, 57, 19, -7, 2} |
| 5/16 | {3, -10, 53, 24, -8, 2} |
| 3/8 | {3, -11, 50, 29, -9, 2} |
| 7/16 | {3, -11, 44, 35, -10, 3} |
| 1/2 | {3, -10, 35, 44, -11, 3} |
In the JEM, BIO can be applied to all bi-predicted blocks when the two predictions are from different reference pictures. When Local Illumination Compensation (LIC) is enabled for a CU, BIO can be disabled.
In some embodiments, OBMC is applied for a block after normal MC process. To reduce the computational complexity, BIO may not be applied during the OBMC process. This means that BIO is applied in the MC process for a block when using its own MV and is not applied in the MC process when the MV of a neighboring block is used during the OBMC process.
2.5 Examples of decoder-side motion vector refinement (DMVR)
In a bi-prediction operation, for the prediction of one block region, two prediction blocks, formed using a motion vector (MV) of list0 and a MV of list1, respectively, are combined to form a single prediction signal. In the decoder-side motion vector refinement (DMVR) method, the two motion vectors of the bi-prediction are further refined by a bilateral template matching process. The bilateral template matching applied in the decoder to perform a distortion-based search between a bilateral template and the reconstruction samples in the reference pictures in order to obtain a refined MV without transmission of additional motion information.
In DMVR, a bilateral template is generated as the weighted combination (i.e. average) of the two prediction blocks, from the initial MV0 of list0 and MV1 of list1, respectively, as shown in FIG. 17. The template matching operation consists of calculating cost measures between the generated template and the sample region (around the initial prediction block) in the reference picture. For each of the two reference pictures, the MV that yields the minimum template cost is considered as the updated MV of that list to replace the original one. In the JEM, nine MV candidates are searched for each list. The nine MV candidates include the original MV and 8 surrounding MVs with one luma sample offset to the original MV in either the horizontal or vertical direction, or both. Finally, the two new MVs, i.e., MV0′and MV1′as shown in FIG. 17, are used for generating the final bi-prediction results. A sum of absolute differences (SAD) is used as the cost measure.
DMVR is applied for the merge mode of bi-prediction with one MV from a reference picture in the past and another from a reference picture in the future, without the transmission of additional syntax elements. In the JEM, when LIC, affine motion, FRUC, or sub-CU merge candidate is enabled for a CU, DMVR is not applied.
2.6 Examples of symmetric motion vector difference (SMVD) mode
Symmetric motion vector difference (SMVD) is proposed to encode the MVD more efficiently. Firstly, in slice level, variables BiDirPredFlag, RefIdxSymL0 and RefIdxSymL1 are derived as follows:
○ The forward reference picture in reference picture list 0 which is nearest to the current picture is searched. If found, RefIdxSymL0 is set equal to the reference index of the forward picture.
○ The backward reference picture in reference picture list 1 which is nearest to the current picture is searched. If found, RefIdxSymL1 is set equal to the reference index of the backward picture.
○ If both forward and backward picture are found, BiDirPredFlag is set equal to 1.
○ Otherwise, following applies:
● The backward reference picture in reference picture list 0 which is nearest to the current one is searched. If found, RefIdxSymL0 is set equal to the reference index of the backward picture.
● The forward reference picture in reference picture list 1 which is nearest to the current one is searched. If found, RefIdxSymL1 is set equal to the reference index of the forward picture.
● If both backward and forward picture are found, BiDirPredFlag is set equal to 1. Otherwise, BiDirPredFlag is set equal to 0.
Secondly, in CU level, a symmetrical mode flag indicating whether symmetrical mode is used or not is explicitly signaled if the prediction direction for the CU is bi-prediction and BiDirPredFlag is equal to 1.
When the flag is true, only mvp_l0_flag, mvp_l1_flag and MVD0 are explicitly signaled. The reference indices are set equal to RefIdxSymL0, RefIdxSymL1 for list 0 and list 1, respectively. MVD1 is just set equal to –MVD0. The final motion vectors are shown in the formulas below:
The modifications in coding unit syntax are shown in Table 3.
Table 3: Modifications in coding unit syntax
7.3.4.9 Motion vector difference syntax
2.6.1 Symmetric MVD for affine bi-prediction coding
SMVD for affine mode is proposed. In this proposal, the concept of SMVD is extended to the coding of CPMVs for affine-coded blocks. In the following descriptions, such a method is called Affine SMVD.
3. Drawbacks of existing implementations
In some existing implementations, SMVD and affine SMVD modes have been introduced to reduce the overhead for coding MVDs. Furthermore, AMVR and affine AMVR modes are targeting the same goal. However, the interaction between these two different types of modes is not well defined.
4. Example methods for interactions between MV precisions and MV coding
Embodiments of the presently disclosed technology overcome the drawbacks of existing implementations, thereby providing video coding with higher coding efficiencies. The interactions between motion vector precisions and motion vector 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.
In this document (and the examples below) the terms ‘affine SMVD’ and ‘affine AMVR’ are applied to blocks coded with affine mode, whereas other terms like ‘SMVD’ and ‘AMVR’ are applied to non-affine coded blocks. Furthermore, lower MVD precision means a coarser MVD precision; e.g., 1-pel MVD precision is lower than 1/4-pel MVD precision. Higher MVD precision means a finer MVD precision; e.g., 1/16-pel MVD precision is higher than 1/4-pel MVD precision.
1. Whether to enable SMVD and/or how to apply SMVD for a block may depend on the motion information, and/or MVD precisions and/or MV precisions for the block.
a. In one example, SMVD may be disabled for some CUs depending on the MVD precision etc.
i. In one example, SMVD may be disabled when MVD precision is lower than or equal to a precision (for example, integer-pel precision) .
ii. In one example, SMVD may be disabled when MVD precision is higher than or equal to a precision (for example, integer-pel precision) .
iii. Alternatively, some MVD precisions may be disabled when SMVD is applied. For example, 4-pel precision MVD may be disabled in SMVD mode.
iv. Alternatively, furthermore, signalling of the MVD precision (AMVR indications) may depend on the usage of SMVD.
1. In one example, when SMVD is disabled for one MVD precision, the signalling of MDV precision (e.g., amvr_mode for non-affine inter mode in the specification) may be modified accordingly.
2. In one example, if one MVD precision is disallowed when SMVD is enabled, only one bin may be coded for the AMVR mode.
b. In one example, SMVD may be disabled when all MVD components of prediction 0 or/and 1 are zero.
c. In one example, SMVD mode may be signaled after the motion information of the prediction direction 0 or 1.
i. In one example, SMVD mode is not signaled if all MVD components of prediction direction 0 or 1 are zero.
ii. In one example, SMVD mode is not signaled if absolute value of horizonal or/and vertical MVD component of prediction direction 0 or 1 is smaller than a threshold.
iii. In one example, SMVD mode is not signaled if absolute sum of horizonal and vertical MVD component of prediction direction 0 or 1 is smaller than a threshold.
iv. In one example, SMVD mode is not signaled if absolute value of horizonal or/and vertical MVD component of prediction direction 0 or 1 is greater than a threshold.
v. In one example, SMVD mode is not signaled if absolute sum of horizonal and vertical MVD component of prediction direction 0 or 1 is greater than a threshold.
vi. When SMVD mode is not signaled, it may be derived as false implicitly, e.g., SMVD mode is not applied.
2. Whether to enable affine SMVD and/or how to apply SMVD for an affine coded block may depend on the affine motion information, and/or MVD precisions and/or MV precisions for the block.
a. In one example, Affine SMVD may be disabled for some CUs depending on affine MVD precision etc.
i. In one example, affine SMVD may be disabled when affine MVD precision is lower than or equal to a precision (for example, integer-pel precision) .
ii. In one example, affine SMVD may be disabled when affine MVD precision is higher than or equal to a precision (for example, integer-pel precision) .
iii. Alternatively, some affine MVD precisions may be disabled when SMVD is applied. For example, integer-pel precision affine MVD may be disabled in SMVD mode.
iv. Alternatively, furthermore, signalling of the affine MVD precision (affine AMVR indications) may depend on the usage of SMVD.
1. In one example, furthermore, when SMVD is disabled for one MVD precision, the signalling of MDV precision (e.g., amvr_mode for affine inter mode in the specification) may be modified accordingly.
2. In one example, if one MVD precision is disallowed when SMVD is enabled, only one bin may be coded for the AMVR mode.
b. In one example, affine SMVD may be disabled when all affine MVD components of prediction 0 or/and 1 are zero.
c. In one example, affine SMVD mode may be signaled after the motion information of the prediction direction 0 or 1.
i. In one example, affine SMVD mode is not signaled if all affine MVD components of prediction direction 0 or 1 are zero.
ii. In one example, affine SMVD mode is not signaled if absolute value of horizonal or/and vertical affine MVD component of N (N >= 1) control points in prediction direction 0 or 1 is smaller than a threshold.
iii. In one example, SMVD mode is not signaled if absolute sum of horizonal and vertical affine MVD component of N (N >= 1) control points in prediction direction 0 or 1 is smaller than a threshold.
iv. In one example, affine SMVD mode is not signaled if absolute value of horizonal or/and vertical affine MVD component of N (N >= 1) control points in prediction direction 0 or 1 is greater than a threshold.
v. In one example, SMVD mode is not signaled if absolute sum of horizonal and vertical affine MVD component of N (N >= 1) control points in prediction direction 0 or 1 is greater than a threshold.
vi. When affine SMVD mode is not signaled, it may be derived as false implicitly, i.e., affine SMVD mode is not applied.
3. The signaling of motion vector differences may depend on the usage of SMVD/affine SMVD.
a. In one example, when SMVD is enabled for one block and the horizontal component of the motion vector difference is equal to 0, the vertical component of the motion vector difference shall be not equal to 0.
b. In one example, the vertical component of the motion vector difference (e.g., abs_mvd_greater0_flag [1] ) may be conditionally signaled.
i. In one example, the signalling of the vertical component may depend on whether SMVD or affine SMVD is enabled for current block.
ii. In one example, the signalling of abs_mvd_greater0_flag [1] may depend on the following conditions:
1. SMVD flag (or Affine SMVD) is true and the value of horizontal component of the motion vector difference is not equal to 0 (e.g., abs_mvd_greater0_flag [0 ] is true) ; or SMVD flag (or Affine SMVD) is false.
2. When the above conditions are false, the signalling of abs_mvd_greater0_flag [1] is skipped.
a. In this case, abs_mvd_greater0_flag [1] may be derived to be true implicitly.
4. The set of allowed MVD precisions may depend on the usage of SMVD.
a. The set of allowed affine MVD precisions may depend on the usage of affine SMVD.
b. In one example, when SMVD (or affine SMVD) is enabled, lower MVD precisions may be allowed, such as (1/4-pel, 2-pel, 8-pel) .
c. In one example, when SMVD (or affine SMVD) is enabled, higher MVD precisions may be allowed, such as (1/4-pel, 1/2-pel, 1/8-pel) .
5. Whether to enable or disable the above methods may be signaled in SPS/PPS/VPS/sequence header/picture header/slice header/tile group header/tile/group of CTUs, etc. al.
a. Alternatively, which method to be used may be signaled in SPS/PPS/VPS/sequence header/picture header/slice header/tile group header/tile/group of CTUs, etc. al.
b. Alternatively, whether to enable or disable the above methods and/or which method to be applied may be dependent on block dimension, Virtual Pipelining Data Units (VPDU) , picture type, low delay check flag, coded information of current block (such as reference pictures, uni or bi-prediction) or previously coded blocks.
The examples described above may be incorporated in the context of the method described below, e.g., method 1900, which may be implemented at a video decoder or a video encoder.
FIG. 19 shows a flowchart of an exemplary method for video processing. The method 1900 includes, at step 1910, determining, based on at least one of motion information, a motion vector difference (MVD) precision or a motion vector (MV) precision of a current video block, between enabling and disabling a symmetric motion vector difference (SMVD) mode for the current video block.
The method 1900 includes, at step 1920, reconstructing, based on the determining, the current video block.
In some embodiments, the SMVD mode is disabled due to the MVD precision being lower than or equal to a threshold precision. In other embodiments, the SMVD mode is disabled due to the MVD precision being higher than equal to a threshold precision. In an example, the threshold precision is an integer-pel precision.
In some embodiments, the SMVD mode is disabled due to all MVD components of a first or second prediction direction of the current video block being zero.
In some embodiments, the SMVD mode is signaled after motion information of a first or second prediction direction of the current video block. In an example, an absolute value of a horizontal or vertical MVD component of the first or second prediction direction is lower than an MVD threshold. In another example, an absolute value of a horizontal or vertical MVD component of the first or second prediction direction is higher than an MVD threshold.
In some embodiments, signaling at least one MVD is based on the determining.
In some embodiments, the SMVD mode is enabled, and the MVD precision is 1/4-pel, 2-pel or 8-pel. In other embodiments, the SMVD mode is enabled, and the MVD precision is 1/4-pel, 1/2-pel or 1/8-pel.
In some embodiments, the determining is further based on signaling in a sequence parameter set (SPS) , a picture parameter set (PPS) , a video parameter set (VPS) , a tile group header, a slice header, a sequence header, a picture header, a tile or a group of coding tree units (CTUs) .
In some embodiments, the determining is further based on a height or a width of the current video block, a virtual pipelining data unit (VPDU) picture type, a low-delay check flag or coding information associated with the current video block or previously coded blocks.
In some embodiments, and in the context of Example 2 and with reference to method 1900, the motion information is affine motion information, the MVD precision is an affine MVD precision, the MV precision is an affine MV precision, and the SMVD mode is an affine SMVD mode.
5. Example implementations of the disclosed technology
FIG. 20 is a block diagram of a video processing apparatus 2000. The apparatus 2000 may be used to implement one or more of the methods described herein. The apparatus 2000 may be embodied in a smartphone, tablet, computer, Internet of Things (IoT) receiver, and so on. The apparatus 2000 may include one or more processors 2002, one or more memories 2004 and video processing hardware 2006. The processor (s) 2002 may be configured to implement one or more methods (including, but not limited to, method 1900) described in the present document. The memory (memories) 2004 may be used for storing data and code used for implementing the methods and techniques described herein. The video processing hardware 2006 may be used to implement, in hardware circuitry, some techniques described in the present document.
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. 20.
FIG. 21 is a flowchart for a method 2100 of processing video. The method 2100 includes, determining (2102) , for a conversion between a first block of video and a bitstream representation of the first block, whether a symmetric motion vector difference (SMVD) mode for the first block is enabled or disabled and/or how to apply the SMVD mode for the first block, based on at least one of motion information, a motion vector difference (MVD) precision and a motion vector (MV) precision of the first block; and performing (2104) the conversion based on the determining.
In some examples, the SMVD mode is disabled for partial of coding units (CUs) depending on the MVD precision.
In some examples, the SMVD mode is disabled when the MVD precision is lower than or equal to a threshold precision.
In some examples, the SMVD mode is disabled when the MVD precision is higher than equal to a threshold precision.
In some examples, the threshold precision is an integer-pel precision.
In some examples, partial of the MVD precision are disabled when the SMVD mode is applied.
In some examples, signalling of the MVD precision depends on the usage of SMVD.
In some examples, when the SMVD mode is disabled for one MVD precision, the signalling of MVD precision is modified accordingly.
In some examples, if one MVD precision is disallowed when SMVD mode is enabled, only one bit is coded for an AMVR mode.
In some examples, the SMVD mode is disabled when all MVD components of reference picture list 0 and/or reference picture list 1 of the first block are zero.
In some examples, the SMVD mode is signaled after motion information of reference picture list 0 and/or reference picture list 1 of the first block.
In some examples, the SMVD mode is not signaled if all MVD components of reference picture list 0 or reference picture list 1 of the first block are zero.
In some examples, the SMVD mode is not signaled if absolute value of horizontal or/and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is less than a threshold.
In some examples, the SMVD mode is not signaled if absolute sum of horizontal and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is less than a threshold.
In some examples, the SMVD mode is not signaled if absolute value of horizontal or/and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is greater than a threshold.
In some examples, the SMVD mode is not signaled if absolute sum of horizontal and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is greater than a threshold.
In some examples, when SMVD mode is not signaled, the SMVD mode is not applied.
In some examples, signaling of the MVD depends on the determination whether the SMVD mode for the first block is enabled or disabled.
In some examples, when SMVD mode is enabled for the first block and the horizontal component of the MVD is equal to 0, the vertical component of the MVD is not equal to 0.
In some examples, the vertical component of the MVD is conditionally signaled.
In some examples, the signaling of the vertical component of the MVD depends on the determination whether the SMVD mode for the first block is enabled or disabled.
In some examples, the signaling of the indication of whether the vertical component of the MVD is non-zero depends on one of the following conditions: SMVD flag is true and the value of horizontal component of the MVD is not equal to 0; or SMVD flag is false.
In some examples, the signaling of the indication of whether the vertical component of the MVD is non-zero is skipped when the conditions are false.
In some examples, the vertical component of the MVD is implicitly derived to be non-zero.
In some examples, the set of allowed MVD precisions depends on the determination whether the SMVD mode for the first block is enabled or disabled.
In some examples, when the SMVD mode is enabled, lower MVD precisions are allowed, wherein the lower MVD precision includes at least one of 1/4-pel, 2-pel and 8-pel.
In some examples, when the SMVD mode is enabled, higher MVD precisions are allowed, wherein the higher MVD precision is includes at least one of 1/4-pel, 1/2-pel or 1/8-pel.
In some examples, the determining is further based on an indication signaled in a sequence parameter set (SPS) , a picture parameter set (PPS) , a video parameter set (VPS) , a tile group header, a slice header, a sequence header, a picture header, a tile or a group of coding tree units (CTUs) .
In some examples, the determining further depends on at least one of block dimension, a virtual pipelining data unit (VPDU) , a picture type, a low-delay check flag or coding information associated with the first block or previously coded blocks.
In some examples, when the first block is coded with affine mode, the SMVD mode is affine SMVD mode, the motion information is affine motion information, the MVD precision is an affine MVD precision, the MV precision is an affine MV precision, and the SMVD MVD components are affine SMVD MVD components.
In some examples, the affine SMVD mode is not signaled if absolute value of horizontal or/and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is less than a threshold, N is an integer larger and/or equal to 1.
In some examples, the affine SMVD mode is not signaled if absolute sum of horizontal and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is less than a threshold, N is an integer larger and/or equal to 1.
In some examples, the affine SMVD mode is not signaled if absolute value of horizontal or/and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is greater than a threshold, N is an integer larger and/or equal to 1.
In some examples, the affine SMVD mode is not signaled if absolute sum of horizontal and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is greater than a threshold, N is an integer larger and/or equal to 1.
In some examples, the conversion generates the first block of video from the bitstream representation.
In some examples, the conversion generates the bitstream representation from the first block of video.
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.
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.
A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document) , in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code) . A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
The processes and logic flows described in this 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) .
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.
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.
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.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Moreover, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.
Only a few implementations and examples are described and other implementations, enhancements and variations can be made based on what is described and illustrated in this patent document.
Claims (38)
- A method of video processing, comprising:determining, for a conversion between a first block of video and a bitstream representation of the first block, whether a symmetric motion vector difference (SMVD) mode for the first block is enabled or disabled and/or how to apply the SMVD mode for the first block, based on at least one of motion information, a motion vector difference (MVD) precision and a motion vector (MV) precision of the first block; andperforming the conversion based on the determining.
- The method of claim 1, wherein the SMVD mode is disabled for partial of coding units (CUs) depending on the MVD precision.
- The method of claim 1 or 2, wherein the SMVD mode is disabled when the MVD precision is lower than or equal to a threshold precision.
- The method of claim 1 or 2, wherein the SMVD mode is disabled when the MVD precision is higher than equal to a threshold precision.
- The method of claim 3 or 4, wherein the threshold precision is an integer-pel precision.
- The method of any one of claims 1-5, wherein partial of the MVD precision are disabled when the SMVD mode is applied.
- The method of any one of claims 1-5, wherein signalling of the MVD precision depends on the usage of SMVD.
- The method of claim 7, wherein when the SMVD mode is disabled for one MVD precision, the signalling of MVD precision is modified accordingly.
- The method of claim 7, wherein if one MVD precision is disallowed when SMVD mode is enabled, only one bit is coded for an AMVR mode.
- The method of claim 1, wherein the SMVD mode is disabled when all MVD components of reference picture list 0 and/or reference picture list 1 of the first block are zero.
- The method of claim 1, wherein the SMVD mode is signaled after motion information of reference picture list 0 and/or reference picture list 1 of the first block.
- The method of claim 11, wherein the SMVD mode is not signaled if all MVD components of reference picture list 0 or reference picture list 1 of the first block are zero.
- The method of claim 11, wherein the SMVD mode is not signaled if absolute value of horizontal or/and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is less than a threshold.
- The method of claim 11, wherein the SMVD mode is not signaled if absolute sum of horizontal and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is less than a threshold.
- The method of claim 11, wherein the SMVD mode is not signaled if absolute value of horizontal or/and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is greater than a threshold.
- The method of claim 11, wherein the SMVD mode is not signaled if absolute sum of horizontal and vertical MVD component of reference picture list 0 or reference picture list 1 of the first block is greater than a threshold.
- The method of claim 11, wherein when SMVD mode is not signaled, the SMVD mode is not applied.
- The method of anyone of claims 1-17, wherein signaling of the MVD depends on the determination whether the SMVD mode for the first block is enabled or disabled.
- The method of claim 18, wherein when SMVD mode is enabled for the first block and the horizontal component of the MVD is equal to 0, the vertical component of the MVD is not equal to 0.
- The method of claim 18, wherein the vertical component of the MVD is conditionally signaled.
- The method of claim 20, wherein the signaling of the vertical component of the MVD depends on the determination whether the SMVD mode for the first block is enabled or disabled.
- The method of claim 20, wherein the signaling of the indication of whether the vertical component of the MVD is non-zero depends on one of the following conditions: SMVD flag is true and the value of horizontal component of the MVD is not equal to 0; or SMVD flag is false.
- The method of claim 22, wherein the signaling of the indication of whether the vertical component of the MVD is non-zero is skipped when the conditions are false.
- The method of claim 23, wherein the vertical component of the MVD is implicitly derived to be non-zero.
- The method of anyone of claims 1-24, wherein the set of allowed MVD precisions depends on the determination whether the SMVD mode for the first block is enabled or disabled.
- The method of claim 25, wherein when the SMVD mode is enabled, lower MVD precisions are allowed, wherein the lower MVD precision includes at least one of 1/4-pel, 2-pel and 8-pel.
- The method of claim 25, wherein when the SMVD mode is enabled, higher MVD precisions are allowed, wherein the higher MVD precision is includes at least one of 1/4-pel, 1/2-pel or 1/8-pel.
- The method of anyone of claims 1-27, wherein the determining is further based on an indication signaled in a sequence parameter set (SPS) , a picture parameter set (PPS) , a video parameter set (VPS) , a tile group header, a slice header, a sequence header, a picture header, a tile or a group of coding tree units (CTUs) .
- The method of anyone of claim 1-27, wherein the determining further depends on at least one of block dimension, a virtual pipelining data unit (VPDU) , a picture type, a low-delay check flag or coding information associated with the first block or previously coded blocks.
- The method of anyone of claims 1-29, wherein when the first block is coded with affine mode, the SMVD mode is affine SMVD mode, the motion information is affine motion information, the MVD precision is an affine MVD precision, the MV precision is an affine MV precision, and the SMVD MVD components are affine SMVD MVD components.
- The method of claim 30, wherein the affine SMVD mode is not signaled if absolute value of horizontal or/and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is less than a threshold, N is an integer larger and/or equal to 1.
- The method of claim 30, wherein the affine SMVD mode is not signaled if absolute sum of horizontal and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is less than a threshold, N is an integer larger and/or equal to 1.
- The method of claim 30, wherein the affine SMVD mode is not signaled if absolute value of horizontal or/and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is greater than a threshold, N is an integer larger and/or equal to 1.
- The method of claim 30, wherein the affine SMVD mode is not signaled if absolute sum of horizontal and vertical affine MVD component of N control points in reference picture list 0 or reference picture list 1 of the first block is greater than a threshold, N is an integer larger and/or equal to 1.
- The method of anyone of claims 1 to 34, wherein the conversion generates the first block of video from the bitstream representation.
- The method of anyone of claims 1 to 34, wherein the conversion generates the bitstream representation from the first block of video.
- 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 36.
- 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 36.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202610189666.9A CN121967699A (en) | 2019-02-03 | 2020-02-02 | Interaction between MV precision and MV difference encoding/decoding |
| CN202080012359.4A CN113383548B (en) | 2019-02-03 | 2020-02-02 | Interaction between MV precision and MV difference encoding/decoding |
| US17/389,200 US12081767B2 (en) | 2019-02-03 | 2021-07-29 | Interaction between MV precisions and MV difference coding |
| US18/806,808 US20240406408A1 (en) | 2019-02-03 | 2024-08-16 | Interaction between mv precisions and mv difference coding |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2019074681 | 2019-02-03 | ||
| CNPCT/CN2019/074681 | 2019-02-03 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US17/389,200 Continuation US12081767B2 (en) | 2019-02-03 | 2021-07-29 | Interaction between MV precisions and MV difference coding |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020156538A1 true WO2020156538A1 (en) | 2020-08-06 |
Family
ID=71840806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/074152 Ceased WO2020156538A1 (en) | 2019-02-03 | 2020-02-02 | Interaction between mv precisions and mv difference coding |
Country Status (3)
| Country | Link |
|---|---|
| US (2) | US12081767B2 (en) |
| CN (2) | CN121967699A (en) |
| WO (1) | WO2020156538A1 (en) |
Families Citing this family (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110620932B (en) | 2018-06-19 | 2022-11-08 | 北京字节跳动网络技术有限公司 | Mode-dependent motion vector difference accuracy set |
| JP7212150B2 (en) * | 2018-09-19 | 2023-01-24 | 北京字節跳動網絡技術有限公司 | Using Syntax for Affine Modes with Adaptive Motion Vector Resolution |
| CN118175307A (en) | 2018-12-27 | 2024-06-11 | Sk电信有限公司 | Bidirectional prediction method, video encoding method, and bit stream transmission method |
| CN120980252A (en) | 2019-01-31 | 2025-11-18 | 北京字节跳动网络技术有限公司 | Fast Algorithm for Symmetric Motion Vector Difference Encoding/Decoding Mode |
| WO2020156516A1 (en) | 2019-01-31 | 2020-08-06 | Beijing Bytedance Network Technology Co., Ltd. | Context for coding affine mode adaptive motion vector resolution |
| CN121967699A (en) * | 2019-02-03 | 2026-05-01 | 北京字节跳动网络技术有限公司 | Interaction between MV precision and MV difference encoding/decoding |
| CN121173966A (en) | 2019-02-14 | 2025-12-19 | 北京字节跳动网络技术有限公司 | Selective application of decoder-side refinement tools |
| SG11202112279WA (en) | 2019-05-11 | 2021-12-30 | Beijing Bytedance Network Technology Co Ltd | Selective use of coding tools in video processing |
| WO2021047540A1 (en) | 2019-09-09 | 2021-03-18 | Beijing Bytedance Network Technology Co., Ltd. | Coefficient scaling for high precision image and video coding |
| CN114731392B (en) | 2019-09-21 | 2025-01-03 | 北京字节跳动网络技术有限公司 | High-precision transforms and quantization for image and video encoding and decoding |
| WO2024030926A1 (en) * | 2022-08-02 | 2024-02-08 | Bytedance Inc. | Method, apparatus, and medium for video processing |
| US12382018B2 (en) * | 2022-10-26 | 2025-08-05 | Tencent America LLC | Context design for coding and decoding syntax elements in inter prediction modes |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008236402A (en) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | Interpolated image generating apparatus and interpolated image generating method |
| CN106888379A (en) * | 2017-01-13 | 2017-06-23 | 同济大学 | It is applied to H.264 arrive the interframe fast video code-transferring method of HEVC |
| CN107113425A (en) * | 2014-11-06 | 2017-08-29 | 三星电子株式会社 | Method for video coding and equipment and video encoding/decoding method and equipment |
| WO2018175720A1 (en) * | 2017-03-22 | 2018-09-27 | Qualcomm Incorporated | Constraining motion vector information derived by decoder-side motion vector derivation |
Family Cites Families (134)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7627037B2 (en) | 2004-02-27 | 2009-12-01 | Microsoft Corporation | Barbell lifting for multi-layer wavelet coding |
| US8340177B2 (en) | 2004-07-12 | 2012-12-25 | Microsoft Corporation | Embedded base layer codec for 3D sub-band coding |
| US8442108B2 (en) | 2004-07-12 | 2013-05-14 | Microsoft Corporation | Adaptive updates in motion-compensated temporal filtering |
| US8374238B2 (en) | 2004-07-13 | 2013-02-12 | Microsoft Corporation | Spatial scalability in 3D sub-band decoding of SDMCTF-encoded video |
| KR101246915B1 (en) | 2005-04-18 | 2013-03-25 | 삼성전자주식회사 | Method and apparatus for encoding or decoding moving picture |
| US20100232507A1 (en) | 2006-03-22 | 2010-09-16 | Suk-Hee Cho | Method and apparatus for encoding and decoding the compensated illumination change |
| US8254455B2 (en) | 2007-06-30 | 2012-08-28 | Microsoft Corporation | Computing collocated macroblock information for direct mode macroblocks |
| BRPI0818444A2 (en) | 2007-10-12 | 2016-10-11 | Qualcomm Inc | adaptive encoding of video block header information |
| EP2232875A2 (en) | 2008-01-11 | 2010-09-29 | Thomson Licensing | Video and depth coding |
| US8208563B2 (en) | 2008-04-23 | 2012-06-26 | Qualcomm Incorporated | Boundary artifact correction within video units |
| US8339475B2 (en) | 2008-12-19 | 2012-12-25 | Qualcomm Incorporated | High dynamic range image combining |
| US20110176611A1 (en) | 2010-01-15 | 2011-07-21 | Yu-Wen Huang | Methods for decoder-side motion vector derivation |
| CN102215386B (en) | 2010-04-09 | 2013-03-27 | 华为技术有限公司 | Video image block processing method and device |
| KR20150013776A (en) | 2010-04-09 | 2015-02-05 | 미쓰비시덴키 가부시키가이샤 | Video encoding device and video decoding device |
| US20140241434A1 (en) * | 2011-10-11 | 2014-08-28 | Mediatek Inc | Method and apparatus of motion and disparity vector derivation for 3d video coding and hevc |
| US20130094774A1 (en) | 2011-10-13 | 2013-04-18 | Sharp Laboratories Of America, Inc. | Tracking a reference picture based on a designated picture on an electronic device |
| BR112014011425B1 (en) * | 2011-11-11 | 2022-08-23 | GE Video Compression, LLC. | EFFICIENT MULTI-VIEW CODING USING DEPTH ESTIMATING AND MAP UPDATE |
| TWI638564B (en) | 2011-12-21 | 2018-10-11 | Jvc建伍股份有限公司 | Dynamic image decoding device, dynamic image decoding method, and recording medium recorded with dynamic image decoding program |
| US9525861B2 (en) | 2012-03-14 | 2016-12-20 | Qualcomm Incorporated | Disparity vector prediction in video coding |
| US9503720B2 (en) | 2012-03-16 | 2016-11-22 | Qualcomm Incorporated | Motion vector coding and bi-prediction in HEVC and its extensions |
| EP2642755B1 (en) | 2012-03-20 | 2018-01-03 | Dolby Laboratories Licensing Corporation | Complexity scalable multilayer video coding |
| EP2837187A4 (en) | 2012-04-13 | 2015-10-21 | Sharp Kk | Devices for sending and receiving a long-term reference picture indicator |
| US9380289B2 (en) | 2012-07-20 | 2016-06-28 | Qualcomm Incorporated | Parameter sets in video coding |
| US9161039B2 (en) | 2012-09-24 | 2015-10-13 | Qualcomm Incorporated | Bitstream properties in video coding |
| SG11201500311XA (en) | 2012-09-28 | 2015-02-27 | Intel Corp | Inter-layer pixel sample prediction |
| SG11201500314WA (en) | 2012-09-28 | 2015-02-27 | Intel Corp | Inter-layer residual prediction |
| US20140098851A1 (en) | 2012-10-04 | 2014-04-10 | Qualcomm Incorporated | Indication of video properties |
| US9294777B2 (en) | 2012-12-30 | 2016-03-22 | Qualcomm Incorporated | Progressive refinement with temporal scalability support in video coding |
| US9521425B2 (en) | 2013-03-19 | 2016-12-13 | Qualcomm Incorporated | Disparity vector derivation in 3D video coding for skip and direct modes |
| EP2923491B1 (en) | 2013-04-10 | 2018-10-31 | HFI Innovation Inc. | Method and apparatus for bi-prediction of illumination compensation |
| WO2014166119A1 (en) | 2013-04-12 | 2014-10-16 | Mediatek Inc. | Stereo compatibility high level syntax |
| RU2639958C2 (en) | 2013-04-17 | 2017-12-25 | Нокиа Текнолоджиз Ой | Device, method and computer program for coding and decoding videoinformation |
| JP6587046B2 (en) | 2013-07-08 | 2019-10-09 | サン パテント トラスト | Image encoding method, image decoding method, image encoding device, and image decoding device |
| WO2015006967A1 (en) | 2013-07-19 | 2015-01-22 | Mediatek Singapore Pte. Ltd. | Simplified view synthesis prediction for 3d video coding |
| CN105453561B (en) | 2013-08-13 | 2018-10-26 | 寰发股份有限公司 | Method for deriving default disparity vector in three-dimensional and multi-view video coding |
| US9294766B2 (en) | 2013-09-09 | 2016-03-22 | Apple Inc. | Chroma quantization in video coding |
| US9667996B2 (en) | 2013-09-26 | 2017-05-30 | Qualcomm Incorporated | Sub-prediction unit (PU) based temporal motion vector prediction in HEVC and sub-PU design in 3D-HEVC |
| US9762927B2 (en) | 2013-09-26 | 2017-09-12 | Qualcomm Incorporated | Sub-prediction unit (PU) based temporal motion vector prediction in HEVC and sub-PU design in 3D-HEVC |
| US20150160390A1 (en) | 2013-12-10 | 2015-06-11 | Apple Inc. | Display Having Polarizer with Unpolarized Strip |
| WO2015100710A1 (en) | 2014-01-02 | 2015-07-09 | Mediatek Singapore Pte. Ltd. | Existence of inter-view reference picture and availability of 3dvc coding tools |
| US9749642B2 (en) * | 2014-01-08 | 2017-08-29 | Microsoft Technology Licensing, Llc | Selection of motion vector precision |
| US9838712B2 (en) | 2014-03-17 | 2017-12-05 | Hfi Innovation Inc. | Method of signaling for depth-based block partitioning |
| US10158884B2 (en) | 2014-03-19 | 2018-12-18 | Qualcomm Incorporated | Simplified merge list construction process for 3D-HEVC |
| US10432928B2 (en) | 2014-03-21 | 2019-10-01 | Qualcomm Incorporated | Using a current picture as a reference for video coding |
| WO2015169230A1 (en) | 2014-05-06 | 2015-11-12 | Mediatek Inc. | Video processing method for determining position of reference block of resized reference frame and related video processing apparatus |
| CN105187824A (en) | 2014-06-10 | 2015-12-23 | 杭州海康威视数字技术股份有限公司 | Image coding method and device, and image decoding method and device |
| EP3175618A1 (en) * | 2014-09-11 | 2017-06-07 | Euclid Discoveries, LLC | Perceptual optimization for model-based video encoding |
| BR112017004886A2 (en) | 2014-09-12 | 2017-12-05 | Vid Scale Inc | video coding device and video coding method |
| US9918105B2 (en) | 2014-10-07 | 2018-03-13 | Qualcomm Incorporated | Intra BC and inter unification |
| CN104301724B (en) | 2014-10-17 | 2017-12-01 | 华为技术有限公司 | Method for processing video frequency, encoding device and decoding device |
| KR20170101983A (en) | 2014-12-31 | 2017-09-06 | 노키아 테크놀로지스 오와이 | Interlayer Prediction for Scalable Video Coding and Decoding |
| CN106416254B (en) | 2015-02-06 | 2019-08-02 | 微软技术许可有限责任公司 | Skip the evaluation phase during media encoding |
| US10200711B2 (en) | 2015-03-27 | 2019-02-05 | Qualcomm Incorporated | Motion vector derivation in video coding |
| GB2539213A (en) * | 2015-06-08 | 2016-12-14 | Canon Kk | Schemes for handling an AMVP flag when implementing intra block copy coding mode |
| US10887597B2 (en) | 2015-06-09 | 2021-01-05 | Qualcomm Incorporated | Systems and methods of determining illumination compensation parameters for video coding |
| US10356416B2 (en) | 2015-06-09 | 2019-07-16 | Qualcomm Incorporated | Systems and methods of determining illumination compensation status for video coding |
| EP3342167B1 (en) | 2015-09-02 | 2020-12-30 | MediaTek, Inc | Method and apparatus of decoder side motion derivation for video coding |
| CN108293131B (en) | 2015-11-20 | 2021-08-31 | 联发科技股份有限公司 | Method and Apparatus for Predictor Derivation Based on Priority Motion Vector |
| US20190158870A1 (en) * | 2016-01-07 | 2019-05-23 | Mediatek Inc. | Method and apparatus for affine merge mode prediction for video coding system |
| US11363253B2 (en) | 2016-05-13 | 2022-06-14 | Vid Scale, Inc. | Systems and methods for generalized multi-hypothesis prediction for video coding |
| US20170339405A1 (en) | 2016-05-20 | 2017-11-23 | Arris Enterprises Llc | System and method for intra coding |
| EP3264768A1 (en) | 2016-06-30 | 2018-01-03 | Thomson Licensing | Method and apparatus for video coding with adaptive motion information refinement |
| US11638027B2 (en) | 2016-08-08 | 2023-04-25 | Hfi Innovation, Inc. | Pattern-based motion vector derivation for video coding |
| US9832351B1 (en) | 2016-09-09 | 2017-11-28 | Cisco Technology, Inc. | Reduced complexity video filtering using stepped overlapped transforms |
| WO2018048265A1 (en) | 2016-09-11 | 2018-03-15 | 엘지전자 주식회사 | Method and apparatus for processing video signal by using improved optical flow motion vector |
| US10462462B2 (en) * | 2016-09-29 | 2019-10-29 | Qualcomm Incorporated | Motion vector difference coding technique for video coding |
| US11356693B2 (en) | 2016-09-29 | 2022-06-07 | Qualcomm Incorporated | Motion vector coding for video coding |
| US10979732B2 (en) | 2016-10-04 | 2021-04-13 | Qualcomm Incorporated | Adaptive motion vector precision for video coding |
| US10448010B2 (en) | 2016-10-05 | 2019-10-15 | Qualcomm Incorporated | Motion vector prediction for affine motion models in video coding |
| US10674165B2 (en) | 2016-12-21 | 2020-06-02 | Arris Enterprises Llc | Constrained position dependent intra prediction combination (PDPC) |
| MX2019007219A (en) | 2016-12-22 | 2019-09-05 | Kt Corp | Video signal processing method and device. |
| WO2018113658A1 (en) | 2016-12-22 | 2018-06-28 | Mediatek Inc. | Method and apparatus of motion refinement for video coding |
| US10750203B2 (en) | 2016-12-22 | 2020-08-18 | Mediatek Inc. | Method and apparatus of adaptive bi-prediction for video coding |
| US10911761B2 (en) | 2016-12-27 | 2021-02-02 | Mediatek Inc. | Method and apparatus of bilateral template MV refinement for video coding |
| US12063387B2 (en) | 2017-01-05 | 2024-08-13 | Hfi Innovation Inc. | Decoder-side motion vector restoration for video coding |
| US10542280B2 (en) | 2017-01-09 | 2020-01-21 | QUALCOMM Incorpated | Encoding optimization with illumination compensation and integer motion vector restriction |
| US20180199057A1 (en) | 2017-01-12 | 2018-07-12 | Mediatek Inc. | Method and Apparatus of Candidate Skipping for Predictor Refinement in Video Coding |
| US10701366B2 (en) | 2017-02-21 | 2020-06-30 | Qualcomm Incorporated | Deriving motion vector information at a video decoder |
| US10523964B2 (en) | 2017-03-13 | 2019-12-31 | Qualcomm Incorporated | Inter prediction refinement based on bi-directional optical flow (BIO) |
| US10701390B2 (en) | 2017-03-14 | 2020-06-30 | Qualcomm Incorporated | Affine motion information derivation |
| US10491917B2 (en) | 2017-03-22 | 2019-11-26 | Qualcomm Incorporated | Decoder-side motion vector derivation |
| PL3618444T3 (en) | 2017-04-27 | 2025-03-10 | Panasonic Intellectual Property Corporation Of America | Encoding device, decoding device, encoding method and decoding method |
| US20180332298A1 (en) | 2017-05-10 | 2018-11-15 | Futurewei Technologies, Inc. | Bidirectional Prediction In Video Compression |
| US10602180B2 (en) | 2017-06-13 | 2020-03-24 | Qualcomm Incorporated | Motion vector prediction |
| US10904565B2 (en) | 2017-06-23 | 2021-01-26 | Qualcomm Incorporated | Memory-bandwidth-efficient design for bi-directional optical flow (BIO) |
| US10477237B2 (en) | 2017-06-28 | 2019-11-12 | Futurewei Technologies, Inc. | Decoder side motion vector refinement in video coding |
| AU2018334351B2 (en) | 2017-09-15 | 2022-09-15 | Sony Corporation | Image processing device and method |
| US11677940B2 (en) | 2017-09-20 | 2023-06-13 | Electronics And Telecommunications Research Institute | Method and device for encoding/decoding image, and recording medium having stored bitstream |
| GB2567249A (en) | 2017-10-09 | 2019-04-10 | Canon Kk | New sample sets and new down-sampling schemes for linear component sample prediction |
| US11750832B2 (en) | 2017-11-02 | 2023-09-05 | Hfi Innovation Inc. | Method and apparatus for video coding |
| WO2019131807A1 (en) | 2017-12-29 | 2019-07-04 | Sharp Kabushiki Kaisha | Systems and methods for partitioning video blocks for video coding |
| CN109996081B (en) | 2017-12-31 | 2023-09-12 | 华为技术有限公司 | Image prediction method, device and codec |
| US11265551B2 (en) * | 2018-01-18 | 2022-03-01 | Qualcomm Incorporated | Decoder-side motion vector derivation |
| CA3092638A1 (en) | 2018-03-01 | 2019-09-06 | Arris Enterprises Llc | System and method of motion information storage for video coding and signaling |
| US20190306502A1 (en) | 2018-04-02 | 2019-10-03 | Qualcomm Incorporated | System and method for improved adaptive loop filtering |
| US11457233B2 (en) | 2018-04-12 | 2022-09-27 | Arris Enterprises Llc | Motion information storage for video coding and signaling |
| US10779002B2 (en) | 2018-04-17 | 2020-09-15 | Qualcomm Incorporated | Limitation of the MVP derivation based on decoder-side motion vector derivation |
| WO2019234578A1 (en) | 2018-06-05 | 2019-12-12 | Beijing Bytedance Network Technology Co., Ltd. | Asymmetric weighted bi-predictive merges |
| WO2019234676A1 (en) | 2018-06-07 | 2019-12-12 | Beijing Bytedance Network Technology Co., Ltd. | Mv precision refine |
| CN110620932B (en) | 2018-06-19 | 2022-11-08 | 北京字节跳动网络技术有限公司 | Mode-dependent motion vector difference accuracy set |
| US11070813B2 (en) | 2018-06-29 | 2021-07-20 | Intel Corporation | Global motion estimation and modeling for accurate global motion compensation for efficient video processing or coding |
| US10958934B2 (en) | 2018-07-27 | 2021-03-23 | Tencent America LLC | History-based affine merge and motion vector prediction |
| GB2590228B (en) | 2018-08-04 | 2023-04-05 | Beijing Bytedance Network Tech Co Ltd | Clipping of updated MV or derived MV |
| JP7212150B2 (en) | 2018-09-19 | 2023-01-24 | 北京字節跳動網絡技術有限公司 | Using Syntax for Affine Modes with Adaptive Motion Vector Resolution |
| WO2020058962A1 (en) | 2018-09-23 | 2020-03-26 | Beijing Bytedance Network Technology Co., Ltd. | Signaling of motion vector precision indication with adaptive motion vector resolution |
| TW202029755A (en) | 2018-09-26 | 2020-08-01 | 美商Vid衡器股份有限公司 | Bi-prediction for video coding |
| CN112913241B (en) | 2018-10-22 | 2024-03-26 | 北京字节跳动网络技术有限公司 | Restriction of decoder-side motion vector derivation |
| WO2020084461A1 (en) | 2018-10-22 | 2020-04-30 | Beijing Bytedance Network Technology Co., Ltd. | Restrictions on decoder side motion vector derivation based on coding information |
| CN112913247B (en) | 2018-10-23 | 2023-04-28 | 北京字节跳动网络技术有限公司 | Video processing using local illumination compensation |
| CN112868238B (en) | 2018-10-23 | 2023-04-21 | 北京字节跳动网络技术有限公司 | Juxtaposition between local illumination compensation and inter-prediction codec |
| WO2020096898A1 (en) | 2018-11-05 | 2020-05-14 | Interdigital Vc Holdings, Inc. | Video encoding or decoding using block extension for overlapped block motion compensation |
| EP4300965A3 (en) | 2018-11-05 | 2024-01-17 | Beijing Bytedance Network Technology Co., Ltd. | Interpolation for inter prediction with refinement |
| MX2021005355A (en) | 2018-11-07 | 2021-06-30 | Huawei Tech Co Ltd | Header parameter set for video coding. |
| WO2020098802A1 (en) | 2018-11-15 | 2020-05-22 | Beijing Bytedance Network Technology Co., Ltd. | Merge with mvd for affine |
| CN113039780B (en) | 2018-11-17 | 2023-07-28 | 北京字节跳动网络技术有限公司 | Merge using motion vector difference in video processing |
| US11146810B2 (en) | 2018-11-27 | 2021-10-12 | Qualcomm Incorporated | Decoder-side motion vector refinement |
| CN113170181B (en) | 2018-11-29 | 2023-12-08 | 北京字节跳动网络技术有限公司 | Affine inheritance methods in intra-block copy mode |
| MX2021007225A (en) * | 2018-12-17 | 2021-09-21 | Interdigital Vc Holdings Inc | COMBINATION OF MOTION VECTOR DIFFERENCE CODING TOOLS WITH OTHER MOTION MODES. |
| EP4576783A3 (en) * | 2018-12-21 | 2025-08-13 | InterDigital VC Holdings, Inc. | Symmetric motion vector difference coding |
| CN113302918B (en) | 2019-01-15 | 2025-01-17 | 北京字节跳动网络技术有限公司 | Weighted Prediction in Video Codecs |
| WO2020147804A1 (en) | 2019-01-17 | 2020-07-23 | Beijing Bytedance Network Technology Co., Ltd. | Use of virtual candidate prediction and weighted prediction in video processing |
| US11025936B2 (en) * | 2019-01-25 | 2021-06-01 | Tencent America LLC | Method and apparatus for video coding |
| CN121967699A (en) * | 2019-02-03 | 2026-05-01 | 北京字节跳动网络技术有限公司 | Interaction between MV precision and MV difference encoding/decoding |
| CN118612453A (en) | 2019-02-14 | 2024-09-06 | Lg 电子株式会社 | Inter-frame prediction method and device based on DMVR |
| CN121173966A (en) | 2019-02-14 | 2025-12-19 | 北京字节跳动网络技术有限公司 | Selective application of decoder-side refinement tools |
| TW202101985A (en) | 2019-03-11 | 2021-01-01 | 美商Vid衡器股份有限公司 | Methods and apparatus for sub-picture adaptive resolution change |
| US20200296405A1 (en) | 2019-03-14 | 2020-09-17 | Qualcomm Incorporated | Affine motion compensation refinement using optical flow |
| EP3941061A4 (en) | 2019-03-15 | 2022-05-04 | Lg Electronics Inc. | METHOD AND DEVICE FOR INTER-PREDICTION BASED ON A BDOF |
| CN113615193B (en) | 2019-03-22 | 2024-06-25 | 北京字节跳动网络技术有限公司 | Interaction between Merge list construction and other tools |
| WO2020228670A1 (en) | 2019-05-10 | 2020-11-19 | Beijing Bytedance Network Technology Co., Ltd. | Luma based secondary transform matrix selection for video processing |
| SG11202112279WA (en) | 2019-05-11 | 2021-12-30 | Beijing Bytedance Network Technology Co Ltd | Selective use of coding tools in video processing |
| JP7416921B2 (en) | 2019-09-24 | 2024-01-17 | ホアウェイ・テクノロジーズ・カンパニー・リミテッド | Decoded picture buffer behavior for resolution changes |
| CN119011876A (en) | 2019-10-10 | 2024-11-22 | 华为技术有限公司 | Encoder, decoder and corresponding methods for simplifying indication image head |
| EP4029245A4 (en) | 2019-10-12 | 2022-11-23 | Beijing Bytedance Network Technology Co., Ltd. | HIGH-LEVEL SYNTAX FOR VIDEO CODING TOOLS |
-
2020
- 2020-02-02 CN CN202610189666.9A patent/CN121967699A/en active Pending
- 2020-02-02 WO PCT/CN2020/074152 patent/WO2020156538A1/en not_active Ceased
- 2020-02-02 CN CN202080012359.4A patent/CN113383548B/en active Active
-
2021
- 2021-07-29 US US17/389,200 patent/US12081767B2/en active Active
-
2024
- 2024-08-16 US US18/806,808 patent/US20240406408A1/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008236402A (en) * | 2007-03-20 | 2008-10-02 | Toshiba Corp | Interpolated image generating apparatus and interpolated image generating method |
| CN107113425A (en) * | 2014-11-06 | 2017-08-29 | 三星电子株式会社 | Method for video coding and equipment and video encoding/decoding method and equipment |
| CN106888379A (en) * | 2017-01-13 | 2017-06-23 | 同济大学 | It is applied to H.264 arrive the interframe fast video code-transferring method of HEVC |
| WO2018175720A1 (en) * | 2017-03-22 | 2018-09-27 | Qualcomm Incorporated | Constraining motion vector information derived by decoder-side motion vector derivation |
Also Published As
| Publication number | Publication date |
|---|---|
| US20240406408A1 (en) | 2024-12-05 |
| CN121967699A (en) | 2026-05-01 |
| CN113383548B (en) | 2026-02-27 |
| CN113383548A (en) | 2021-09-10 |
| US20210360256A1 (en) | 2021-11-18 |
| US12081767B2 (en) | 2024-09-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12120340B2 (en) | Constraints for usage of updated motion information | |
| US12568223B2 (en) | Restrictions on decoder side motion vector derivation based on coding information | |
| US11778170B2 (en) | Temporal gradient calculations in bio | |
| US12041267B2 (en) | Multi-iteration motion vector refinement | |
| US11729377B2 (en) | Affine mode in video coding and decoding | |
| US12081767B2 (en) | Interaction between MV precisions and MV difference coding | |
| US20240015320A1 (en) | Syntax reuse for affine mode with adaptive motion vector resolution | |
| US20210235083A1 (en) | Sub-block based prediction | |
| US12108072B2 (en) | Fast algorithms for symmetric motion vector difference coding mode | |
| CN110662077B (en) | Symmetric bi-directional prediction modes for video coding and decoding | |
| WO2020211755A1 (en) | Motion vector and prediction sample refinement | |
| WO2020070729A1 (en) | Size restriction based on motion information | |
| WO2020156525A1 (en) | Multiple syntax elements for adaptive motion vector resolution |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20748108 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08.12.2021) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20748108 Country of ref document: EP Kind code of ref document: A1 |






