# US 2021/0289225 A1 · Syntax reuse for affine mode with adaptive motion vector resolution

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0289225 A1
- Document ID: US20210289225A1
- Status: Published application
- Kind: A1
- Application number: 17/326,616
- Filed: 2021-05-21
- Published: 2021-09-16
- Earliest claimed: 2018-09-19
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Hongbin LIU; Li ZHANG; Kai ZHANG; Yue WANG
- Web page: https://patentgrep.com/patent/US20210289225A1

## CPC

- H04N 19/109: among a plurality of temporal predictive coding modes
- H04N 19/52: by predictive encoding
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/147: according to rate distortion criteria (rate-distortion as a criterion for motion estimation H04N19/567)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/513: Processing of motion vectors
- H04N 19/53: Multi-resolution motion estimation; Hierarchical motion estimation
- H04N 19/537: Motion estimation other than block-based
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- G06T 7/223: using block-matching
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/523: with sub-pixel accuracy
- H04N 19/567: Motion estimation based on rate distortion criteria
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method for video processing is disclosed to include: determining, for a conversion between a coded representation of a current block of a video and the current block, a motion vector difference (MVD) precision to be used for the conversion from a set of allowed multiple MVD precisions applicable to a video region containing the current video block; and performing the conversion based on the MVD precision.

## Claims

### Claim 1

A method of processing video data, the method comprising:
determining that a coding mode for a first video block is an affine inter mode;
determining, for motion information of the first video block, a motion precision from a motion precision set including multiple motion precisions; and
coding the first video block based on the determined coding mode and the determined motion precision;
wherein multiple syntax elements are selectively present in a video bitstream to indicate the motion precision in the motion precision set,
wherein the multiple syntax elements include a first syntax element and a second syntax element,
wherein the second syntax element is present in the video bitstream in case that the first syntax element is present in the video bitstream with a specific value, and
wherein the motion precision is related to one or more syntax elements of the multiple syntax elements being present in the video bitstream,
wherein semantics of at least one syntax element of the multiple syntax elements are different in a non-affine inter mode and in the affine inter mode,
wherein whether the first syntax element for the first video block is present in the video bitstream based on at least one of: 1) whether selection from multiple motion vector difference (MVD) precisions for affine inter coded blocks is enabled or disabled; or 2) MVDs of control point motion vectors of the first video block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the coding includes encoding the first video block into the video bitstream.

### Claim 3 (depends on 1)

The method of claim 1, wherein the coding includes decoding the first video block from a video bitstream.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first syntax element is not present in the video bitstream based on the at least one condition being satisfied:
motion vector differences (MVDs) of all control point motion vectors of the first video block being zero;
multiple MVD precisions for affine inter coded blocks being disabled.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first syntax element is present in the video bitstream based on the at least one condition being satisfied:
multiple MVD precisions for affine inter coded blocks being enabled;
the coding mode for the first block being determined as the affine inter mode;
at least one motion vector difference of at least one control point motion vectors of the first video block being non-zero.

### Claim 6 (depends on 1)

The method of claim 1, wherein the motion vector differences (MVDs) of control point motion vectors of the first video block comprises an MVD in each valid prediction direction for each control point motion vector, wherein when both the horizontal component and the vertical component of the MVD are zero, the MVD is a zero MVD.

### Claim 7 (depends on 1)

The method of claim 1, wherein the motion precision for the first block is a first motion precision which is a default precision, in respond to the first syntax element being not present in the video bitstream or the first syntax element being equal to zero.

### Claim 8 (depends on 7)

The method of claim 7, wherein the first motion precision is ¼ luma sample.

### Claim 9 (depends on 1)

The method of claim 1, wherein the second syntax element is present in the video bitstream based on the at least one condition being satisfied:
the first syntax element being equal to non-zero;
the coding mode of the first video block being the affine inter mode.

### Claim 10 (depends on 1)

The method of claim 1, wherein the second syntax element is equal to zero corresponding to the motion precision being 1/16 luma sample, and is equal to non-zero corresponding to the motion precision being integer luma sample.

### Claim 11 (depends on 1)

The method of claim 1, wherein a same value of the second syntax element indicates different motion precisions for blocks coded with the affine inter mode and for blocks coded with a normal inter mode.

### Claim 12 (depends on 1)

The method of claim 1, wherein the second syntax element is selectively present in a video bitstream to indicate a motion precision in a motion precision set for a block coded with an intra block copy mode, wherein the first syntax element is skipped for the block coded with the intra block copy mode.

### Claim 13 (depends on 1)

The method of claim 1, wherein the first syntax element is coded using context-based coding that includes a use of at least one context model and at least one context, wherein at least one same context model is used for the first syntax element of both blocks coded with the affine inter mode and blocks coded with the normal inter mode, and selection of context is dependent on whether the coding mode of the block is the affine inter mode or normal inter mode.

### Claim 14 (depends on 1)

The method of claim 1, wherein the second syntax element is coded using context-based coding that includes a use of at least one context model and at least one context, wherein at least one same context model and at least one same context are used for the second syntax element of both blocks coded with the affine inter mode and blocks coded with the normal inter mode.

### Claim 15 (depends on 1)

The method of claim 1, wherein the motion information comprises at least one of a motion vector difference (MVD), motion vector predictor (MVP) and motion vector (MV).

### Claim 16

A video processing apparatus comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
determine that a coding mode for a first video block is an affine inter mode;
determine, for motion information of the first video block, a motion precision from a motion precision set including multiple motion precisions; and
code the first video block based on the determined coding mode and the determined motion precision;
wherein multiple syntax elements are selectively present in a video bitstream to indicate the motion precision in the motion precision set,
wherein the multiple syntax elements include a first syntax element and a second syntax element,
wherein the second syntax element is present in the video bitstream in case that the first syntax element is present in the video bitstream with a specific value, and
wherein the motion precision is related to one or more syntax elements of the multiple syntax elements being present in the video bitstream,
wherein semantics of at least one syntax element of the multiple syntax elements are different in a non-affine inter mode and in the affine inter mode,
wherein whether the first syntax element for the first video block is present in the video bitstream based on at least one of: 1) whether selection from multiple motion vector difference (MVD) precisions for affine inter coded blocks is enabled or disabled; or 2) MVDs of control point motion vectors of the first video block.

### Claim 17

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine that a coding mode for a first video block is an affine inter mode;
determine, for motion information of the first video block, a motion precision from a motion precision set including multiple motion precisions; and
code the first video block based on the determined coding mode and the determined motion precision;
wherein multiple syntax elements are selectively present in a video bitstream to indicate the motion precision in the motion precision set,
wherein the multiple syntax elements include a first syntax element and a second syntax element,
wherein the second syntax element is present in the video bitstream in case that the first syntax element is present in the video bitstream with a specific value, and
wherein the motion precision is related to one or more syntax elements of the multiple syntax elements being present in the video bitstream,
wherein semantics of at least one syntax element of the multiple syntax elements are different in a non-affine inter mode and in the affine inter mode,
wherein whether the first syntax element for the first video block is present in the video bitstream based on at least one of: 1) whether selection from multiple MVD precisions for affine inter coded blocks is enabled or disabled; 2) motion vector differences (MVDs) of control point motion vectors of the first video block.

### Claim 18

A non-transitory computer-readable recording medium storing a video bitstream which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining that a coding mode for a first video block is an affine inter mode;
determining, for motion information of the first video block, a motion precision from a motion precision set including multiple motion precisions; and
encoding the first video block into the video bitstream based on the determined coding mode and the determined motion precision;
wherein multiple syntax elements are selectively present in the video bitstream to indicate the motion precision in the motion precision set,
wherein the multiple syntax elements include a first syntax element and a second syntax element,
wherein the second syntax element is present in the video bitstream in case that the first syntax element is present in the video bitstream with a specific value, and
wherein the motion precision is related to one or more syntax elements of the multiple syntax elements being present in the video bitstream,
wherein semantics of at least one syntax element of the multiple syntax elements are different in a non-affine inter mode and in the affine inter mode,
wherein whether the first syntax element for the first video block is present in the video bitstream based on at least one of: 1) whether selection from multiple motion vector difference (MVD) precisions for affine inter coded blocks is enabled or disabled; or 2) MVDs of control point motion vectors of the first video block.
