# US 2025/0168395 A1 · Systems and methods for decoder-side motion vector refinement

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

- Number: US 2025/0168395 A1
- Document ID: US20250168395A1
- Status: Published application
- Kind: A1
- Application number: 18/622,842
- Filed: 2024-03-29
- Published: 2025-05-22
- Earliest claimed: 2023-11-21
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Han GAO; Liang Zhao; Xin Zhao; Jing Ye; Shan Liu
- Web page: https://patentgrep.com/patent/US20250168395A1

## CPC

- 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/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/513: Processing of motion vectors
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An example method of video coding includes receiving a video bitstream comprising a plurality of blocks. The method also includes deriving a set of subblock motion vectors for a current subblock of a current block of the plurality of blocks and deriving a set of refined subblock motion vectors for the current subblock using bilateral matching that is based on one or more samples outside of the current subblock. The method further includes reconstructing the current subblock using the derived set of refined subblock motion vectors.

## Claims

### Claim 1

A method of video decoding performed at a computing system having memory and one or more processors, the method comprising:
receiving a video bitstream comprising a plurality of blocks;
deriving a set of subblock motion vectors for a current subblock of a current block of the plurality of blocks;
deriving a set of refined subblock motion vectors for the current subblock using bilateral matching that is based on one or more samples outside of the current subblock; and
reconstructing the current subblock using the derived set of refined subblock motion vectors.

### Claim 2 (depends on 1)

The method of claim 1, wherein the bilateral matching uses a first set of samples that is larger than the set of samples in the current subblock.

### Claim 3 (depends on 1)

The method of claim 1, wherein the bilateral matching uses a set of samples that includes a one or more samples from within the current subblock and the one or more samples outside of the current subblock.

### Claim 4 (depends on 3)

The method of claim 3, wherein the one or more samples from within the current subblock are obtained by subsampling the current subblock.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
applying a first interpolation filter for the one or more samples from within the current subblock; and
applying a second interpolation filter for the one or more samples outside of the current subblock, the second interpolation filter different than the first interpolation filter.

### Claim 6 (depends on 1)

The method of claim 1, wherein the one or more samples outside of the current subblock are selected from a set of N adjacent lines to the current subblock, wherein N is a positive integer.

### Claim 7 (depends on 6)

The method of claim 6, wherein the one or more samples are used in a distortion computation of the bilateral matching.

### Claim 8 (depends on 6)

The method of claim 6, wherein N is equal to a preset value.

### Claim 9 (depends on 6)

The method of claim 6, wherein a value for N is signaled in the video bitstream.

### Claim 10 (depends on 6)

The method of claim 6, wherein the set of N adjacent lines consists of lines above and/or below the current subblock.

### Claim 11 (depends on 6)

The method of claim 6, wherein the set of N adjacent lines are asymmetric with respect to the current subblock.

### Claim 12 (depends on 11)

The method of claim 11, wherein the set of N adjacent lines consists of a first number of lines from above or left of the current subblock, and a second number of lines from below or right of the current subblock, the second number being different than the first number.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
determining a sample position for a sample of the one or more samples;
when the sample position is outside of a predefined fetching area, obtaining a padded value for the sample; and
when the sample position is inside of the predefined fetching area, obtaining a value from the sample position.

### Claim 14 (depends on 13)

The method of claim 13, wherein the predefined fetching area corresponds to an area of the current block plus a set of N samples used for an N-tap interpolation technique, wherein N is a positive integer.

### Claim 15 (depends on 13)

The method of claim 13, wherein the predefined fetching area corresponds to an area of the current subblock plus a set of N samples used for an N-tap interpolation technique, wherein N is a positive integer.

### Claim 16 (depends on 13)

The method of claim 13, wherein:
when an optical flow mode is disabled for the current subblock, the predefined fetching area corresponds to an area of the current subblock plus a set of N samples, N being a positive integer; and
when the optical flow mode is enabled for the current subblock, the predefined fetching area corresponds to the area of the current subblock plus a set of M samples, M being a positive integer different from N.

### Claim 17

A computing system, comprising:
control circuitry;
memory; and
one or more sets of instructions stored in the memory and configured for execution by the control circuitry, the one or more sets of instructions comprising instructions for:
receiving video data comprising a plurality of blocks including a current block;
deriving a set of subblock motion vectors for a current subblock of the current block;
deriving a set of refined subblock motion vectors for the current subblock using bilateral matching that is based on one or more samples outside of the current subblock; and
encoding the current subblock using the derived set of refined subblock motion vectors.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein the bilateral matching uses a first set of samples that is larger than the set of samples in the current subblock.

### Claim 19 (depends on 17)

The computing system of claim 17, wherein the one or more sets of instructions further comprise instructions for:
determining a sample position for a sample of the one or more samples;
when the sample position is outside of a predefined fetching area, obtaining a padded value for the sample; and
when the sample position is inside of the predefined fetching area, obtaining a value from the sample position.

### Claim 20

A non-transitory computer-readable storage medium storing one or more sets of instructions configured for execution by a computing device having control circuitry and memory, the one or more sets of instructions comprising instructions for:
obtaining a source video sequence comprising a plurality of pictures; and
performing a conversion between the source video sequence and a bitstream of visual media data, wherein the bitstream comprises:
a plurality of encoded pictures corresponding to the plurality of pictures, wherein the plurality of encoded pictures includes one or more encoded subblocks encoded using a set of refined subblock motion vectors derived using bilateral matching that is based on one or more samples outside of each current subblock.
