# US 2022/0286690 A1 · Encoder, a decoder and corresponding methods related to 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 2022/0286690 A1
- Document ID: US20220286690A1
- Status: Published application
- Kind: A1
- Application number: 17/827,144
- Filed: 2022-05-27
- Published: 2022-09-08
- Earliest claimed: 2019-07-24
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Biao WANG; Semih ESENLIK; Han GAO; Anand Meher KOTRA; Elena Alexandrovna ALSHINA
- Web page: https://patentgrep.com/patent/US20220286690A1

## 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/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/176: the region being a block, e.g. a macroblock
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/197: {including determination of the initial value of an encoding parameter (H04N19/56 takes precedence)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of coding implemented by a decoding device or an encoding device, comprising obtaining indication information for a luma position (cbWidth/2, cbHeight/2) of a current coding block, relative to a top-left luma sample position (xCb, yCb) of the current coding block; setting a value of a luma intra prediction mode associated with the current coding block to a first default value, when the indication information indicates that an Intra Block Copy (IBC) mode or palette mode is applied for the luma component at the luma position (cbWidth/2, cbHeight/2), relative to the top-left luma sample position (xCb, yCb) of the current coding block; and obtaining a value of a chroma intra prediction mode based on the value of the luma intra prediction mode of the current coding block.

## Claims

### Claim 1

A method of coding, comprising:
obtaining indication information for a luma position (cbWidth/2, cbHeight/2) of a current coding block, relative to a top-left luma sample position (xCb, yCb) of the current coding block, wherein cbWidth represents a width of the current coding block in a luma component, cbHeight represents a height of the current coding block in the luma component;
setting a value of a luma intra prediction mode associated with the current coding block to a first default value, when the indication information indicates that an Intra Block Copy (IBC) mode or palette mode is applied for the luma component at the luma position (cbWidth/2, cbHeight/2), relative to the top-left luma sample position (xCb, yCb) of the current coding block; and
obtaining a value of a chroma intra prediction mode based on the value of the luma intra prediction mode of the current coding block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first default value equals to a value of DC mode.

### Claim 3 (depends on 1)

The method of claim 1, wherein a partition of the luma component and a partition of a chroma component of the current coding block are not aligned.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
setting the value of the luma intra prediction mode of the current coding block to a second default value, when a Matrix-based Intra Prediction (MIP) is applied for the luma component at the luma position (cbWidth/2, cbHeight/2) and the indication information indicates that an IBC mode or palette mode is not applied for the luma position (cbWidth/2, cbHeight/2).

### Claim 5 (depends on 4)

The method of claim 4, wherein the second default value equals to a value of Planar mode.

### Claim 6 (depends on 1)

The method of claim 1, wherein an absolute position of the luma position (cbWidth/2, cbHeight/2) is (xCb+cbWidth/2, yCb+cbHeight/2), the absolute position (xCb+cbWidth/2, yCb+cbHeight/2) specifying a position relative to a top left sample of a current picture; the luma position (cbWidth/2, cbHeight/2) specifies a position relative to the top-left luma sample position (xCb, yCb) of the current coding block.

### Claim 7 (depends on 4)

The method of claim 4, wherein when a value of intra_mip_flag[xCb+cbWidth/2][yCb+cbHeight/2] is equal to 1, the MIP is applied for the luma position (cbWidth/2, cbHeight/2).

### Claim 8 (depends on 1)

The method of claim 1, wherein when CuPredMode[0][xCb+cbWidth/2] [yCb+cbHeight/2] is equal to MODE_IBC or MODE_PLT, respectively, the IBC mode or palette mode is applied for the luma position (cbWidth/2, cbHeight/2).

### Claim 9

A device for obtaining chroma intra prediction mode, comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the processors and storing programming for execution by the processors, wherein the programming, when executed by the processors, configures the device to:
obtain indication information for a luma position (cbWidth/2, cbHeight/2) of a current coding block, relative to a top-left luma sample position (xCb, yCb) of the current coding block, wherein cbWidth represents a width of the current coding block in a luma component, cbHeight represents a height of the current coding block in the luma component;
set a value of a luma intra prediction mode associated with the current coding block to a default value when the indication information indicates that an Intra Block Copy (IBC) mode or palette mode is applied for the luma component at the luma position (cbWidth/2, cbHeight/2), relative to the top-left luma sample position (xCb, yCb) of the current coding block; and
obtain a value of a chroma intra prediction mode based on the value of the luma intra prediction mode of the current coding block.

### Claim 10 (depends on 9)

The device of claim 9, wherein the indication information is CuPredMode[0][xCb+cbWidth/2][yCb+cbHeight/2].

### Claim 11 (depends on 10)

The device of claim 10, wherein when CuPredMode[0][xCb+cbWidth/2][yCb+cbHeight/2] equals to MODE_IBC or MODE_PLT, the indication information indicates that IBC mode or palette mode is applied for the luma component.

### Claim 12 (depends on 9)

The device of claim 9, wherein the default value is a value of DC mode.

### Claim 13 (depends on 9)

The device of claim 9, wherein a partition of the luma component and a partition of a chroma component of the current coding block are not aligned.

### Claim 14 (depends on 9)

The device of claim 9, wherein an absolute position of the luma position (cbWidth/2, cbHeight/2) is (xCb+cbWidth/2, yCb+cbHeight/2), the absolute position (xCb+cbWidth/2, yCb+cbHeight/2) specifying a position relative to a top left sample of a current picture; the luma position (cbWidth/2, cbHeight/2) specifies a position relative to the top-left luma sample position (xCb, yCb) of the current coding block.

### Claim 15

A non-transitory storage medium comprising a bitstream encoded by the operations of:
obtaining indication information for a luma position (cbWidth/2, cbHeight/2) of a current coding block, relative to a top-left luma sample position (xCb, yCb) of the current coding block, wherein cbWidth represents a width of the current coding block in a luma component, cbHeight represents a height of the current coding block in the luma component;
setting a value of a luma intra prediction mode associated with the current coding block to a first default value, when the indication information indicates that an Intra Block Copy (IBC) mode or palette mode is applied for the luma component at the luma position (cbWidth/2, cbHeight/2), relative to the top-left luma sample position (xCb, yCb) of the current coding block; and
obtaining a value of a chroma intra prediction mode based on the value of the luma intra prediction mode of the current coding block.
