# US 2025/0168392 A1 · Flexible reference picture management for video encoding and decoding

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

- Number: US 2025/0168392 A1
- Document ID: US20250168392A1
- Status: Published application
- Kind: A1
- Application number: 19/027,659
- Filed: 2025-01-17
- Published: 2025-05-22
- Earliest claimed: 2018-04-12
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Bin Li; Jizheng Xu
- Web page: https://patentgrep.com/patent/US20250168392A1

## CPC

- H04N 19/513: Processing of motion vectors
- 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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/142: Detection of scene cut or scene change
- H04N 19/146: Data rate or code amount at the encoder output
- H04N 19/17: the unit being an image region, e.g. an object
- H04N 19/179: the unit being a scene or a shot
- H04N 19/23: with coding of regions that are present throughout a whole video segment, e.g. sprites, background or mosaic
- H04N 19/426: using memory downsizing methods
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/58: Motion compensation with long-term prediction, i.e. the reference frame for a current frame not being the temporally closest one (H04N19/23 takes precedence)
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Innovations in flexible reference picture management are described. For example, a video encoder and video decoder use a global reference picture set (“GRPS”) of reference pictures that remain in memory, and hence are available for use in video encoding/decoding, longer than conventional reference pictures. In particular, reference pictures of the GRPS remain available across random access boundaries. Or, as another example, a video encoder and video decoder clip a reference picture so that useful regions of the reference picture are retained in memory, while unhelpful or redundant regions of the reference picture are discarded. Reference picture clipping can reduce the amount of memory needed to store reference pictures or improve the utilization of available memory by providing better options for motion compensation. Or, as still another example, a video encoder and video decoder filter a reference picture to remove random noise (e.g., capture noise due to camera imperfections during capture).

## Claims

### Claim 1

(canceled)

### Claim 2

A computer system comprising one or more processing units and memory, wherein the computer system implements a video encoder configured to perform operations comprising:
encoding multiple pictures of a video sequence, thereby producing encoded data, wherein the encoding includes:
reconstructing a given picture of the multiple pictures, thereby producing a reconstructed version of the given picture;
scaling the reconstructed version of the given picture;
determining, based at least in part on an input version of the given picture and the scaled reconstructed version of the given picture, filter parameters that specify a filter adapted to remove noise for the given picture;
entropy coding the filter parameters;
filtering the scaled reconstructed version of the given picture, using the filter specified by the filter parameters, thereby producing a denoised reconstructed version of the given picture;
storing the denoised reconstructed version of the given picture in a buffer for use as a reference picture; and
using the reference picture in motion compensation operations for another picture of the multiple pictures; and
outputting, as part of a bitstream, the encoded data, wherein the encoded data includes the entropy-coded filter parameters.

### Claim 3 (depends on 2)

The computer system of claim 2, wherein the encoding further includes:
filtering the input version of the given picture, thereby producing a denoised input version of the given picture, wherein the filter parameters are determined using the denoised input version of the given picture as an optimization target.

### Claim 4 (depends on 2)

The computer system of claim 2, wherein the scaling increases spatial resolution of the reconstructed version of the given picture from a first spatial resolution to a second spatial resolution larger than the first spatial resolution.

### Claim 5 (depends on 2)

The computer system of claim 2, wherein the scaling changes spatial resolution of the reconstructed version of the given picture according to a scaling factor, and wherein the encoded data further includes the scaling factor.

### Claim 6 (depends on 2)

The computer system of claim 2, wherein the encoding further includes, before the scaling, filtering the reconstructed version of the given picture using a de-ringing filter.

### Claim 7 (depends on 2)

The computer system of claim 2, wherein the filter is selected from the group consisting of:
a variation of frequency-domain lowpass filter;
a variation of spatial/temporal-domain lowpass filter;
a variation of spatial/temporal-domain median filter; and
a filter that uses block-matching and three-dimensional filtering.

### Claim 8 (depends on 2)

The computer system of claim 2, wherein the filter is a Wiener filter.

### Claim 9 (depends on 2)

The computer system of claim 2, wherein the buffer is a decoded picture buffer.

### Claim 10 (depends on 2)

The computer system of claim 2, wherein the encoding further includes assigning a reference picture index to the denoised reconstructed version of the given picture according to one or more rules.

### Claim 11

In a computer system, a method comprising:
receiving, as part of a bitstream, encoded data for multiple pictures of a video sequence, wherein the encoded data includes entropy-coded filter parameters that specify a filter adapted to remove noise for a given picture of the multiple pictures; and
transmitting the encoded data to a client for playback, wherein the encoded data is organized to facilitate decoding to reconstruct the multiple pictures, with a computer-implemented video decoder at the client, by operations comprising:
entropy decoding the filter parameters for the filter;
reconstructing the given picture, thereby producing a reconstructed version of the given picture;
scaling the reconstructed version of the given picture;
filtering the scaled reconstructed version of the given picture, using the filter specified by the filter parameters, thereby producing a denoised reconstructed version of the given picture;
storing the denoised reconstructed version of the given picture for use as a reference picture; and
using the reference picture in motion compensation operations for another picture of the multiple pictures.

### Claim 12 (depends on 11)

The method of claim 11, wherein the encoded data further includes a scaling factor, and wherein the scaling changes spatial resolution of the reconstructed version of the given picture according to the scaling factor.

### Claim 13 (depends on 11)

The method of claim 11, wherein the operations further include, before the scaling, filtering the reconstructed version of the given picture using a de-ringing filter.

### Claim 14

One or more non-transitory computer-readable media having stored thereon computer-executable instructions for causing a computer system, when programmed thereby, to perform operations comprising:
receiving, as part of a bitstream, encoded data for multiple pictures of a video sequence, wherein the encoded data includes entropy-coded filter parameters that specify a filter adapted to remove noise for a given picture of the multiple pictures; and
decoding the encoded data to reconstruct the multiple pictures, including:
entropy decoding the filter parameters for the filter;
reconstructing the given picture, thereby producing a reconstructed version of the given picture;
scaling the reconstructed version of the given picture;
filtering the scaled reconstructed version of the given picture, using the filter specified by the filter parameters, thereby producing a denoised reconstructed version of the given picture;
storing the denoised reconstructed version of the given picture for use as a reference picture; and
using the reference picture in motion compensation operations for another picture of the multiple pictures.

### Claim 15 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the scaling increases spatial resolution of the reconstructed version of the given picture from a first spatial resolution to a second spatial resolution larger than the first spatial resolution.

### Claim 16 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the encoded data further includes a scaling factor, and wherein the scaling changes spatial resolution of the reconstructed version of the given picture according to the scaling factor.

### Claim 17 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the decoding further includes, before the scaling, filtering the reconstructed version of the given picture using a de-ringing filter.

### Claim 18 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the filter is selected from the group consisting of:
a variation of frequency-domain lowpass filter;
a variation of spatial/temporal-domain lowpass filter;
a variation of spatial/temporal-domain median filter; and
a filter that uses block-matching and three-dimensional filtering.

### Claim 19 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the filter is a Wiener filter.

### Claim 20 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the denoised reconstructed version of the given picture is stored in a decoded picture buffer.

### Claim 21 (depends on 14)

The one or more non-transitory computer-readable media of claim 14, wherein the decoding further includes assigning a reference picture index to the denoised reconstructed version of the given picture according to one or more rules.
