# US 12,010,328 B2 · Methods and apparatuses of encoding/decoding intra prediction mode using candidate intra prediction modes

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

- Number: US 12,010,328 B2
- Document ID: US12010328B2
- Status: Granted
- Kind: B2
- Application number: 17/742,360
- Filed: 2022-05-11
- Published: 2022-08-25
- Granted: 2024-06-11
- Earliest claimed: 2011-10-07
- Assignees: Dolby Laboratories Licensing Corporation
- Applicants: Dolby Laboratories Licensing Corporation
- Inventors: Sun Young Lee
- Web page: https://patentgrep.com/patent/US12010328B2

## CPC

- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- 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 of encoding/decoding intra prediction mode using a plurality of candidate intra prediction modes are disclosed. The method includes deriving three candidate intra prediction modes about a current block and deriving an intra prediction mode of the current block.

## Claims

### Claim 1

A decoding method, comprising:
deriving a first intra prediction mode based on a determined availability for a first neighboring block located at left side of a current block or a second intra prediction mode based on a determined availability for a second neighboring block located at upper side of the current block,
wherein the first intra prediction mode is derived as DC mode when the first neighboring block is not available and is derived as an intra prediction mode of the first neighboring block when the first neighboring block is available, and
wherein the second intra prediction mode is derived as DC mode when the second neighboring block is not available and is derived as an intra prediction mode of the second neighboring block when the second neighboring block is available;
deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode based on the first intra prediction mode and the second intra prediction mode;
decoding information indicating whether one of the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode is identical to the intra prediction mode of the current block;
obtaining an intra prediction mode of the current block based on the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode when the information indicates that one of the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode is identical to the intra prediction mode of the current block; and
deriving prediction samples of the current block based on the intra prediction mode of the current block,
wherein when the first intra prediction mode is not identical to the second intra prediction mode, the step of deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode comprises:
deriving the first candidate intra prediction mode from the first intra prediction mode and the second candidate intra prediction mode from the second intra prediction mode;
setting the third candidate intra prediction mode equal to a planar mode when none of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode;
setting the third candidate intra prediction mode equal to a DC mode when one of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode and the other is not the DC mode; and
setting the third candidate intra prediction mode equal to a vertical mode when one of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode and the other is the DC mode, and
wherein when the first intra prediction mode is identical to the second intra prediction mode and both the first intra prediction mode and the second intra prediction mode are the planar mode or DC mode, the step of deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode comprises:
setting the first candidate intra prediction mode equal to the planar mode;
setting the second candidate intra prediction mode equal to the DC mode; and
setting the third candidate intra prediction mode equal to the vertical mode.

### Claim 2

An encoding method, comprising:
deriving a first intra prediction mode based on a determined availability for a first neighboring block located at left side of a current block or a second intra prediction mode based on a determined availability for a second neighboring block located at upper side of the current block,
wherein the first intra prediction mode is derived as DC mode when the first neighboring block is not available and is derived as an intra prediction mode of the first neighboring block when the first neighboring block is available, and
wherein the second intra prediction mode is derived as DC mode when the second neighboring block is not available and is derived as an intra prediction mode of the second neighboring block when the second neighboring block is available;
deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode based on the first intra prediction mode and the second intra prediction mode;
obtaining intra prediction mode of the current block based on the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode;
deriving prediction samples of the current block based on the intra prediction mode of the current block; and
encoding information indicating whether one of the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode is identical to the intra prediction mode of the current block,
wherein when the first intra prediction mode is not identical to the second intra prediction mode, the step of deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode comprises:
deriving the first candidate intra prediction mode from the first intra prediction mode and the second candidate intra prediction mode from the second intra prediction mode;
setting the third candidate intra prediction mode equal to a planar mode when none of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode;
setting the third candidate intra prediction mode equal to a DC mode when one of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode and the other is not the DC mode; and
setting the third candidate intra prediction mode equal to a vertical mode when one of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode and the other is the DC mode, and
wherein when the first intra prediction mode is identical to the second intra prediction mode and both the first intra prediction mode and the second intra prediction mode are the planar mode or DC mode, the step of deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode comprises:
setting the first candidate intra prediction mode equal to the planar mode;
setting the second candidate intra prediction mode equal to the DC mode; and
setting the third candidate intra prediction mode equal to the vertical mode.

### Claim 3

A non-transitory computer-readable recording medium storing a bitstream generated by an encoding method, the bitstream including information indicating whether one of a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode is identical to the intra prediction mode of a current block,
wherein the encoding method comprising:
deriving a first intra prediction mode based on a determined availability for a first neighboring block located at left side of the current block or a second intra prediction mode based on a determined availability for a second neighboring block located at upper side of the current block,
wherein the first intra prediction mode is derived as DC mode when the first neighboring block is not available and is derived as an intra prediction mode of the first neighboring block when the first neighboring block is available, and
wherein the second intra prediction mode is derived as DC mode when the second neighboring block is not available and is derived as an intra prediction mode of the second neighboring block when the second neighboring block is available;
deriving the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode based on the first intra prediction mode and the second intra prediction mode;
obtaining intra prediction mode of the current block based on the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode;
deriving prediction samples of the current block based on the intra prediction mode of the current block; and
encoding the information indicating whether one of the first candidate intra prediction mode, the second candidate intra prediction mode, and the third candidate intra prediction mode is identical to the intra prediction mode of the current block,
wherein when the first intra prediction mode is not identical to the second intra prediction mode, the step of deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode comprises:
deriving the first candidate intra prediction mode from the first intra prediction mode and the second candidate intra prediction mode from the second intra prediction mode;
setting the third candidate intra prediction mode equal to a planar mode when none of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode;
setting the third candidate intra prediction mode equal to a DC mode when one of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode and the other is not the DC mode; and
setting the third candidate intra prediction mode equal to a vertical mode when one of the first candidate intra prediction mode and the second candidate intra prediction mode is the planar mode and the other is the DC mode, and
wherein when the first intra prediction mode is identical to the second intra prediction mode and both the first intra prediction mode and the second intra prediction mode are the planar mode or DC mode, the step of deriving a first candidate intra prediction mode, a second candidate intra prediction mode, and a third candidate intra prediction mode comprises:
setting the first candidate intra prediction mode equal to the planar mode;
setting the second candidate intra prediction mode equal to the DC mode; and
setting the third candidate intra prediction mode equal to the vertical mode.
