# US 2024/0195979 A1 · BLOCK-BASED Optical Flow Estimation FOR MOTION COMPENSATED PREDICTION IN VIDEO CODING

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

- Number: US 2024/0195979 A1
- Document ID: US20240195979A1
- Status: Published application
- Kind: A1
- Application number: 18/542,997
- Filed: 2023-12-18
- Published: 2024-06-13
- Earliest claimed: 2017-11-20
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Yaowu Xu; Bohan Li; Jingning Han
- Web page: https://patentgrep.com/patent/US20240195979A1

## CPC

- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/172: the region being a picture, frame or field
- H04N 19/537: Motion estimation other than block-based
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A motion vector for a current block of a current frame is decoded from a compressed bitstream. A location of a reference block within an un-generated reference frame is identified. The reference block is generated using a forward reference frame and a backward reference frame without generating the un-generated reference frame. The reference block is generated by identifying an extended reference block by extending the reference block at each boundary of the reference block by a number of pixels related to a filter length of a filter used in sub-pixel interpolation; and generating pixel values of only the extended reference block by performing a projection using the forward reference frame and the backward reference frame without generating the whole of the un-generated reference frame. The current block is then decoded based on the reference block and the motion vector.

## Claims

### Claim 1

A method, comprising:
decoding, from a compressed bitstream, a motion vector for a current block of a current frame;
identifying a location of a reference block within an un-generated reference frame;
generating the reference block using a forward reference frame and a backward reference frame without generating the un-generated reference frame by:
identifying an extended reference block by extending the reference block at each boundary of the reference block by a number of pixels related to a filter length of a filter used in sub-pixel interpolation; and
generating pixel values of only the extended reference block by performing a projection using the forward reference frame and the backward reference frame without generating the whole of the un-generated reference frame; and
decoding the current block based on the reference block and the motion vector.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
decoding, from the compressed bitstream, a flag indicating that the current block is encoded using the un-generated reference frame.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
omitting decoding from the compressed bitstream an index of a reference frame to be used for decoding the current block in response to the flag indicating that the current block is encoded using the un-generated reference frame.

### Claim 4 (depends on 1)

The method of claim 1, wherein the un-generated reference frame is temporally co-located with the current frame.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining that motion prediction using the un-generated reference frame is available for the current frame.

### Claim 6 (depends on 5)

The method of claim 5, wherein the motion prediction using the un-generated reference frame is determined to be available in response to determining that a reference frame buffer includes the forward reference frame and the backward reference frame.

### Claim 7 (depends on 1)

The method of claim 1, wherein the number of the pixels is equal to half of the filter length.

### Claim 8

A device comprising:
a processor configured to:
decode, from a compressed bitstream, a motion vector for a current block of a current frame;
identify a location of a reference block within an un-generated reference frame;
generate the reference block using a forward reference frame and a backward reference frame without generating the un-generated reference frame, wherein to generate the reference block comprises to:
identify an extended reference block by extending the reference block at each boundary of the reference block by a number of pixels related to a filter length of a filter used in sub-pixel interpolation; and
generate pixel values of only the extended reference block by performing a projection using the forward reference frame and the backward reference frame without generating the whole of the un-generated reference frame; and
decode the current block based on the reference block and the motion vector.

### Claim 9 (depends on 8)

The device of claim 8, wherein the processor is further configured to:
decode, from the compressed bitstream, a flag indicating that the current block is encoded using the un-generated reference frame.

### Claim 10 (depends on 9)

The device of claim 9, wherein the processor is further configured to:
omit decoding from the compressed bitstream an index of a reference frame to be used for decoding the current block in response to the flag indicating that the current block is encoded using the un-generated reference frame.

### Claim 11 (depends on 8)

The device of claim 8, wherein the un-generated reference frame is temporally co-located with the current frame.

### Claim 12 (depends on 8)

The device of claim 8, wherein the processor is further configured to:
determine that motion prediction using the un-generated reference frame is available for the current frame.

### Claim 13 (depends on 12)

The device of claim 12, wherein the motion prediction using the un-generated reference frame is determined to be available in response to determining that a reference frame buffer includes the forward reference frame and the backward reference frame.

### Claim 14 (depends on 8)

The device of claim 8, wherein the number of the pixels is equal to half of the filter length.

### Claim 15

A non-transitory computer-readable storage medium having stored thereon a compressed bitstream, wherein the compressed bitstream is configured for decoding by operations comprising:
decoding, from the compressed bitstream, a motion vector for a current block of a current frame;
identifying a location of a reference block within an un-generated reference frame;
generating the reference block using a forward reference frame and a backward reference frame without generating the un-generated reference frame by:
identifying an extended reference block by extending the reference block at each boundary of the reference block by a number of pixels related to a filter length of a filter used in sub-pixel interpolation; and
generating pixel values of only the extended reference block by performing a projection using the forward reference frame and the backward reference frame without generating the whole of the un-generated reference frame; and
decoding the current block based on the reference block and the motion vector.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
decoding, from the compressed bitstream, a flag indicating that the current block is encoded using the un-generated reference frame.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the operations further comprise:
omitting decoding from the compressed bitstream an index of a reference frame to be used for decoding the current block in response to the flag indicating that the current block is encoded using the un-generated reference frame.

### Claim 18 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the un-generated reference frame is temporally co-located with the current frame.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the operations further comprise:
determining that motion prediction using the un-generated reference frame is available for the current frame.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein the motion prediction using the un-generated reference frame is determined to be available in response to determining that a reference frame buffer includes the forward reference frame and the backward reference frame.
