# US 2022/0295095 A1 · Learned b-frame coding using p-frame coding system

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

- Number: US 2022/0295095 A1
- Document ID: US20220295095A1
- Status: Published application
- Kind: A1
- Application number: 17/198,813
- Filed: 2021-03-11
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Reza POURREZA; Taco Sebastiaan COHEN
- Web page: https://patentgrep.com/patent/US20220295095A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 3/09: Supervised learning
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/172: the region being a picture, frame or field
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques are described for processing video data, such as by performing learned bidirectional coding using a unidirectional coding system and an interpolated reference frame. For example, a process can include obtaining a first reference frame and a second reference frame. The process can include generating a third reference frame at least in part by performing interpolation between the first reference frame and the second reference frame. The process can include performing unidirectional inter-prediction on an input frame based on the third reference frame, such as by estimating motion between an input frame and the third reference frame, and generating a warped frame at least in part by warping one or more pixels of the third reference frame based on the estimated motion. The process can include generating, based on the warped frame and a predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame.

## Claims

### Claim 1

A system for processing video data, the system comprising:
a bidirectional coding engine including an interpolation engine and a unidirectional coding engine, wherein:
the interpolation engine is configured to:
obtain a first reference frame and a second reference frame; and
generate a third reference frame at least in part by performing interpolation between the first reference frame and the second reference frame; and
the unidirectional coding engine is configured to:
perform unidirectional inter-prediction on an input frame based on the third reference frame.

### Claim 2 (depends on 1)

The system of claim 1, wherein the unidirectional coding engine includes a motion engine and a warping engine, and wherein:
the motion engine is configured to estimate motion between the input frame and the third reference frame; and
the warping engine is configured to generate a warped frame at least in part by warping one or more pixels of the third reference frame based on the estimated motion.

### Claim 3 (depends on 2)

The system of claim 2, wherein the unidirectional coding engine further includes a residual engine, and wherein:
the residual engine is configured to:
determine a residual at least in part by determining a difference between the input frame and the warped frame; and
generate a predicted residual using the residual.

### Claim 4 (depends on 3)

The system of claim 3, further comprising a memory and at least one processor coupled to the memory, wherein the unidirectional coding engine is configured to:
generate, based on the warped frame and the predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame; and
wherein the at least one processor is configured to cause the reconstructed frame to be stored in the memory.

### Claim 5 (depends on 4)

The system of claim 4, wherein the at least one processor includes a neural processing unit (NPU).

### Claim 6 (depends on 3)

The system of claim 3, wherein the motion engine includes a first neural network and the residual engine includes a second neural network.

### Claim 7 (depends on 6)

The system of claim 6, wherein the first neural network includes a first autoencoder and the second neural network includes a second autoencoder.

### Claim 8 (depends on 1)

The system of claim 1, wherein the unidirectional coding engine is configured to:
obtain a fourth reference frame;
estimate motion between an additional input frame and the fourth reference frame;
generate an additional warped frame at least in part by warping one or more pixels of the fourth reference frame based on the estimated motion; and
generate, based on the additional warped frame and an additional predicted residual, a reconstructed frame representing the additional input frame, the reconstructed frame representing the additional input frame including a unidirectionally-predicted frame.

### Claim 9 (depends on 1)

The system of claim 1, wherein, to generate the third reference frame at least in part by performing interpolation between the first reference frame and the second reference frame, the interpolation engine is configured to:
determine a first set of motion information representing pixel motion from the first reference frame to the third reference frame;
determine a second set of motion information representing pixel motion from the second reference frame to the third reference frame;
generate first warping information at least in part by performing a warping function on the first reference frame using the first set of motion information;
generate second warping information at least in part by performing the warping function on the second reference frame using the second set of motion information; and
generate the third reference frame based on the first warping information and the second warping information.

### Claim 10 (depends on 9)

The system of claim 9, wherein the first set of motion information and the second set of motion information are determined based on pixel motion between the first reference frame and the second reference frame.

### Claim 11 (depends on 9)

The system of claim 9, wherein the first set of motion information includes a first optical flow map and the second set of motion information includes a second optical flow map.

### Claim 12 (depends on 9)

The system of claim 9, wherein the warping function includes a bilinear interpolation function.

### Claim 13 (depends on 2)

The system of claim 2, wherein the estimated motion between the input frame and the third reference frame includes optical flow data.

### Claim 14 (depends on 2)

The system of claim 2, wherein the estimated motion between the input frame and the third reference frame includes dynamic convolution data.

### Claim 15 (depends on 2)

The system of claim 2, wherein the estimated motion between the input frame and the third reference frame includes block-based motion data.

### Claim 16 (depends on 1)

The system of claim 1, wherein the system is one of a mobile device, an extended reality device, or a television.

### Claim 17 (depends on 1)

The system of claim 1, further comprising at least one of a display and a camera configured to capture one or more video frames.

### Claim 18

A method for processing video data, the method comprising:
obtaining a first reference frame and a second reference frame;
generating a third reference frame at least in part by performing interpolation between the first reference frame and the second reference frame; and
performing unidirectional inter-prediction on an input frame based on the third reference frame.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
estimating motion between the input frame and the third reference frame; and
generating a warped frame at least in part by warping one or more pixels of the third reference frame based on the estimated motion.

### Claim 20 (depends on 19)

The method of claim 19, further comprising:
determining a residual at least in part by determining a difference between the input frame and the warped frame; and
generating a predicted residual using the residual.

### Claim 21 (depends on 20)

The method of claim 20, further comprising:
generating, based on the warped frame and the predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame; and
causing the reconstructed frame to be stored in a memory.

### Claim 22 (depends on 20)

The method of claim 20, wherein the motion is estimated using a first autoencoder, and wherein the predicted residual is generated using a second autoencoder.

### Claim 23 (depends on 18)

The method of claim 18, further comprising:
obtaining a fourth reference frame;
estimating motion between an additional input frame and the fourth reference frame;
generating an additional warped frame at least in part by warping one or more pixels of the fourth reference frame based on the estimated motion; and
generating, based on the additional warped frame and an additional predicted residual, a reconstructed frame representing the additional input frame, the reconstructed frame representing the additional input frame including a unidirectionally-predicted frame.

### Claim 24 (depends on 18)

The method of claim 18, further comprising:
determining a first set of motion information representing pixel motion from the first reference frame to the third reference frame;
determining a second set of motion information representing pixel motion from the second reference frame to the third reference frame;
generating first warping information at least in part by performing a warping function on the first reference frame using the first set of motion information;
generating second warping information at least in part by performing the warping function on the second reference frame using the second set of motion information; and
generating the third reference frame based on the first warping information and the second warping information.

### Claim 25 (depends on 24)

The method of claim 24, wherein the first set of motion information and the second set of motion information are determined based on pixel motion between the first reference frame and the second reference frame.

### Claim 26 (depends on 24)

The method of claim 24, wherein the first set of motion information includes a first optical flow map and the second set of motion information includes a second optical flow map.

### Claim 27 (depends on 24)

The method of claim 24, wherein the warping function includes a bilinear interpolation function.

### Claim 28 (depends on 19)

The method of claim 19, wherein the estimated motion between the input frame and the third reference frame includes optical flow data.

### Claim 29 (depends on 19)

The method of claim 19, wherein the estimated motion between the input frame and the third reference frame includes dynamic convolution data.

### Claim 30 (depends on 19)

The method of claim 19, wherein the estimated motion between the input frame and the third reference frame includes block-based motion data.

### Claim 31

A non-transitory computer-readable medium having stored thereon instructions which, when executed by one or more processors, cause the one or more processors to:
obtain a first reference frame and a second reference frame;
generate a third reference frame at least in part by performing interpolation between the first reference frame and the second reference frame; and
perform unidirectional inter-prediction on an input frame based on the third reference frame.

### Claim 32 (depends on 31)

The non-transitory computer-readable medium of claim 31, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
estimate motion between an input frame and the third reference frame; and
generate a warped frame at least in part by warping one or more pixels of the third reference frame based on the estimated motion.

### Claim 33 (depends on 32)

The non-transitory computer-readable medium of claim 32, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
determine a residual at least in part by determining a difference between the input frame and the warped frame; and
generate a predicted residual using the residual.

### Claim 34 (depends on 33)

The non-transitory computer-readable medium of claim 33, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
generate, based on the warped frame and the predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame; and
cause the reconstructed frame to be stored in a memory.

### Claim 35 (depends on 33)

The non-transitory computer-readable medium of claim 33, wherein the motion is estimated using a first autoencoder, and wherein the predicted residual is generated using a second autoencoder.

### Claim 36 (depends on 31)

The non-transitory computer-readable medium of claim 31, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
obtain a fourth reference frame;
estimate motion between an additional input frame and the fourth reference frame;
generate an additional warped frame at least in part by warping one or more pixels of the fourth reference frame based on the estimated motion; and
generate, based on the additional warped frame and an additional predicted residual, a reconstructed frame representing the additional input frame, the reconstructed frame representing the additional input frame including a unidirectionally-predicted frame.

### Claim 37 (depends on 31)

The non-transitory computer-readable medium of claim 31, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
determine a first set of motion information representing pixel motion from the first reference frame to the third reference frame;
determine a second set of motion information representing pixel motion from the second reference frame to the third reference frame;
generate first warping information at least in part by performing a warping function on the first reference frame using the first set of motion information;
generate second warping information at least in part by performing the warping function on the second reference frame using the second set of motion information; and
generate the third reference frame based on the first warping information and the second warping information.

### Claim 38

A system for processing video data, the system comprising:
a memory; and
at least one processor coupled to the memory, the at least one processor configured to:
obtain an interpolated reference frame and motion information representing motion between an input frame and the interpolated reference frame;
estimate, based on the motion information, the motion between the input frame and the interpolated reference frame;
generate a warped frame at least in part by warping one or more pixels of the interpolated reference frame based on the estimated motion; and
generate, based on the warped frame and a predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame.

### Claim 39 (depends on 38)

The system of claim 38, wherein the at least one processor is configured to:
obtain a first reference frame and a second reference frame; and
generate the interpolated reference frame at least in part by performing interpolation between the first reference frame and the second reference frame.

### Claim 40 (depends on 38)

The system of claim 38, wherein the at least one processor is configured to:
obtain a residual from a bitstream; and
generate the predicted residual based on the obtained residual.

### Claim 41 (depends on 40)

The system of claim 40, wherein the motion information is obtained from the bitstream.

### Claim 42 (depends on 38)

The system of claim 38, wherein the at least one processor is configured to:
obtain a fourth reference frame;
estimate motion between an additional input frame and the fourth reference frame;
generate an additional warped frame at least in part by warping one or more pixels of the fourth reference frame based on the estimated motion; and
generate, based on the additional warped frame and an additional predicted residual, a reconstructed frame representing the additional input frame, the reconstructed frame representing the additional input frame including a unidirectionally-predicted frame.

### Claim 43

A method for processing video data, the method comprising:
obtaining an interpolated reference frame and motion information representing motion between an input frame and the interpolated reference frame;
estimating, based on the motion information, the motion between the input frame and the interpolated reference frame;
generating a warped frame at least in part by warping one or more pixels of the interpolated reference frame based on the estimated motion; and
generating, based on the warped frame and a predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame.

### Claim 44 (depends on 43)

The method of claim 43, further comprising:
obtaining a first reference frame and a second reference frame; and
generating the interpolated reference frame at least in part by performing interpolation between the first reference frame and the second reference frame.

### Claim 45 (depends on 43)

The method of claim 43, further comprising:
obtaining a residual from a bitstream; and
generating the predicted residual based on the obtained residual.

### Claim 46 (depends on 45)

The method of claim 45, wherein the motion information is obtained from the bitstream.

### Claim 47 (depends on 43)

The method of claim 43, further comprising:
obtaining a fourth reference frame;
estimating motion between an additional input frame and the fourth reference frame;
generating an additional warped frame at least in part by warping one or more pixels of the fourth reference frame based on the estimated motion; and
generating, based on the additional warped frame and an additional predicted residual, a reconstructed frame representing the additional input frame, the reconstructed frame representing the additional input frame including a unidirectionally-predicted frame.

### Claim 48

A non-transitory computer-readable medium having stored thereon instructions which, when executed by one or more processors, cause the one or more processors to:
obtain an interpolated reference frame and motion information representing motion between an input frame and the interpolated reference frame;
estimate, based on the motion information, the motion between the input frame and the interpolated reference frame;
generate a warped frame at least in part by warping one or more pixels of the interpolated reference frame based on the estimated motion; and
generate, based on the warped frame and a predicted residual, a reconstructed frame representing the input frame, the reconstructed frame including a bidirectionally-predicted frame.

### Claim 49 (depends on 48)

The non-transitory computer-readable medium of claim 48, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
obtain a first reference frame and a second reference frame; and
generate the interpolated reference frame at least in part by performing interpolation between the first reference frame and the second reference frame.

### Claim 50 (depends on 48)

The non-transitory computer-readable medium of claim 48, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
obtain a residual from a bitstream; and
generate the predicted residual based on the obtained residual.

### Claim 51 (depends on 50)

The non-transitory computer-readable medium of claim 50, wherein the motion information is obtained from the bitstream.

### Claim 52 (depends on 48)

The non-transitory computer-readable medium of claim 48, further comprising instructions which, when executed by the one or more processors, cause the one or more processors to:
obtain a fourth reference frame;
estimate motion between an additional input frame and the fourth reference frame;
generate an additional warped frame at least in part by warping one or more pixels of the fourth reference frame based on the estimated motion; and
generate, based on the additional warped frame and an additional predicted residual, a reconstructed frame representing the additional input frame, the reconstructed frame representing the additional input frame including a unidirectionally-predicted frame.
