# US 12,120,294 B2 · Method of encoding/decoding video signal using intra prediction and apparatus therefor

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

- Number: US 12,120,294 B2
- Document ID: US12120294B2
- Status: Granted
- Kind: B2
- Application number: 18/210,998
- Filed: 2023-06-16
- Published: 2024-01-25
- Granted: 2024-10-15
- Earliest claimed: 2018-11-27
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Bae Keun Lee
- Web page: https://patentgrep.com/patent/US12120294B2

## CPC

- 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/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/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/11: among a plurality of spatial predictive coding modes
- 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/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/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/463: by compressing encoding parameters before transmission
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video decoding method according to the present disclosure includes determining a reference sample line for a current block, deriving an intra prediction mode for the current block, and performing intra prediction of the current block based on the reference sample line and the intra prediction mode.

## Claims

### Claim 1

A video decoding method comprising:
determining a reference sample line for a current block;
deriving an intra prediction mode for the current block; and
performing intra prediction of the current block, based on the reference sample line and the intra prediction mode,
wherein the intra prediction mode is derived based on at least one of a first mode or a most probable mode (MPM) list,
determining whether to parse a flag indicating whether the intra prediction mode is identical with the first mode based on an index of the reference sample line, wherein determining whether to parse the flag comprises:
parsing the flag when the index of the reference sample line indicates an adjacent reference sample line, and
refraining from parsing the flag when the index of the reference sample line indicates a non-adjacent reference sample line,
wherein when the flag is parsed and the flag indicates that the intra prediction mode is identical with the first mode, the intra prediction of the current block is derived without reference to the MPM list, and
wherein when the flag is not parsed, the intra prediction mode is derived without reference to the flag.

### Claim 2 (depends on 1)

The method of claim 1, wherein deriving the intra prediction mode further includes parsing an MPM flag,
wherein when the MPM flag indicates that an MPM identical with the intra prediction mode is present in the MPM list, a number of intra prediction mode candidates which can be set as the intra prediction mode is a pre-determined number.

### Claim 3 (depends on 2)

The method of claim 2, wherein the pre-determined number is five.

### Claim 4 (depends on 1)

The method of claim 1, wherein when a first intra prediction mode for a top neighboring block adjacent to a top of the current block and a second intra prediction mode for a left neighboring block adjacent to a left of the current block are different from each other, and each of the first intra prediction mode and the second intra prediction mode is a directional intra prediction mode, the MPM list includes an intra prediction mode candidate derived by adding or subtracting 2 to or from a maximum value of the first intra prediction mode and the second intra prediction mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first mode is a planar mode.

### Claim 6

A video encoding method comprising:
determining a reference sample line for a current block;
deriving an intra prediction mode for the current block; and
performing intra prediction of the current block, based on the reference sample line and the intra prediction mode,
wherein the intra prediction mode is derived based on at least one of a first mode or a most probable mode (MPM) list,
determining whether to encode a flag indicating whether the intra prediction mode is identical with the first mode based on an index of the reference sample line, wherein determining whether to parse the flag comprises:
encoding the flag when the index of the reference sample line indicates an adjacent reference sample line, and
refraining from encoding the flag when the index of the reference sample line indicates a non-adjacent reference sample line,
wherein when the flag is encoded and indicates that the intra prediction mode is identical with the first mode, the intra prediction of the current block is to be derived without reference to the MPM list,
wherein when the flag is not encoded, the intra prediction mode is to be derived without reference to the flag.

### Claim 7 (depends on 6)

The method of claim 6, wherein deriving the intra prediction mode further includes encoding an MPM flag,
wherein when the MPM flag indicates that an MPM identical with the intra prediction mode is present in the MPM list, a number of intra prediction mode candidates which can be set as the intra prediction mode is a pre-determined number.

### Claim 8 (depends on 7)

The method of claim 7, wherein the pre-determined number is five.

### Claim 9 (depends on 6)

The method of claim 6, wherein when a first intra prediction mode for a top neighboring block adjacent to a top of the current block and a second intra prediction mode for a left neighboring block adjacent to a left of the current block are different from each other, and each of the first intra prediction mode and the second intra prediction mode is a directional intra prediction mode, the MPM list includes an intra prediction mode candidate derived by adding or subtracting 2 to or from a maximum value of the first intra prediction mode and the second intra prediction mode.

### Claim 10 (depends on 6)

The method of claim 6, wherein the first mode is a planar mode.

### Claim 11

A video decoding device comprising an intra prediction unit configured to:
determine a reference sample line for a current block;
derive an intra prediction mode for the current block; and
perform intra prediction of the current block, based on the reference sample line and the intra prediction mode,
wherein the intra prediction mode is derived based on at least one of a first mode or a most probable mode (MPM) list,
determine whether to parse a flag indicating whether the intra prediction mode is identical with the first mode based on an index of the reference sample line, wherein determining whether to parse the flag comprises:
parsing the flag when the index of the reference sample line indicates an adjacent reference sample line, and
refraining from parsing the flag when the index of the reference sample line indicates a non-adjacent reference sample line,
wherein when the flag is parsed and the flag indicates that the intra prediction mode is identical with the first mode, the intra prediction of the current block is derived without reference to the MPM list, and
wherein when the flag is not parsed, the intra prediction mode is derived without reference to the flag.

### Claim 12 (depends on 11)

The video decoding device of claim 11, wherein deriving the intra prediction mode further includes parsing an MPM flag,
wherein when the MPM flag indicates that an MPM identical with the intra prediction mode is present in the MPM list, a number of intra prediction mode candidates which can be set as the intra prediction mode is a pre-determined number.

### Claim 13 (depends on 12)

The video decoding device of claim 12, wherein the pre-determined number is five.

### Claim 14 (depends on 11)

The video decoding device of claim 11, wherein when a first intra prediction mode for a top neighboring block adjacent to a top of the current block and a second intra prediction mode for a left neighboring block adjacent to a left of the current block are different from each other, and each of the first intra prediction mode and the second intra prediction mode is a directional intra prediction mode, the MPM list includes an intra prediction mode candidate derived by adding or subtracting 2 to or from a maximum value of the first intra prediction mode and the second intra prediction mode.

### Claim 15 (depends on 11)

The video decoding device of claim 11, wherein the first mode is a planar mode.
