Method and device for MPM list generation for multi-line intra prediction
AssigneeTencent America LLC
InventorsLiang Zhao, Xin Zhao, Xiang Li, Shan Liu
Life of this patent
Estimating the term…
Abstract
A method of and device for controlling multi-line intra prediction using a non-zero reference line. The method includes determining whether an intra prediction mode of a first neighboring block of a current block is an angular mode, determining whether an intra prediction mode of a second neighboring block of the current block is an angular mode, and generating a Most Probable Mode (MPM) list of the current block.
Claims16
A video decoding method performed by at least one processor to control multi-line intra prediction using a non-zero reference line, the method comprising:
- determining whether an intra prediction mode of a first neighboring block of a current block is an angular mode;
- determining whether an intra prediction mode of a second neighboring block of the current block is an angular mode;
- and
- generating a Most Probable Mode (MPM) list for intra prediction of the current block, wherein the generating comprises:
- including in the MPM list, based on determining that the intra prediction mode of the first neighboring block is an angular mode and that the intra prediction mode of the second neighboring block is not an angular mode, the intra prediction mode of the first neighboring block, a left adjacent angular mode of the intra prediction mode of the first neighboring block, a right adjacent angular mode of the intra prediction mode of the first neighboring block, an adjacent angular mode of the left adjacent angular mode other than the intra prediction mode of the first neighboring block, an adjacent angular mode of the right adjacent angular mode other than the intra prediction mode of the first neighboring block, and a vertical mode or a horizontal mode,
- wherein the including comprises:
- setting a first candidate mode of the MPM list to the intra prediction mode of the first neighboring block;
- setting a second candidate mode of the MPM list to the left adjacent angular mode of the intra prediction mode of the first neighboring block;
- setting a third candidate mode of the MPM list to the right adjacent angular mode of the intra prediction mode of the first neighboring block;
- setting a fourth candidate mode of the MPM list to the adjacent angular mode of the left adjacent angular mode other than the intra prediction mode of the first neighboring block;
- and
- setting a fifth candidate mode of the MPM list to the adjacent angular mode of the right adjacent angular mode other than the intra prediction mode of the first neighboring block, and
- wherein the MPM list is generated such that an order of most probable candidate modes in an index of the MPM list is, from lowest to higher within the index, the first candidate mode to the fifth candidate mode.
A device for controlling multi-line intra prediction using a non-zero reference line for decoding a video sequence, the device comprising:
- at least one memory configured to store computer program code;
- and
- at least one processor configured to access the at least one memory and operate according to the computer program code, the computer program code comprising:
- first determining code configured to cause the at least one processor to determine whether an intra prediction mode of a first neighboring block of a current block is an angular mode;
- second determining code configured to cause the at least one processor to determine whether an intra prediction mode of a second neighboring block of the current block is an angular mode;
- and
- generating code configured to cause the at least one processor to generate a Most Probable Mode (MPM) list for intra prediction of the current block, wherein the generating code comprises code configured to cause the at least one processor to:
- include in the MPM list, based on determining that the intra prediction mode of the first neighboring block is an angular mode and the intra prediction mode of the second neighboring block is not an angular mode, the intra prediction mode of the first neighboring block, a left adjacent angular mode of the intra prediction mode of the first neighboring block, a right adjacent angular mode of the intra prediction mode of the first neighboring block, an adjacent angular mode of the left adjacent angular mode other than the intra prediction mode of the first neighboring block, an adjacent angular mode of the right adjacent angular mode other than the intra prediction mode of the first neighboring block, and a vertical mode or a horizontal mode;
- set a first candidate mode of the MPM list to the intra prediction mode of the first neighboring block;
- set a second candidate mode of the MPM list to the left adjacent angular mode of the intra prediction mode of the first neighboring block;
- set a third candidate mode of the MPM list to the right adjacent angular mode of the intra prediction mode of the first neighboring block;
- set a fourth candidate mode of the MPM list to the adjacent angular mode of the left adjacent angular mode other than the intra prediction mode of the first neighboring block:
- set a fifth candidate mode of the MPM list to the adjacent angular mode of the right adjacent angular mode other than the intra prediction mode of the first neighboring block;
- and
- generate the MPM list such that an order of most probable candidate modes in an index of the MPM list is, from lowest to higher within the index, the first candidate mode to the fifth candidate mode.
A non-transitory computer-readable storage medium storing instructions that cause at least one processor to:
- determine whether an intra prediction mode of a first neighboring block of a current block is an angular mode;
- determine whether an intra prediction mode of a second neighboring block of the current block is an angular mode;
- and
- generate a Most Probable Mode (MPM) list for intra prediction of the current block, wherein the generating comprises:
- including in the MPM list, based on determining that the intra prediction mode of the first neighboring block is an angular mode and the intra prediction mode of the second neighboring block is not an angular mode, the intra prediction mode of the first neighboring block, a left adjacent angular mode of the intra prediction mode of the first neighboring block, a right adjacent angular mode of the intra prediction mode of the first neighboring block, an adjacent angular mode of the left adjacent angular mode other than the intra prediction mode of the first neighboring block, an adjacent angular mode of the right adjacent angular mode other than the intra prediction mode of the first neighboring block, and a vertical mode or a horizontal mode,
- wherein the including comprises:
- setting a first candidate mode of the MPM list to the intra prediction mode of the first neighboring block;
- setting a second candidate mode of the MPM list to the left adjacent angular mode of the intra prediction mode of the first neighboring block;
- setting a third candidate mode of the MPM list to the right adjacent angular mode of the intra prediction mode of the first neighboring block;
- setting a fourth candidate mode of the MPM list to the adjacent angular mode of the left adjacent angular mode other than the intra prediction mode of the first neighboring block;
- and
- setting a fifth candidate mode of the MPM list to the adjacent angular mode of the right adjacent angular mode other than the intra prediction mode of the first neighboring block, and
- wherein the MPM list is generated such that an order of most probable candidate modes in an index of the MPM list is, from lowest to higher within the index, the first candidate mode to the fifth candidate mode.
Dependencies are inferred from the claim text.