# US 2024/0007640 A1 · On planar intra prediction mode

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

- Number: US 2024/0007640 A1
- Document ID: US20240007640A1
- Status: Published application
- Kind: A1
- Application number: 18/217,429
- Filed: 2023-06-30
- Published: 2024-01-04
- Earliest claimed: 2022-07-04
- Assignees: Alibaba (China) Co., Ltd.
- Applicants: Alibaba (China) Co., Ltd.
- Inventors: Xinwei Li; Ru-Ling Liao; Jie Chen; Yan Ye
- Web page: https://patentgrep.com/patent/US20240007640A1

## CPC

- 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/11: among a plurality of spatial predictive coding modes
- 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 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An input video or video stream may be obtained or received. The input video or video stream may include a plurality of video frames, and each frame may be divided into a plurality of blocks. A current block of the plurality of blocks may be predicted using a planar mode. Depending on which planar mode is used, different reference samples may be used for predicting a current sample in the current block.

## Claims

### Claim 1

A method comprising:
predicting a current block using a planar mode, wherein the planar mode comprising: a planar horizontal mode, a planar vertical mode, or a planar average mode.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining the planar mode from among multiple planar modes, wherein the multiple planar modes comprise at least the planar horizontal mode, the planar vertical mode, and the planar average mode.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
using only a left reference sample and an upper right reference sample when predicting a current sample in the current block using the planar horizontal mode;
using only an upper reference sample and a bottom left reference sample when predicting the current sample using the planar vertical mode; and
using the left reference sample, the upper right reference sample, the upper reference sample and the bottom left reference sample when predicting the current sample using the planar average mode.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
using only a horizontal linear interpolation when predicting a current sample in the current block using the planar horizontal mode;
using only a vertical linear interpolation when predicting the current sample using the planar vertical mode; and
using the horizontal linear interpolation and the vertical linear interpolation when predicting the current sample using the planar average mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein the planar horizontal mode and the planar vertical mode are applicable only to luma blocks when one or more of Multiple Reference Line (MRL), Intra Sub-Partitions (ISP), and Template-based Intra Mode Derivation (TIMD) are disabled.

### Claim 6 (depends on 1)

The method of claim 1, wherein a horizontal interpolation result and a vertical interpolation result are associated with different weights when weighting is applied for planar prediction.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
encoding or decoding a flag in a bitstream to indicate whether to use the planar mode to predict samples in the current block when multiple planar modes are supported, the multiple planar modes comprising at least the planar horizontal mode, the planar vertical mode, and the planar average mode; and
encoding or decoding a syntax element in the bitstream to indicate which one of the multiple planar modes is used when the flag indicates that the planar mode is used for the current block, wherein the syntax element is coded by a truncated unary code or a fixed length code.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
using a flag to indicate which planar mode of multiple planar modes based at least in part on a MPM list when the multiple planar modes are supported; or
using an implicit method to determine which planar mode is used for the current block when the multiple planar modes are supported.

### Claim 9

One or more computer readable media storing executable instructions that, when executed by one or more processors, cause the one or more processors to perform acts comprising:
predicting a current block using a planar mode, wherein the planar mode comprising: a planar horizontal mode, a planar vertical mode, or a planar average mode.

### Claim 10 (depends on 9)

The one or more computer readable media of claim 9, the acts further comprising:
determining the planar mode from among multiple planar modes, wherein the multiple planar modes comprise at least the planar horizontal mode, the planar vertical mode, and the planar average mode.

### Claim 11 (depends on 9)

The one or more computer readable media of claim 9, the acts further comprising:
using only a left reference sample and an upper right reference sample when predicting a current sample in the current block using the planar horizontal mode;
using only an upper reference sample and a bottom left reference sample when predicting the current sample using the planar vertical mode; and
using the left reference sample, the upper right reference sample, the upper reference sample and the bottom left reference sample when predicting the current sample using the planar average mode.

### Claim 12 (depends on 9)

The one or more computer readable media of claim 9, the acts further comprising:
using only a horizontal linear interpolation when predicting a current sample in the current block using the planar horizontal mode;
using only a vertical linear interpolation when predicting the current sample using the planar vertical mode; and
using the horizontal linear interpolation and the vertical linear interpolation when predicting the current sample using the planar average mode.

### Claim 13 (depends on 9)

The one or more computer readable media of claim 9, wherein the planar horizontal mode and the planar vertical mode are applicable only to luma blocks when one or more of Multiple Reference Line (MRL), Intra Sub-Partitions (ISP), and Template-based Intra Mode Derivation (TIMD) are disabled.

### Claim 14 (depends on 9)

The one or more computer readable media of claim 9, wherein a horizontal interpolation result and a vertical interpolation result are associated with different weights when weighting is applied for planar prediction.

### Claim 15 (depends on 9)

The one or more computer readable media of claim 9, the acts further comprising:
encoding or decoding a flag in a bitstream to indicate whether to use the planar mode to predict samples in the current block when multiple planar modes are supported, the multiple planar modes comprising at least the planar horizontal mode, the planar vertical mode, and the planar average mode; and
encoding or decoding a syntax element in the bitstream to indicate which one of the multiple planar modes is used when the flag indicates that the planar mode is used for the current block, wherein the syntax element is coded by a truncated unary code or a fixed length code.

### Claim 16 (depends on 9)

The one or more computer readable media of claim 9, the acts further comprising:
using a flag to indicate which planar mode of multiple planar modes based at least in part on a MPM list when the multiple planar modes are supported; or
using an implicit method to determine which planar mode is used for the current block when the multiple planar modes are supported.

### Claim 17

A system comprising:
one or more processors; and
memory storing executable instructions that, when executed by the one or more processors, cause the one or more processors to perform acts comprising:
predicting a current block using a planar mode, wherein the planar mode comprising: a planar horizontal mode, a planar vertical mode, or a planar average mode.

### Claim 18 (depends on 17)

The system of claim 17, the acts further comprising:
using only a left reference sample and an upper right reference sample when predicting a current sample in the current block using the planar horizontal mode;
using only an upper reference sample and a bottom left reference sample when predicting the current sample using the planar vertical mode; and
using the left reference sample, the upper right reference sample, the upper reference sample and the bottom left reference sample when predicting the current sample using the planar average mode.

### Claim 19 (depends on 17)

The system of claim 17, the acts further comprising:
using only a horizontal linear interpolation when predicting a current sample in the current block using the planar horizontal mode;
using only a vertical linear interpolation when predicting the current sample using the planar vertical mode; and
using the horizontal linear interpolation and the vertical linear interpolation when predicting the current sample using the planar average mode.

### Claim 20 (depends on 17)

The system of claim 17, the acts further comprising:
encoding or decoding a flag in a bitstream to indicate whether to use the planar mode to predict samples in the current block when multiple planar modes are supported, the multiple planar modes comprising at least the planar horizontal mode, the planar vertical mode, and the planar average mode; and
encoding or decoding a syntax element in the bitstream to indicate which one of the multiple planar modes is used when the flag indicates that the planar mode is used for the current block, wherein the syntax element is coded by a truncated unary code or a fixed length code.
