# US 2021/0344915 A1 · Encoder, a decoder and corresponding methods of intra prediction

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

- Number: US 2021/0344915 A1
- Document ID: US20210344915A1
- Status: Published application
- Kind: A1
- Application number: 17/369,024
- Filed: 2021-07-07
- Published: 2021-11-04
- Earliest claimed: 2019-04-27
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Biao WANG; Semih ESENLIK; Anand Meher KOTRA; Han GAO; Jianle CHEN
- Web page: https://patentgrep.com/patent/US20210344915A1

## CPC

- 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/196: being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters (processing of motion vectors H04N19/513)
- 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

The present disclosure provides methods and devices for intra prediction. A method of coding implemented by a decoding device, comprising: setting a value of candidate intra prediction mode of a current block to be a default value, wherein the current block is predicted using an intra prediction mode but not a Matrix-based Intra Prediction (MIP) mode and a neighboring block adjacent to the current block is used to derive the value of candidate intra prediction mode of the current block and is predicted using MIP mode; obtaining a value of the intra prediction mode of the current block according to the default value

## Claims

### Claim 1

A method of coding implemented by a decoding device, comprising:
setting a value of candidate intra prediction mode of a current block to be a default value, wherein the current block is predicted using an intra prediction mode but not a Matrix-based Intra Prediction (MIP) mode and a neighboring block adjacent to the current block is used to derive the value of candidate intra prediction mode of the current block and is predicted using the MIP mode, the default value corresponding to a non-angular intra mode; and
obtaining a value of the intra prediction mode of the current block according to the default value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the default value of the candidate intra prediction mode of the current block is 0 or 1, wherein a value of 0 indicates a Planar mode and a value of 1 indicates a DC mode.

### Claim 3 (depends on 1)

The method of claim 1, wherein whether the current block is predicted using a MIP mode or not is indicated according to a value of a MIP indication information.

### Claim 4 (depends on 3)

The method of claim 3, wherein the MIP indication information is indicated by a flag intra_mip_flag.

### Claim 5

A method of coding implemented by a decoding device, comprising:
obtaining a bitstream for a current block;
obtaining a value of a Matrix-based Intra Prediction (MIP) indication information for luma component of the current block according to the bitstream; and
performing chroma mode derivation process for the current block,
wherein a corresponded luma intra predicting mode for the current block is set to Planar mode, when the value of the MIP indication information indicate that the current block is predicted using a Matrix-based Intra Prediction, the corresponded luma intra predicting mode is derived from a position in luma component (xCb+cbWidth/2, yCb+cbHeight/2), wherein (xCb, yCb) specifying a top-left sample for chroma component of the current block relative to a top left luma sample of a current picture, cbWidth specifying a width of the current block in luma samples, and cbHeight specifying a height of the current block in luma samples.

### Claim 6

A method of coding implemented by an encoding device, comprising:
setting a value of candidate intra prediction mode of a current block to be a default value, wherein the current block is predicted using an intra prediction mode but not a Matrix-based Intra Prediction (MIP) mode and a neighboring block adjacent to the current block is used to derive the value of candidate intra prediction mode of the current block and is predicted using the MIP mode, the default value corresponding to a non-angular intra mode; and
encoding a value of the intra prediction mode of the current block according to the default value.

### Claim 7 (depends on 6)

The method of claim 6, wherein the default value of the candidate intra prediction mode of the current block is 0 or 1, a value of 0 indicates a Planar mode and a value of 1 indicates a DC mode.

### Claim 8 (depends on 6)

The method of claim 6, wherein whether the current block is predicted using a MIP mode or not is indicated according to a value of a MIP indication information.

### Claim 9 (depends on 8)

The method of claim 8, wherein the MIP indication information is indicated by a flag intra_mip_flag.

### Claim 10

A non-transitory computer-readable storage medium coupled to one or more processors and storing instructions for execution by the one or more processors, wherein the instructions, when executed by the one or more processors, configures a decoder to:
set a value of candidate intra prediction mode of a current block to be a default value, wherein the current block is predicted using an intra prediction mode but not a Matrix-based Intra Prediction (MIP) mode and a neighboring block adjacent to the current block is used to derive the value of candidate intra prediction mode of the current block and is predicted using the MIP mode, the default value corresponding to a non-angular intra mode; and
obtain a value of the intra prediction mode of the current block according to the default value.

### Claim 11 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein the default value of the candidate intra prediction mode of the current block is 0 or 1, a value of 0 indicates a Planar mode and a value of 1 indicates a DC mode.

### Claim 12 (depends on 10)

The non-transitory computer-readable storage medium of claim 10, wherein whether the current block is predicted using a MIP mode or not is indicated according to a value of a MIP indication information.

### Claim 13 (depends on 12)

The non-transitory computer-readable storage medium of claim 12, wherein the MIP indication information is indicated by a flag intra_mip_flag.

### Claim 14

A decoder, comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the one or more processors and storing programming for execution by the one or more processors, wherein the programming, when executed by the one or more processors, configures the decoder to carry out the operation of:
setting a value of candidate intra prediction mode of a current block to be a default value, wherein the current block is predicted using an intra prediction mode but not a Matrix-based Intra Prediction (MIP) mode and a neighboring block adjacent to the current block is used to derive the value of candidate intra prediction mode of the current block and is predicted using the MIP mode, the default value corresponding to a non-angular intra mode; and
obtaining a value of the intra prediction mode of the current block according to the default value.

### Claim 15 (depends on 14)

The decoder of claim 14, wherein the default value of the candidate intra prediction mode of the current block is 0 or 1, a value of 0 indicates a Planar mode and a value of 1 indicates a DC mode.

### Claim 16 (depends on 14)

The decoder of claim 14, wherein whether the current block is predicted using a MIP mode or not is indicated according to a value of a MIP indication information.

### Claim 17 (depends on 16)

The decoder of claim 16, wherein the MIP indication information is indicated by a flag intra_mip_flag.
