# US 12,010,301 B2 · Systems and methods for performing intra prediction coding in video coding

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

- Number: US 12,010,301 B2
- Document ID: US12010301B2
- Status: Granted
- Kind: B2
- Application number: 17/621,583
- Filed: 2020-06-24
- Published: 2022-11-10
- Granted: 2024-06-11
- Earliest claimed: 2019-06-24
- Assignees: Shar Kabushiki Kaisha
- Applicants: Sharp Kabushiki Kaisha
- Inventors: Frank Bossen
- Web page: https://patentgrep.com/patent/US12010301B2

## 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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/593: involving spatial prediction techniques
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

This disclosure relates to video coding and more particularly to techniques for performing a position-dependent intra prediction sample filtering process. In one example, a method of coding video data comprises: deriving an intra prediction angle parameter, deriving an inverse angle parameter based on the intra prediction angle parameter: for a prediction mode included in a defined set of prediction modes, setting a value of a scale variable based on the derived inverse angle: and performing a position-dependent intra prediction sample filtering process using the value of a scale variable.

## Claims

### Claim 1

A method of coding video data, the method comprising:
deriving an intra prediction angle parameter specified by an intra prediction mode based on a mapping table;
deriving an inverse angle parameter by dividing 16,384 by the intra prediction angle parameter;
for a prediction mode included in a defined set of prediction modes in a range of 2 to 17, setting a value of a scale variable to:
Min(2,Log 2(nTbW)−Floor(Log 2(3*invAngle−2))+8), and
for a prediction mode included in a defined set of prediction modes in a range of 51 to 80, setting the value of the scale variable to:
Min(2,Log 2(nTbH)−Floor(Log 2(3*invAngle−2))+8),
where invAngle is the derived inverse angle, nTbW is a transform block width, and nTbH is a transform block height; and
performing a position-dependent intra prediction sample filtering process modifying prediction samples by using reference samples and weights based on the value of the scale variable.

### Claim 2 (depends on 1)

The method of claim 1, further comprising for a prediction mode not included in the defined sets of prediction modes, setting the value of the scale variable to:
((Log 2(nTbW)+Log 2(nTbH)−2)>>2).

### Claim 3

A device comprising one or more processors configured to:
derive an intra prediction angle parameter specified by an intra prediction mode based on a mapping table;
derive an inverse angle parameter by dividing 16,384 by the intra prediction angle parameter;
for a prediction mode included in a defined set of prediction modes in a range of 2 to 17, set a value of a scale variable to:
Min(2,Log 2(nTbW)−Floor(Log 2(3*invAngle−2))+8), and
for a prediction mode included in a defined set of prediction modes in a range of 51 to 80, set the value of the scale variable to:
Min(2,Log 2(nTbH)−Floor(Log 2(3*invAngle−2))+8),
where invAngle is the derived inverse angle, nTbW is a transform block width and nTbH is a transform block height; and
perform a position-dependent intra prediction sample filtering process modifying prediction samples by using reference samples and weights based on the value of the scale variable.

### Claim 4 (depends on 3)

The device of claim 3, further comprising for a prediction mode not included in the defined sets of prediction modes, setting the value of the scale variable to:
((Log 2(nTbW)+Log 2(nTbH)−2)>>2).

### Claim 5 (depends on 3)

The device of claim 3, wherein the device is a video decoder.
