# US 2023/0421807 A1 · Method and apparatus for processing 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 2023/0421807 A1
- Document ID: US20230421807A1
- Status: Published application
- Kind: A1
- Application number: 18/460,383
- Filed: 2023-09-01
- Published: 2023-12-28
- Earliest claimed: 2011-07-01
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Yongbing Lin; Xiaozhen Zheng
- Web page: https://patentgrep.com/patent/US20230421807A1

## CPC

- 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/11: among a plurality of spatial predictive coding modes
- 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: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for processing an intra prediction mode includes: determining whether an intra prediction mode of each neighboring block in multiple neighboring blocks of a current block is applicable to the current block; and obtaining multiple mapped intra prediction modes of the current block according to a result of the determining, if it is determined that an intra prediction mode of a neighboring block is applicable to the current block, setting the intra prediction mode of the neighboring block as a mapped intra prediction mode of the current block, and if it is determined that the intra prediction mode of the neighboring block is not applicable to the current block, setting a specific intra prediction mode as the mapped intra prediction mode of the current block.

## Claims

### Claim 1

A method for processing an intra prediction mode, comprising:
determining, by an apparatus, whether an intra prediction mode of a first neighboring block is the same as an intra prediction mode of a second neighboring block, wherein the first neighboring block is on a left side of a current block and the second neighboring block is on an upper side of the current block, wherein:
in case that the intra prediction mode of the first neighboring block is the same as the intra prediction mode of the second neighboring block, and the intra prediction mode of the first neighboring block is direct current (DC) prediction mode or planar prediction mode, most probable modes (MPMs) include DC prediction mode and planar prediction mode; or
in case that the intra prediction mode of the first neighboring block is the same as the intra prediction mode of the second neighboring block, and the intra prediction mode of the first neighboring block is not DC prediction mode and planar prediction mode, MPMs include directional intra prediction modes; and
performing intra prediction for the current block based on an intra prediction mode of the MPMs.

### Claim 2 (depends on 1)

The method of claim 1, wherein the method further comprises:
determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block; and
determining whether the intra prediction mode of the second neighboring block of the current block is applicable to the current block.

### Claim 3 (depends on 2)

The method of claim 2, wherein determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block is based on a value of the intra prediction mode of the first neighboring block.

### Claim 4 (depends on 3)

The method of claim 3, wherein the intra prediction mode of the first neighboring block is determined as being applicable to the current block based on the value of the intra prediction mode of the first neighboring block being within an intra prediction mode value range of the current block.

### Claim 5 (depends on 2)

The method of claim 2, wherein determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block is based on whether the first neighboring block and the current block are in a same slice.

### Claim 6

An apparatus for processing an intra prediction mode, comprising:
a non-transitory memory having processor-executable instructions stored thereon; and
a processor, coupled to the memory, configured to execute the processor-executable instructions to facilitate:
determining whether an intra prediction mode of a first neighboring block is the same as an intra prediction mode of a second neighboring block, wherein the first neighboring block is on a left side of a current block and the second neighboring block is on an upper side of the current block, wherein:
in case that the intra prediction mode of the first neighboring block is the same as the intra prediction mode of the second neighboring block, and the intra prediction mode of the first neighboring block is direct current (DC) prediction mode or planar prediction mode, most probable modes (MPMs) include DC prediction mode and planar prediction mode; or
in case that the intra prediction mode of the first neighboring block is the same as the intra prediction mode of the second neighboring block, and the intra prediction mode of the first neighboring block is not DC prediction mode and planar prediction mode, MPMs include directional intra prediction modes; and
performing intra prediction for the current block based on an intra prediction mode of the MPMs.

### Claim 7 (depends on 6)

The apparatus of claim 6, wherein the processor is further configured to execute the processor-executable instructions to facilitate:
determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block; and
determining whether the intra prediction mode of the second neighboring block of the current block is applicable to the current block.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein determining whether the intra prediction mode of the second neighboring block of the current block is applicable to the current block is based on a value of the intra prediction mode of the second neighboring block.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the intra prediction mode of the second neighboring block is determined as being applicable to the current block based on the value of the intra prediction mode of the second neighboring block being within an intra prediction mode value range of the current block.

### Claim 10 (depends on 7)

The apparatus of claim 7, wherein determining whether the intra prediction mode of the second neighboring block of the current block is applicable to the current block is based on whether the second neighboring block and the current block are in a same slice.

### Claim 11

A non-transitory computer-readable medium having processor-executable instructions stored thereon for processing an intra prediction mode, wherein the processor-executable instructions, when executed, facilitate:
determining whether an intra prediction mode of a first neighboring block is the same as an intra prediction mode of a second neighboring block, wherein the first neighboring block is on a left side of a current block and the second neighboring block is on an upper side of the current block, wherein:
in case that the intra prediction mode of the first neighboring block is the same as the intra prediction mode of the second neighboring block, and the intra prediction mode of the first neighboring block is direct current (DC) prediction mode or planar prediction mode, most probable modes (MPMs) include DC prediction mode and planar prediction mode;
in case that the intra prediction mode of the first neighboring block is the same as the intra prediction mode of the second neighboring block, and the intra prediction mode of the first neighboring block is not DC prediction mode and planar prediction mode, MPMs include directional intra prediction modes; and
performing intra prediction for the current block based on an intra prediction mode of the MPMs.

### Claim 12 (depends on 11)

The non-transitory computer-readable medium of claim 11, wherein the processor-executable instructions, when executed, further facilitate:
determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block; and
determining whether the intra prediction mode of the second neighboring block of the current block is applicable to the current block.

### Claim 13 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block is based on a value of the intra prediction mode of the first neighboring block.

### Claim 14 (depends on 13)

The non-transitory computer-readable medium of claim 13, wherein determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block is based on a value of the intra prediction mode of the first neighboring block.

### Claim 15 (depends on 12)

The non-transitory computer-readable medium of claim 12, wherein determining whether the intra prediction mode of the first neighboring block of the current block is applicable to the current block is based on whether the first neighboring block and the current block are in a same slice.
