# US 2021/0092404 A1 · Reference picture constraint for decoder side motion refinement and bi-directional optical flow

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

- Number: US 2021/0092404 A1
- Document ID: US20210092404A1
- Status: Published application
- Kind: A1
- Application number: 17/024,124
- Filed: 2020-09-17
- Published: 2021-03-25
- Earliest claimed: 2019-09-20
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Han Huang; Wei-Jung Chien; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20210092404A1

## CPC

- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/513: Processing of motion vectors
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video coder may be configured to determine to use decoder side motion vector refinement and/or bi-directional optical flow based on the status of reference pictures associated with a block. In one example, a video decoder may determine whether decoder side motion vector refinement is enabled for a first block of video data based on whether a first reference picture from a first reference picture list is a short-term reference picture and whether a second reference picture from a second reference picture list is a short-term reference picture, and may then decode the first block of video data based on the determination.

## Claims

### Claim 1

A method of decoding video data, the method comprising:
determining whether decoder side motion vector refinement is enabled for a first block of video data based on whether a first reference picture from a first reference picture list is a short-term reference picture and whether a second reference picture from a second reference picture list is a short-term reference picture; and
decoding the first block of video data based on the determination.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining whether decoder side motion vector refinement is enabled for the first block of video data comprises:
determining that decoder side motion vector refinement is enabled for the first block of video data when both the first reference picture and the second reference picture are short-term reference pictures.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining whether decoder side motion vector refinement is enabled for the first block of video data comprises:
determining that decoder side motion vector refinement is enabled for the first block of video data when both the first reference picture and the second reference picture are not long-term reference pictures.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining whether decoder side motion vector refinement is enabled for the first block of video data comprises:
determining that decoder side motion vector refinement is disabled for the first block of video data when either the first reference picture or the second reference picture are long-term reference pictures.

### Claim 5 (depends on 1)

The method of claim 1, wherein decoding the first block of video data based on the determination comprises:
decoding the first block of video data using decoder side motion vector refinement based on determining that decoder side motion vector refinement is enabled; or
decoding the first block of video data without using decoder side motion vector refinement based on determining that decoder side motion vector refinement is not enabled.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining whether bi-directional optical flow is enabled for a second block of video data based on whether a third reference picture from a third reference picture list is a short-term reference picture and whether a fourth reference picture from a fourth reference picture list is a short-term reference picture; and
decoding the second block of video data based on the determination of whether bi-directional optical flow is enabled.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining whether bi-directional optical flow is enabled for the second block of video data comprises:
determining that bi-directional optical flow is enabled for the second block of video data when both the third reference picture and the fourth reference picture are short-term reference pictures.

### Claim 8 (depends on 6)

The method of claim 6, wherein determining whether bi-directional optical flow is enabled for the second block of video data comprises:
determining that bi-directional optical flow is enabled for the second block of video data when both the third reference picture and the fourth reference picture are not long-term reference pictures.

### Claim 9 (depends on 6)

The method of claim 6, wherein determining whether bi-directional optical flow is enabled for the second block of video data comprises:
determining that bi-directional optical flow is disabled for the second block of video data when either the third reference picture or the fourth reference picture is a long-term reference picture.

### Claim 10 (depends on 6)

The method of claim 6, wherein decoding the second block of video data based on the determination comprises:
decoding the second block of video data using bi-directional optical flow based on determining that bi-directional optical flow is enabled; or
decoding the second block of video data without using bi-directional optical flow based on determining that bi-directional optical flow is not enabled.

### Claim 11

An apparatus configured to decode video data, the apparatus comprising:
a memory configured to store a first block of video data; and
one or more processors in communication with the memory, the one or more processors configured to:
determine whether decoder side motion vector refinement is enabled for a first block of video data based on whether a first reference picture from a first reference picture list is a short-term reference picture and whether a second reference picture from a second reference picture list is a short-term reference picture; and
decode the first block of video data based on the determination.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein to determine whether decoder side motion vector refinement is enabled for the first block of video data, the one or more processors are further configured to:
determine that decoder side motion vector refinement is enabled for the first block of video data when both the first reference picture and the second reference picture are short-term reference pictures.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein to determine whether decoder side motion vector refinement is enabled for the first block of video data, the one or more processors are further configured to:
determine that decoder side motion vector refinement is enabled for the first block of video data when both the first reference picture and the second reference picture are not long-term reference pictures.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein to determine whether decoder side motion vector refinement is enabled for the first block of video data, the one or more processors are further configured to:
determine that decoder side motion vector refinement is disabled for the first block of video data when either the first reference picture or the second reference picture are long-term reference pictures.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein to decode the first block of video data based on the determination, the one or more processors are further configured to:
decode the first block of video data using decoder side motion vector refinement based on determining that decoder side motion vector refinement is enabled; or
decode the first block of video data without using decoder side motion vector refinement based on determining that decoder side motion vector refinement is not enabled.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein the one or more processors are further configured to:
determine whether bi-directional optical flow is enabled for a second block of video data based on whether a third reference picture from a third reference picture list is a short-term reference picture and whether a fourth reference picture from a fourth reference picture list is a short-term reference picture; and
decode the second block of video data based on the determination of whether bi-directional optical flow is enabled.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein to determine whether bi-directional optical flow is enabled for the second block of video data, the one or more processors are further configured to:
determine that bi-directional optical flow is enabled for the second block of video data when both the third reference picture and the fourth reference picture are short-term reference pictures.

### Claim 18 (depends on 16)

The apparatus of claim 16, wherein to determine whether bi-directional optical flow is enabled for the second block of video data, the one or more processors are further configured to:
determine that bi-directional optical flow is enabled for the second block of video data when both the third reference picture and the fourth reference picture are not long-term reference pictures.

### Claim 19 (depends on 16)

The apparatus of claim 16, wherein to determine whether bi-directional optical flow is enabled for the second block of video data, the one or more processors are further configured to:
determine that bi-directional optical flow is disabled for the second block of video data when either the third reference picture or the fourth reference picture is a long-term reference picture.

### Claim 20 (depends on 16)

The apparatus of claim 16, wherein to decode the second block of video data based on the determination, the one or more processors are further configured to:
decode the second block of video data using bi-directional optical flow based on determining that bi-directional optical flow is enabled; or
decode the second block of video data without using bi-directional optical flow based on determining that bi-directional optical flow is not enabled.

### Claim 21 (depends on 11)

The apparatus of claim 11, further comprising:
a display configured to display a picture that includes the first block of video data.

### Claim 22 (depends on 11)

The apparatus of claim 11, wherein the apparatus is a wireless communications device.

### Claim 23

An apparatus configured to decode video data, the apparatus comprising:
means for determining whether decoder side motion vector refinement is enabled for a first block of video data based on whether a first reference picture from a first reference picture list is a short-term reference picture and whether a second reference picture from a second reference picture list is a short-term reference picture; and
means for decoding the first block of video data based on the determination.

### Claim 24 (depends on 23)

The apparatus of claim 23, wherein the means for determining whether decoder side motion vector refinement is enabled for the first block of video data comprises:
means for determining that decoder side motion vector refinement is enabled for the first block of video data when both the first reference picture and the second reference picture are short-term reference pictures.

### Claim 25 (depends on 23)

The apparatus of claim 23, further comprising:
means for determining whether bi-directional optical flow is enabled for a second block of video data based on whether a third reference picture from a third reference picture list is a short-term reference picture and whether a fourth reference picture from a fourth reference picture list is a short-term reference picture; and
means for decoding the second block of video data based on the determination.

### Claim 26 (depends on 25)

The apparatus of claim 25, wherein the means for determining whether bi-directional optical flow is enabled for the second block of video data comprises:
means for determining that bi-directional optical flow is enabled for the second block of video data when both the third reference picture and the fourth reference picture are short-term reference pictures.

### Claim 27

A non-transitory computer-readable storage medium storing instructions that, when executed, cause one or more processors of a device configured to decode video data to:
determine whether decoder side motion vector refinement is enabled for a first block of video data based on whether a first reference picture from a first reference picture list is a short-term reference picture and whether a second reference picture from a second reference picture list is a short-term reference picture; and
decode the first block of video data based on the determination.

### Claim 28 (depends on 27)

The non-transitory computer-readable storage medium of claim 27, wherein to determine whether decoder side motion vector refinement is enabled for the first block of video data, the instructions further cause the one or more processors to:
determine that decoder side motion vector refinement is enabled for the first block of video data when both the first reference picture and the second reference picture are short-term reference pictures.

### Claim 29 (depends on 27)

The non-transitory computer-readable storage medium of claim 27, wherein the instructions further cause the one or more processors to:
determine whether bi-directional optical flow is enabled for a second block of video data based on whether a third reference picture from a third reference picture list is a short-term reference picture and whether a fourth reference picture from a fourth reference picture list is a short-term reference picture; and
decode the second block of video data based on the determination.

### Claim 30 (depends on 29)

The non-transitory computer-readable storage medium of claim 29, wherein to determine whether bi-directional optical flow is enabled for the second block of video data, the instructions further cause the one or more processors to:
determine that bi-directional optical flow is enabled for the second block of video data when both the third reference picture and the fourth reference picture are short-term reference pictures.
