# US 2022/0279187 A1 · Method and apparatus for intra-prediction coding of video data

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

- Number: US 2022/0279187 A1
- Document ID: US20220279187A1
- Status: Published application
- Kind: A1
- Application number: 17/633,030
- Filed: 2020-08-06
- Published: 2022-09-01
- Earliest claimed: 2019-08-06
- Assignees: Hyundai Motor Company; Kia Motors Corporation; Kwangwoon University Industry-Academic Collaboration Foundation
- Applicants: Hyundai Motor Company; Kia Motors Corporation; Kwangwoon University Industry-Academic Collaboration Foundation
- Inventors: Dong Gyu Sim; Joo Hyung Byeon; Sea Nae Park; Jun Taek Park; Seung Wook Park; Wha Pyeong Lim
- Web page: https://patentgrep.com/patent/US20220279187A1

## CPC

- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- 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/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- 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/186: the unit being a colour or a chrominance component
- 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

A method and an apparatus are configured for intra prediction coding of video data. An apparatus for decoding video data includes: a decoding unit which obtains, from a bitstream, information on a luma prediction mode and information on a chroma prediction mode of a current coding block; and an intra prediction unit which generates luma prediction samples and chroma prediction samples of the current coding block. The intra prediction unit derives a luma intra prediction type and a luma intra prediction mode of the current coding block on the basis of the information on the luma prediction mode, and determines a chroma intra prediction mode of the current coding block on the basis of the luma intra prediction type and the luma intra prediction mode of the current coding block, and the information on the chroma prediction mode.

## Claims

### Claim 1

A method for decoding video data, the method comprising:
acquiring, from a bitstream, information on a luma prediction mode and information on a chroma prediction mode of a current coding block;
deriving a luma intra prediction type and luma intra prediction mode of the current coding block based on the information on the luma prediction mode, the luma intra prediction type comprising matrix-based intra prediction (MIP) and regular intra prediction;
determining a chroma intra prediction mode of the current coding block, based on the luma intra prediction type and luma intra prediction mode of the current coding block and the information on the chroma prediction mode; and
generating chroma prediction samples of the current coding block based on the chroma intra prediction mode of the current coding block;
wherein, the determining of a chroma intra prediction mode of the current coding block comprises:
if the information on the chroma prediction mode indicates DM (Direct mode), the luma intra prediction type of the current coding block is the matrix-based intra prediction, and a sampling format of the video data is 4:4:4,
determining that the chroma intra prediction type of the current coding block is the matrix-based intra prediction, and determining that the chroma intra prediction mode corresponding to the chroma intra prediction type of the current coding block is the same as a matrix-based intra prediction mode derived as the luma intra prediction mode of the current coding block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating of chroma prediction samples of the current coding block based on the chroma intra prediction mode comprises:
in response to a determination that the chroma intra prediction mode of the current coding block is the same as the matrix-based intra prediction mode derived as the luma intra prediction mode of the current coding block,
deriving an input boundary vector using neighboring chroma samples adjacent to the current coding block based on the width and height of the current coding block,
generating chroma prediction samples for the current coding block, based on matrix-vector multiplication between the input boundary vector and a matrix predefined for the matrix-based intra prediction mode; and
deriving a chroma prediction block for the current coding block based on the chroma prediction samples.

### Claim 3 (depends on 2)

The method of claim 2, wherein the matrix predefined for the matrix-based intra prediction mode is used commonly to generate luma prediction samples and chroma prediction samples.

### Claim 4 (depends on 1)

The method of claim 1, wherein the determining of a chroma intra prediction mode of the current coding block comprises, if the information on the chroma prediction mode indicates a DM (Direct mode), the luma intra prediction type of the current coding block is the matrix-based intra prediction, and the sampling format of the video data is 4:2:0 or 4:2:2, determining that the chroma intra prediction mode of the current coding block is a PLANAR mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining of a chroma intra prediction mode of the current coding block comprises, if the information on the chroma prediction mode indicates a DM (Direct mode) and the luma intra prediction type of the current coding block is the regular intra prediction type, determining that the chroma intra prediction mode of the current coding block is the same as a regular intra prediction mode derived as the luma intra prediction mode of the current coding block.

### Claim 6 (depends on 1)

The method of claim 1, wherein the deriving of a luma intra prediction type and luma intra prediction mode of the current coding block comprises:
parsing a first syntax element indicating the luma intra prediction type of the current coding block; and
if the syntax element indicates that the luma intra prediction type of the current coding block is the matrix-based intra prediction, parsing a second syntax element indicating the matrix-based intra prediction mode for the current coding block, wherein the second syntax element is represented as a truncated binary code and specifies one of a plurality of matrix-based intra prediction modes allowed for the width and height of the current coding block.

### Claim 7 (depends on 1)

The method of claim 1, wherein the deriving of a luma intra prediction type and luma intra prediction mode of the current coding block comprises:
parsing a syntax element indicating the luma intra prediction type of the current coding block;
if the syntax element indicates that the luma intra prediction type of the current coding block is the regular intra prediction, deriving MPM (Most Probable Mode) candidates based on the intra prediction modes of neighboring blocks adjacent to the current coding block and constructing an MPM list for the current coding block; and
deriving a luma intra prediction mode for the current coding block based on the MPM list,
wherein, in deriving MPM candidates based on the intra prediction modes of neighboring blocks adjacent to the current coding block, inferring that the regular intra prediction mode of the neighboring blocks is a PLANAR mode if the intra prediction type of the neighboring blocks is the matrix-based intra prediction.

### Claim 8

An apparatus for decoding video data, the apparatus comprising:
a decoding unit configured to acquire, from a bitstream, information on a luma prediction mode and information on a chroma prediction mode of a current coding block; and
an intra prediction unit configured to derive a luma intra prediction type and luma intra prediction mode of the current coding block based on the information on the luma prediction mode, determine a chroma intra prediction mode of the current coding block based on the luma intra prediction type and luma intra prediction mode of the current coding block and the information on the chroma prediction mode, and generate chroma prediction samples of the current coding block based on the chroma intra prediction mode of the current coding block, wherein the luma intra prediction type comprises matrix-based intra prediction (MIP) and regular intra prediction, and
wherein, in the determining of a chroma intra prediction mode of the current coding block, if the information on the chroma prediction mode indicates a DM (Direct mode), the luma intra prediction type of the current coding block is the matrix-based intra prediction, and a sampling format of the video data is 4:4:4, the intra prediction unit determines that the chroma intra prediction type of the current coding block is the matrix-based intra prediction, and determines that the chroma intra prediction mode corresponding to the chroma intra prediction type of the current coding block is the same as a matrix-based intra prediction mode derived as the luma intra prediction mode of the current coding block.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein, in the generating of chroma prediction samples of the current coding block based on the chroma intra prediction mode, the intra prediction unit performs:
in response to a determination that the chroma intra prediction mode of the current coding block is the same as the matrix-based intra prediction mode derived as the luma intra prediction mode of the current coding block,
deriving an input boundary vector using neighboring chroma samples adjacent to the current coding block based on the width and height of the current coding block;
generating chroma prediction samples for the current coding block, based on matrix-vector multiplication between the input boundary vector and a matrix predefined for the matrix-based intra prediction mode; and
deriving a chroma prediction block for the current coding block based on the chroma prediction samples.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the matrix predefined for the matrix-based intra prediction mode is used commonly to generate luma prediction samples and chroma prediction samples.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein, if the information on the chroma prediction mode indicates a DM (Direct mode), the luma intra prediction type of the current coding block is the matrix-based intra prediction, and the sampling format of the video data is 4:2:0 or 4:2:2, the intra prediction unit determines that the chroma intra prediction mode of the current coding block is a PLANAR mode.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein, if the information on the chroma prediction mode indicates a DM (Direct mode) and the luma intra prediction type of the current coding block is the regular intra prediction type, the intra prediction unit determines that the chroma intra prediction mode of the current coding block is the same as a regular intra prediction mode derived as the luma intra prediction mode of the current coding block.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein, in the deriving of a luma intra prediction type and luma intra prediction mode of the current coding block, the intra prediction unit performs:
parsing a first syntax element indicating the luma intra prediction type of the current coding block; and
if the syntax element indicates that the luma intra prediction type of the current coding block is matrix-based intra prediction, parsing a second syntax element indicating the matrix-based intra prediction mode for the current coding block, wherein the second syntax element is represented as a truncated binary code and specifies one of a plurality of matrix-based intra prediction modes allowed for the width and height of the current coding block.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein, in the deriving of a luma intra prediction type and luma intra prediction mode of the current coding block, the intra prediction unit performs:
parsing a syntax element indicating the luma intra prediction type of the current coding block;
if the syntax element indicates that the luma intra prediction type of the current coding block is regular intra prediction, deriving MPM (Most Probable Mode) candidates based on the intra prediction modes of neighboring blocks adjacent to the current coding block and constructing an MPM list for the current coding block; and
deriving a luma intra prediction mode for the current coding block based on the MPM list,
wherein, in deriving MPM candidates based on the intra prediction modes of neighboring blocks adjacent to the current coding block, the intra prediction unit infers that the regular intra prediction mode of the neighboring blocks is a PLANAR mode if the intra prediction type of the neighboring blocks is the matrix-based intra prediction.
