# US 2023/0056191 A1 · Reference line for directional intra prediction

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

- Number: US 2023/0056191 A1
- Document ID: US20230056191A1
- Status: Published application
- Kind: A1
- Application number: 17/981,186
- Filed: 2022-11-04
- Published: 2023-02-23
- Earliest claimed: 2020-09-24
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Xin ZHAO; Liang ZHAO; Shan LIU
- Web page: https://patentgrep.com/patent/US20230056191A1

## 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/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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the disclosure include methods, apparatuses, and non-transitory computer-readable storage mediums for video encoding/decoding. An apparatus includes processing circuitry that decodes prediction information of a current block in a current picture that is a part of a coded video sequence. The prediction information indicates one of a plurality of intra prediction directions for the current block. The processing circuitry determines a subset of a plurality of reference lines based on (i) a reference line index of each of the subset of the plurality of reference lines and (ii) a tangent value of a prediction angle associated with the one of the plurality of intra prediction directions indicated in the prediction information. The processing circuitry performs an intra prediction of the current block based on the determined subset of the plurality of reference lines, and reconstructs the current block based on the intra prediction of the current block.

## Claims

### Claim 1

A method of video decoding in a decoder, comprising:
decoding prediction information of a current block in a current picture that is a part of a coded video sequence, the prediction information indicating one of a plurality of intra prediction directions for the current block;
determining a subset of a plurality of reference lines based on (i) a reference line index of each of the subset of the plurality of reference lines and (ii) a tangent value of a prediction angle associated with the one of the plurality of intra prediction directions indicated in the prediction information;
performing an intra prediction of the current block based on the determined subset of the plurality of reference lines; and
reconstructing the current block based on the intra prediction of the current block.

### Claim 2 (depends on 1)

The method of claim 1, wherein a number of the reference lines in the determined subset of the plurality of reference lines is greater than one.

### Claim 3 (depends on 1)

The method of claim 1, wherein the intra prediction directions associated with a first reference line in the plurality of reference lines are different from the intra prediction directions associated with a second reference line in the plurality of reference lines.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of intra prediction directions is associated with a first reference line in the plurality of reference lines and a subset of the plurality of intra prediction directions is associated with a second reference line in the plurality of reference lines.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining includes determining, for each sample of the current block, one of the subset of the plurality of reference lines based on the one of the intra prediction directions and a position of the respective sample.

### Claim 6 (depends on 1)

The method of claim 1, wherein the prediction information includes a syntax element indicating whether the intra prediction is to be performed for the current block based on the plurality of reference lines.

### Claim 7 (depends on 1)

The method of claim 1, wherein the current block is not located adjacent to a top boundary of a coding tree unit including the current block.

### Claim 8 (depends on 1)

The method of claim 1, wherein one of the tangent value and a cotangent value of the prediction angle associated with the one of the plurality of intra prediction directions is an integer.

### Claim 9 (depends on 1)

The method of claim 1, wherein the determining includes determining, for each row of samples of the current block, the reference line index of one of the subset of the plurality of reference lines based on the tangent value of the prediction angle associated with the one of the intra prediction directions and a row number of the respective row of samples of the current block.

### Claim 10

An apparatus, comprising processing circuitry configured to:
decode prediction information of a current block in a current picture that is a part of a coded video sequence, the prediction information indicating one of a plurality of intra prediction directions for the current block;
determine a subset of a plurality of reference lines based on (i) a reference line index of each of the subset of the plurality of reference lines and (ii) a tangent value of a prediction angle associated with the one of the plurality of intra prediction directions indicated in the prediction information;
perform an intra prediction of the current block based on the determined subset of the plurality of reference lines; and
reconstruct the current block based on the intra prediction of the current block.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein a number of the reference lines in the determined subset of the plurality of reference lines is greater than one.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the intra prediction directions associated with a first reference line in the plurality of reference lines are different from the intra prediction directions associated with a second reference line in the plurality of reference lines.

### Claim 13 (depends on 10)

The apparatus of claim 10, wherein the plurality of intra prediction directions is associated with a first reference line in the plurality of reference lines and a subset of the plurality of intra prediction directions is associated with a second reference line in the plurality of reference lines.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the processing circuitry is further configured to:
determine, for each sample of the current block, one of the subset of the plurality of reference lines based on the one of the intra prediction directions and a position of the respective sample.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the prediction information includes a syntax element indicating whether the intra prediction is to be performed for the current block based on the plurality of reference lines.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the current block is not located adjacent to a top boundary of a coding tree unit including the current block.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein one of the tangent value and a cotangent value of the prediction angle associated with the one of the plurality of intra prediction directions is an integer.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein the processing circuitry is further configured to:
determine, for each row of samples of the current block, the reference line index of one of the subset of the plurality of reference lines based on the tangent value of the prediction angle associated with the one of the intra prediction directions and a row number of the respective row of samples of the current block.

### Claim 19

A non-transitory computer-readable storage medium storing instructions which when executed by at least one processor cause the at least one processor to perform:
decoding prediction information of a current block in a current picture that is a part of a coded video sequence, the prediction information indicating one of a plurality of intra prediction directions for the current block;
determining a subset of a plurality of reference lines based on (i) a reference line index of each of the subset of the plurality of reference lines and (ii) a tangent value of a prediction angle associated with the one of the plurality of intra prediction directions indicated in the prediction information;
performing an intra prediction of the current block based on the determined subset of the plurality of reference lines; and
reconstructing the current block based on the intra prediction of the current block.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, wherein a number of the reference lines in the determined subset of the plurality of reference lines is greater than one.
