# US 2021/0243447 A1 · Planar prediction mode for visual media 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 2021/0243447 A1
- Document ID: US20210243447A1
- Status: Published application
- Kind: A1
- Application number: 17/181,739
- Filed: 2021-02-22
- Published: 2021-08-05
- Earliest claimed: 2018-08-24
- Assignees: Zte Corporation
- Applicants: ZTE Corporation
- Inventors: Ming LI; Ping WU; Zhao WU
- Web page: https://patentgrep.com/patent/US20210243447A1

## 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/593: involving spatial prediction techniques
- 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/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Devices, systems and methods for deriving intra prediction samples when the intra prediction mode for a coding block is the planar mode are described. In an aspect, a method for video coding includes selecting a first set of reference samples that are reconstructed neighboring samples of a current block, and determining a prediction value for a prediction sample of the current block by interpolating at least one of the first set and a second set of reference samples, where a reference sample of the second set of reference samples is based on a weighted sum of a first sample and a second sample from the first set of reference samples, and where the reference sample is aligned horizontally with the first sample, aligned vertically with the second sample, and positioned on an opposite side of the prediction sample with respect to either the first or the second sample.

## Claims

### Claim 1

A method for video coding, comprising:
(a) selecting a first set of reference samples that are reconstructed neighboring samples of a current block; and
(b) determining a prediction value for a prediction sample of the current block by interpolating at least one of the first set of reference samples and at least one of a second set of reference samples,
wherein a reference sample of the second set of reference samples is based on a weighted sum of a first sample and a second sample from the first set of reference samples,
wherein the reference sample is aligned horizontally with the first sample,
wherein the reference sample is aligned vertically with the second sample, and
wherein the reference sample is positioned on an opposite side of the prediction sample with respect to one of the first sample and the second sample.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
(c) repeating steps (a) and (b) for each sample of the current block;
(d) calculating a residual of the current block using the prediction values corresponding to the each sample of the current block; and
(e) encoding the residual into a bitstream.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
(c) parsing a bitstream representation of the current block to determine a residual of the current block; and
(d) reconstructing a sample of the current block based on a sum of the prediction sample and the residual.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first sample is a left neighboring sample, wherein the second sample is either a top-right neighboring sample or a bottom-right neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical row index.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method of claim 1, wherein the first sample is a top neighboring sample, wherein the second sample is either a bottom-left neighboring sample or a bottom-right neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical column index.

### Claim 7

(canceled)

### Claim 8 (depends on 1)

The method of claim 1, wherein the first sample is a right neighboring sample, wherein the second sample is either a top-left neighboring sample or a bottom-left neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical row index.

### Claim 9

(canceled)

### Claim 10 (depends on 1)

The method of claim 1, wherein the first sample is a bottom neighboring sample, wherein the second sample is either a top-left neighboring sample or a top-right neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical column index.

### Claim 11

(canceled)

### Claim 12 (depends on 1)

The method of claim 1, wherein the weighted sum comprises a first weight that multiplies the first sample and a second weight that multiplies the second sample.

### Claim 13 (depends on 12)

The method of claim 12, wherein the first and second weights are based on a distance between the reference sample and the first sample and a distance between the reference sample and the second sample.

### Claim 14 (depends on 12)

The method of claim 12, wherein the first weight is equal to the second weight.

### Claim 15 (depends on 1)

The method of claim 1, wherein the interpolating comprises an average of the at least one of the first set of reference samples and the at least one of the second set of reference samples.

### Claim 16 (depends on 1)

The method of claim 1, wherein the interpolating comprises a weighted sum of the at least one of the first set of reference samples and the at least one of the second set of reference samples.

### Claim 17

(canceled)

### Claim 18

(canceled)

### Claim 19

An apparatus for video processing, comprising:
a process configured to:
(a) select a first set of reference samples that are reconstructed neighboring samples of a current block; and
(b) determine a prediction value for a prediction sample of the current block by interpolating at least one of the first set of reference samples and at least one of a second set of reference samples,
wherein a reference sample of the second set of reference samples is based on a weighted sum of a first sample and a second sample from the first set of reference samples,
wherein the reference sample is aligned horizontally with the first sample,
wherein the reference sample is aligned vertically with the second sample, and
wherein the reference sample is positioned on an opposite side of the prediction sample with respect to one of the first sample and the second sample.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the processor is further configured to:
(c) repeat steps (a) and (b) for each sample of the current block;
(d) calculate a residual of the current block using the prediction values corresponding to the each sample of the current block; and
(e) encode the residual into a bitstream.

### Claim 21 (depends on 19)

The apparatus of claim 19, wherein the processor is further configured to:
(c) parse a bitstream representation of the current block to determine a residual of the current block; and
(d) reconstruct a sample of the current block based on a sum of the prediction sample and the residual.

### Claim 22 (depends on 19)

The apparatus of claim 19, wherein the first sample is a left neighboring sample, wherein the second sample is either a top-right neighboring sample or a bottom-right neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical row index.

### Claim 23 (depends on 19)

The apparatus of claim 19, wherein the first sample is a top neighboring sample, wherein the second sample is either a bottom-left neighboring sample or a bottom-right neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical column index.

### Claim 24 (depends on 19)

The apparatus of claim 19, wherein the first sample is a right neighboring sample, wherein the second sample is either a top-left neighboring sample or a bottom-left neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical row index.

### Claim 25 (depends on 19)

The apparatus of claim 19, wherein the first sample is a bottom neighboring sample, wherein the second sample is either a top-left neighboring sample or a top-right neighboring sample, and wherein the first sample, the prediction sample and the reference sample have an identical column index.

### Claim 26 (depends on 19)

The apparatus of claim 19, wherein the interpolating comprises either (a) an average of the at least one of the first set of reference samples and the at least one of the second set of reference samples, or (b) a weighted sum of the at least one of the first set of reference samples and the at least one of the second set of reference samples.
