# US 2025/0159245 A1 · Method, apparatus, and medium for video processing

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

- Number: US 2025/0159245 A1
- Document ID: US20250159245A1
- Status: Published application
- Kind: A1
- Application number: 19/022,577
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2022-07-15
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Zhipin DENG; Kai ZHANG; Li ZHANG
- Web page: https://patentgrep.com/patent/US20250159245A1

## CPC

- H04N 19/52: by predictive encoding
- H04N 19/11: among a plurality of spatial predictive coding modes
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/55: Motion estimation with spatial constraints, e.g. at image or region borders
- H04N 19/563: Motion estimation with padding, i.e. with filling of non-object values in an arbitrarily shaped picture block or region for estimation purposes
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Embodiments of the disclosure provide a solution for video processing. A method for video processing is proposed. The method includes: determining, for a conversion between a video unit of a video and a bitstream of the video, that the video unit is coded by a motion pair from a same direction relative to a current picture, wherein the video unit is applied with an advanced motion vector prediction (AMVP) merge mode and the video unit belongs to a low-delay picture; and performing the conversion based on the motion pair.

## Claims

### Claim 1

A method of video processing, comprising:
applying, for a conversion between a video unit of a video and a bitstream of the video, at least one of: a decoder side motion vector refinement (DMVR) or a variant of DMVR to the video unit to refine a motion vector of the video unit, wherein the video unit is applied with one of: an affine advanced motion vector prediction (AMVP) mode, a subblock-based temporal motion vector prediction (sbTMVP) mode, or an affine merge mode; and
performing the conversion based on the refined motion vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein at least one of the DMVR or the variant of DMVR is used to refine a shift motion vector (MV) for the sbTMVP mode, and/or
wherein at least one of the DMVR or the variant of DMVR is used to refine a control point motion vector (CPMV) for the affine merge mode, and/or
wherein at least one of the DMVR or the variant of DMVR is used to refine a control point motion vector (CPMV) for the affine AMVP mode.

### Claim 3 (depends on 2)

The method of claim 2, wherein the shift MV is bi-directional predicted, and/or
wherein the shift MV points to two reference pictures from both forward and backward, and/or
wherein the shift MV that meets a DMVR condition or a decoder side motion vector difference (DMVD) condition is generated for the sbTMVP mode, and/or
wherein the shift MV is used to derive motion vectors from corresponding prediction units (PUs) in reference pictures.

### Claim 4 (depends on 2)

The method of claim 2, wherein only a PU level DMVD or DMVR is used, and/or
wherein at least one of the DMVR or the variant of DMVR is applied to the CPMV that meets a DMVR condition or a DMVD condition, and/or
wherein at least one of the DMVR or the variant of DMVR is applied to the CPMV that points to reference pictures from both forward and backward, and/or
wherein at least one of the DMVR or the variant of DMVR is applied to the CPMV pairs for a bi-directional predicted affine AMVP mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein the video unit is coded by a motion pair from a same direction relative to a current picture, wherein the video unit is applied with an advanced motion vector prediction (AMVP) merge mode and the video unit belongs to a low-delay picture.

### Claim 6 (depends on 5)

The method of claim 5, wherein a decoder side motion vector refinement (DMVR) of the video unit is off, and/or
wherein a reference picture resampling (RPR) of the video unit is on.

### Claim 7 (depends on 5)

The method of claim 5, wherein the motion pair comprises an AMVP motion vector (MV) and a MERGE MV, and/or
wherein the AMVP merge mode is allowed for the low-delay picture in a random access configuration, and/or
wherein the AMVP merge mode is allowed for the low-delay picture in a low-delay configuration, and/or
wherein the motion pair comprises an AMVP MV and a MERGE MV, and the AMVP MV points to a first reference picture with a first picture order count (POC) value and the MERGE MV points to a second reference picture with a second POC value.

### Claim 8 (depends on 5)

The method of claim 5, further comprising:
for a generation of an AMVP merge list, applying a two-step reference picture checking procedure to the video unit, and
wherein applying the two-step reference picture checking procedure comprises:
determining whether a first condition is fulfilled; and/or
if the first condition is not fulfilled, determining whether a second condition is fulfilled.

### Claim 9 (depends on 8)

The method of claim 8, wherein the first condition comprises whether there are available reference pictures from both forward and backward directions, and/or
wherein if the first condition is fulfilled, a true-bi-direction AMVP merge mode is conducted, and/or
wherein the second condition comprises whether there are available reference pictures from a same direction but with different POC distances, and/or
wherein if the second condition is fulfilled, a same-direction AMVP merge mode is conducted.

### Claim 10 (depends on 5)

The method of claim 5, wherein an AMVP MV in the motion pair is determined based on at least one of: a coded motion vector prediction (MVP) index or a coded reference index, and/or
wherein a template matching (TM) based refinement is used for the motion pair from a same direction, and/or
wherein if there is a plurality of reference pictures that has a different POC distance from that of an AMVP reference picture, a target reference picture from the plurality of reference pictures is selected to derive a MERGE MV in the motion pair.

### Claim 11 (depends on 10)

The method of claim 10, wherein the target reference picture is selected based on a distance to a current picture, and/or
wherein the target reference picture is selected based on a POC distance.

### Claim 12 (depends on 11)

The method of claim 11, wherein the target reference picture is closer to the current picture than other reference pictures, and/or
wherein the target reference picture is closer to then AMVP reference picture than other reference pictures, and/or
wherein the target reference picture has a smaller POC value than other reference pictures in the plurality of reference pictures, and/or
wherein the target reference picture has a greater POC value than other reference pictures in the plurality of reference pictures.

### Claim 13 (depends on 1)

The method of claim 1, wherein a MERGE MV in the motion pair is determined based on a rule, and
wherein the rule is based on a predefined position of a MERGE MV candidate in a MERGE MV list, or
wherein the rule is based on a TM cost.

### Claim 14 (depends on 1)

The method of claim 1, wherein at least one local illumination compensation (LIC) model parameter of a LIC model for the video unit is derived based on a non-linear model, wherein the video unit coded is a LIC coded block, and
wherein the LIC model is updated by adjusting the at least one LIC model parameter.

### Claim 15 (depends on 14)

The method of claim 14, wherein the at least one LIC model parameter is derived based on predC=a0*((predR*predR+b)>>s)+a1*predR+a2*c,
wherein predC represents prediction sample values of samples neighboring to a current block, predR represents prediction sample values of samples neighboring to a reference block, a0, a1 and a2 represent LIC parameters, respectively, b and c are integers, s represents a shift factor which is an integer, or
wherein the at least one LIC model parameter is derived based on predC=a0*((recR*recR+b)>>s)+a1*recR+a2*c,
wherein recC represents reconstruction sample values of samples neighboring to a current block, recR represents reconstruction sample values of samples neighboring to a reference block, a0, a1, and a2 represent LIC parameters, respectively, b and c are integers, s represents a shift factor which is an integer.

### Claim 16 (depends on 1)

The method of claim 1, wherein a non-average weighting approach to is applied the video unit, wherein the video unit is applied with an advanced motion vector prediction (AMVP) merge mode.

### Claim 17 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the video unit into the bitstream, or
wherein the conversion includes decoding the video unit from the bitstream.

### Claim 18

An apparatus for video processing comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
apply, for a conversion between a video unit of a video and a bitstream of the video, at least one of: a decoder side motion vector refinement (DMVR) or a variant of DMVR to the video unit to refine a motion vector of the video unit, wherein the video unit is applied with one of: an affine advanced motion vector prediction (AMVP) mode, a subblock-based temporal motion vector prediction (sbTMVP) mode, or an affine merge mode; and
perform the conversion based on the refined motion vector.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
apply, for a conversion between a video unit of a video and a bitstream of the video, at least one of: a decoder side motion vector refinement (DMVR) or a variant of DMVR to the video unit to refine a motion vector of the video unit, wherein the video unit is applied with one of: an affine advanced motion vector prediction (AMVP) mode, a subblock-based temporal motion vector prediction (sbTMVP) mode, or an affine merge mode; and
perform the conversion based on the refined motion vector.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by an apparatus for video processing, wherein the method comprises:
applying at least one of: a decoder side motion vector refinement (DMVR) or a variant of DMVR to a video unit of the video to refine a motion vector of the video unit, wherein the video unit is applied with one of: an affine advanced motion vector prediction (AMVP) mode, a subblock-based temporal motion vector prediction (sbTMVP) mode, or an affine merge mode; and
generating a bitstream of the video unit based on the refined motion vector.
