# US 2025/0159143 A1 · Encoder, decoder and corresponding methods for intra prediction

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

- Number: US 2025/0159143 A1
- Document ID: US20250159143A1
- Status: Published application
- Kind: A1
- Application number: 18/962,489
- Filed: 2024-11-27
- Published: 2025-05-15
- Earliest claimed: 2019-03-23
- 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/US20250159143A1

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- 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

Devices and methods for Intra prediction are provided. The method includes: parsing a bitstream, wherein the bitstream includes indication information to indicate whether a closest neighboring reference line to the current block is used for an intra prediction; determining an intra prediction mode of the current block is not Planar mode when the closest neighboring reference line to the current block is not used for the intra prediction; and obtaining an index indicating which intra prediction mode in a set of most probable modes is used for the intra prediction mode of the current block when the intra prediction mode of the current block is not Planar mode. The method can improve the efficiency to determine the intra prediction mode of the current block.

## Claims

### Claim 1

A method of coding implemented by a coding device, comprising:
when a value of an intra_luma_mpm_flag is true, determining whether a closest neighboring reference line to a current block is used for an intra prediction, the intra_luma_mpm_flag indicating whether an intra prediction mode of the current block is included in a set of most probable modes, wherein the set of most probable modes comprises 5 candidate intra prediction modes and Planar mode;
if the closest neighboring reference line to the current block is used for an intra prediction, determining whether the intra prediction mode of the current block is Planar mode; and
if the closest neighboring reference line to the current block is not used for the intra prediction and the intra prediction mode of the current block is not a Planar mode, determining an index indicating which intra prediction mode in the 5 candidate intra prediction modes is used for the intra prediction mode of the current block, wherein intra_luma_mpm_idx corresponds to the index with a value of 0 to 4 inclusive.

### Claim 2 (depends on 1)

The method of claim 1, wherein a flag intra_luma_not_planar_flag indicates whether the intra prediction mode of the current block is Planar mode.

### Claim 3 (depends on 2)

The method of claim 2, wherein a default value of the flag intra_luma_not_planar_flag is used to indicate that the intra prediction mode of the current block is not a Planar mode.

### Claim 4 (depends on 1)

The method of claim 1, wherein the index is represented as intra_luma_mpm_idx[x0][y0].

### Claim 5 (depends on 1)

The method of claim 1, wherein the value of the intra_luma_mpm_flag is equal to a default value if the closest neighboring reference line to the current block is not used for the intra prediction.

### Claim 6 (depends on 1)

The method of claim 1, wherein if a value of a reference index line of the current block is equal to 0, the closest neighboring reference line to the current block is used for the intra prediction.

### Claim 7 (depends on 1)

The method of claim 1, wherein a syntax structure of a flag intra_luma_not_planar_flag is:
if( intra_luma_mpm_flag[ x0 ][ y0 ] ){
if( intra_luma_ref_idx[ x0 ][ y0 ] = = 0 )
intra_luma_not_planar_flag[ x0 ][ y0 ]
if (intra_luma_not_planar_flag [ x0 ][ y0 ])
intra_luma_mpm_idx[ x0 ][ y0 ]
}
intra_luma_ref_idx[x0][y0]==0 indicating that the closest neighboring reference line to the current block is used for the intra prediction, and intra_luma_mpm_idx indicating which intra prediction mode in the set of most probable modes is used for the intra prediction mode of the current block.

### Claim 8

A coding device for implementing intra prediction, the device comprising:
one or more processors; and
a computer-readable storage medium coupled to the one or more processors and storing instructions for execution by the processors, wherein the instructions, when executed by the one or more processors, cause the device to:
determine whether a closest neighboring reference line to a current block is used for an intra prediction when a value of an intra_luma_mpm_flag is true, the intra_luma_mpm_flag indicating whether an intra prediction mode of the current block is included in a set of most probable modes, wherein the set of most probable modes comprises 5 candidate intra prediction modes and Planar mode;
determine whether the intra prediction mode of the current block is Planar mode if the closest neighboring reference line to the current block is used for an intra prediction; and
determine an index indicating which intra prediction mode in the 5 candidate intra prediction modes is used for the intra prediction mode of the current block if the closest neighboring reference line to the current block is not used for the intra prediction and the intra prediction mode of the current block is not a Planar mode, wherein intra_luma_mpm_idx corresponds to the index with a value of 0 to 4 inclusive.

### Claim 9 (depends on 8)

The method of claim 8, wherein a flag intra_luma_not_planar_flag indicates whether the intra prediction mode of the current block is Planar mode.

### Claim 10 (depends on 9)

The method of claim 9, wherein a default value of the flag intra_luma_not_planar_flag is used to indicate that the intra prediction mode of the current block is not a Planar mode.

### Claim 11 (depends on 8)

The method of claim 8, wherein the index is represented as intra_luma_mpm_idx[x0][y0].

### Claim 12 (depends on 8)

The method of claim 8, wherein the value of the intra_luma_mpm_flag is equal to a default value if the closest neighboring reference line to the current block is not used for the intra prediction.

### Claim 13 (depends on 8)

The method of claim 8, wherein if a value of a reference index line of the current block is equal to 0, the closest neighboring reference line to the current block is used for the intra prediction.

### Claim 14 (depends on 8)

The method of claim 8, wherein a syntax structure of a flag intra_luma_not_planar_flag is:
if( intra_luma_mpm_flag[ x0 ][ y0 ] ){
if( intra_luma_ref_idx[ x0 ][ y0 ] = = 0 )
intra_luma_not_planar_flag[ x0 ][ y0 ]
if (intra_luma_not_planar_flag [ x0 ][ y0 ])
intra_luma_mpm_idx[ x0 ][ y0 ]
}
intra_luma_ref_idx[x0][y0]==0 indicating that the closest neighboring reference line to the current block is used for the intra prediction, and intra_luma_mpm_idx indicating which intra prediction mode in the set of most probable modes is used for the intra prediction mode of the current block.

### Claim 15

A non-transitory computer-readable medium storing a bitstream that is generated by a video coding method, the bitstream comprises:
indication information indicating whether a closest neighboring reference line to a current block is not used for intra prediction, wherein an intra prediction mode of the current block is not Planar mode when the closest neighboring reference line to the current block is not used for intra prediction; and
an index indicating which intra prediction mode in a set of most probable modes is used for the intra prediction mode of the current block when the intra prediction mode of the current block is not Planar mode.

### Claim 16 (depends on 15)

The medium of claim 15, wherein a flag intra_luma_not_planar_flag indicates whether the intra prediction mode of the current block is Planar mode.

### Claim 17 (depends on 16)

The medium of claim 16, wherein a default value of the flag intra_luma_not_planar_flag is used to indicate that the intra prediction mode of the current block is not a Planar mode.

### Claim 18 (depends on 15)

The medium of claim 15, wherein the index is represented as intra_luma_mpm_idx[x0][y0].

### Claim 19 (depends on 15)

The medium of claim 15, wherein a value of an intra_luma_mpm_flag is equal to a default value if the closest neighboring reference line to the current block is not used for the intra prediction.

### Claim 20 (depends on 15)

The medium of claim 15, wherein if a value of a reference index line of the current block is equal to 0, the closest neighboring reference line to the current block is used for the intra prediction.
