# US 2022/0279188 A1 · Video decoding and encoding

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

- Number: US 2022/0279188 A1
- Document ID: US20220279188A1
- Status: Published application
- Kind: A1
- Application number: 17/695,226
- Filed: 2022-03-15
- Published: 2022-09-01
- Earliest claimed: 2016-12-30
- Assignees: Telefonaktiebolaget LM Ericsson (publ)
- Applicants: Telefonaktiebolaget LM Ericsson (publ)
- Inventors: Rickard SJÖBERG; Martin PETTERSSON
- Web page: https://patentgrep.com/patent/US20220279188A1

## CPC

- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/463: by compressing encoding parameters before transmission
- 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/423: characterised by memory arrangements (H04N19/433 takes precedence)
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/503: involving temporal prediction (adaptive coding with adaptive selection between spatial and temporal predictive coding H04N19/107; adaptive coding with adaptive selection among a plurality of temporal predictive coding modes H04N19/109)
- H04N 19/573: Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Data that is predicted across pictures in a video sequence is managed by separating the data into multiple data types. Instead of keeping all data associated with a decoded picture, such as picture sample values and motion vector data, data associated with a decoded picture is split by data type to enable storing only a subset of all data associated with a decoded picture.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for decoding, from a bitstream, coded sample data of an encoded representation of a video sequence, comprising:
receiving non-sample data for at least a first picture and a second picture;
storing the non-sample data in a decoder memory that comprises a decoded picture buffer (DPB);
receiving first coded sample data for the first picture;
decoding the first coded sample data using the non-sample data to produce first decoded sample data;
storing the first decoded sample data in the DPB;
removing the first decoded sample data from the DPB;
receiving second coded sample data for the second picture;
keeping the non-sample data in the decoder memory based on a storage type indicator;
decoding the second coded sample data using the non-sample data to produce second decoded sample data; and
storing the second decoded sample data in the DPB.

### Claim 22 (depends on 21)

The method of claim 21, further comprising identifying, in the decoder memory, the non-sample data among non-sample data of different previously decoded pictures of the video sequence based on information retrieved from the bitstream.

### Claim 23 (depends on 22)

The method of claim 22, further comprising:
retrieving the information from the bitstream; and
obtaining, based on the information retrieved from the bitstream, an index to a list of indicators to different non-sample data from the different previously decoded pictures, wherein
identifying the non-sample data comprises identifying, in the decoder memory, the non-sample data among the non-sample data of the different previously decoded pictures based on the index.

### Claim 24 (depends on 21)

The method of claim 21, further comprising:
after decoding the second coded sample data using the non-sample data, removing the non-sample data from the decoder memory.

### Claim 25 (depends on 21)

The method of claim 21, wherein
the first decoded sample data comprises luma values, and
the non-sample data does not comprise any luma values.

### Claim 26 (depends on 21)

The method of claim 21, further comprising:
marking the first decoded sample data as one of used for reference and unused for reference and marking the non-sample data as one of used for reference and unused for reference, wherein data marked as used for reference indicates that the data is available as reference data by a subsequently decoded picture of the video sequence and data marked as unused for reference indicates that the data is not available as reference data by any subsequently decoded picture of the video sequence, wherein
removing the first decoded sample data comprises removing the first decoded sample data from the decoder memory if the first decoded sample data is marked as unused for reference and a previously decoded picture is not needed for output.

### Claim 27

A method for encoding sample data, comprising:
storing in an encoder memory non-sample data for at least a first picture and a second picture, the encoder memory comprising a decoded picture buffer (DPB);
encoding first sample data for the first picture to produce first coded sample data;
decoding the first coded sample data using the non-sample data to produce first decoded sample data;
storing the first decoded sample data in the DPB;
removing the first decoded sample data from the DPB;
encoding second sample data for the second picture to produce second coded sample data;
keeping the non-sample data in the decoder memory based on a storage type indicator;
decoding the second coded sample data using the non-sample data to produce second decoded sample data; and
storing the second decoded sample data in the DPB.

### Claim 28 (depends on 27)

The method of claim 27, further comprising:
after decoding the second coded sample data using the non-sample data, removing the non-sample data from the decoder memory.

### Claim 29 (depends on 27)

The method of claim 27, wherein
the first decoded sample data comprises luma values, and
the non-sample data does not comprise any luma values.

### Claim 30 (depends on 27)

The method of claim 27, further comprising:
marking the first decoded sample data as one of used for reference and unused for reference and marking the non-sample data as one of used for reference and unused for reference, wherein data marked as used for reference indicates that the data is available as reference data by a subsequently encoded picture of the video sequence and data marked as unused for reference indicates that the data is not available as reference data by any subsequently encoded picture of the video sequence, wherein
removing the first decoded sample data comprises removing the first decoded sample data from the DPB if the first decoded sample data is marked as unused for reference and a previously reconstructed picture is not needed for output.

### Claim 31

A decoder comprising:
a processor; and
a memory comprising instructions executable by the processor, wherein the decoder is configured to perform a method comprising:
receiving non-sample data for at least a first picture and a second picture;
storing the non-sample data in a decoder memory that comprises a decoded picture buffer (DPB);
receiving first coded sample data for the first picture;
decoding the first coded sample data using the non-sample data to produce first decoded sample data;
storing the first decoded sample data in the DPB;
removing the first decoded sample data from the DPB;
receiving second coded sample data for the second picture;
keeping the non-sample data in the decoder memory based on a storage type indicator;
decoding the second coded sample data using the non-sample data to produce second decoded sample data; and
storing the second decoded sample data in the DPB.

### Claim 32 (depends on 31)

The decoder of claim 31, wherein the method further comprises identifying, in the decoder memory, the non-sample data among non-sample data of different previously decoded pictures of the video sequence based on information retrieved from the bitstream.

### Claim 33 (depends on 32)

The decoder of claim 32, wherein the method further comprises:
retrieving the information from the bitstream; and
obtaining, based on the information retrieved from the bitstream, an index to a list of indicators to different non-sample data from the different previously decoded pictures, wherein
identifying the non-sample data comprises identifying, in the decoder memory, the non-sample data among the non-sample data of the different previously decoded pictures based on the index.

### Claim 34 (depends on 31)

The decoder of claim 31, wherein the method further comprises:
after decoding the second coded sample data using the non-sample data, removing the non-sample data from the decoder memory.

### Claim 35 (depends on 31)

The decoder of claim 31, wherein
the first decoded sample data comprises luma values, and
the non-sample data does not comprise any luma values.

### Claim 36 (depends on 31)

The decoder of claim 31, wherein the method further comprises:
marking the first decoded sample data as one of used for reference and unused for reference and marking the non-sample data as one of used for reference and unused for reference, wherein data marked as used for reference indicates that the data is available as reference data by a subsequently decoded picture of the video sequence and data marked as unused for reference indicates that the data is not available as reference data by any subsequently decoded picture of the video sequence, wherein
removing the first decoded sample data comprises removing the first decoded sample data from the decoder memory if the first decoded sample data is marked as unused for reference and a previously decoded picture is not needed for output.

### Claim 37

An encoder comprising:
a processor; and
a memory comprising instructions executable by the processor, wherein the encoder is configured to perform a method comprising:
storing in an encoder memory non-sample data for at least a first picture and a second picture, the encoder memory comprising a decoded picture buffer (DPB);
encoding first sample data for the first picture to produce first coded sample data;
decoding the first coded sample data using the non-sample data to produce first decoded sample data;
storing the first decoded sample data in the DPB;
removing the first decoded sample data from the DPB;
encoding second sample data for the second picture to produce second coded sample data;
keeping the non-sample data in the decoder memory based on a storage type indicator;
decoding the second coded sample data using the non-sample data to produce second decoded sample data; and
storing the second decoded sample data in the DPB.

### Claim 38 (depends on 37)

The encoder of claim 37, wherein the method further comprises:
after decoding the second coded sample data using the non-sample data, removing the non-sample data from the decoder memory.

### Claim 39 (depends on 37)

The encoder of claim 37, wherein
the first decoded sample data comprises luma values, and
the non-sample data does not comprise any luma values.

### Claim 40 (depends on 37)

The encoder of claim 37, wherein the method further comprises:
marking the first decoded sample data as one of used for reference and unused for reference and marking the non-sample data as one of used for reference and unused for reference, wherein data marked as used for reference indicates that the data is available as reference data by a subsequently encoded picture of the video sequence and data marked as unused for reference indicates that the data is not available as reference data by any subsequently encoded picture of the video sequence, wherein
removing the first decoded sample data comprises removing the first decoded sample data from the DPB if the first decoded sample data is marked as unused for reference and a previously reconstructed picture is not needed for output.

### Claim 41 (depends on 21)

The method of claim 21, wherein the storage type indicator is obtained from the bitstream.

### Claim 42 (depends on 21)

The method of claim 21, further comprising including in a bitstream the first coded sample data and the storage type indicator is obtained from the bitstream.
