Coefficient scanning methods on adaptive angle mode
AssigneeTencent America LLC
InventorsYiming Li, Xiaozhong Xu, Zhenzhong Chen, Shan Liu
Life of this patent
Estimating the term…
Abstract
A method of controlling intra prediction for decoding or encoding of a video sequence, is by at least one processor and includes obtaining an index of an intra prediction mode of a current block of the video sequence, obtaining a coefficient scanning direction based on the obtained index, using a first look up table indicating a mapping between a plurality of indices of a plurality of intra prediction modes and respective coefficient scanning directions, and performing a coefficient scanning of the current block, based on the obtained coefficient scanning direction.
Claims20
A method of controlling intra prediction for decoding or encoding of a video sequence, the method being performed by at least one processor, and the method comprising:
- obtaining an index of an intra prediction mode of a current block of the video sequence;
- obtaining a coefficient scanning direction based on the obtained index, using a first look up table indicating a mapping between a plurality of indices of a plurality of intra prediction modes and respective coefficient scanning directions,
- wherein, in the first look up table, each of a first number of the plurality of indices that is mapped to a horizontal scanning direction and a second number of the plurality of indices that is mapped to a vertical scanning direction is larger than a third number of the plurality of indices that is mapped to a diagonal scanning direction;
- and
- performing a coefficient scanning of the current block, based on the obtained coefficient scanning direction.
An apparatus for controlling intra prediction for decoding or encoding of a video sequence, the apparatus comprising:
- at least one non-transitory memory configured to store computer program code;
- and
- at least one processor configured to access the at least one non-transitory memory and operate according to the computer program code, the computer program code comprising:
- first obtaining code configured to cause the at least one processor to obtain an index of an intra prediction mode of a current block of the video sequence;
- second obtaining code configured to cause the at least one processor to obtain a coefficient scanning direction based on the obtained index, using a first look up table indicating a mapping between a plurality of indices of a plurality of intra prediction modes and respective coefficient scanning directions,
- wherein, in the first look up table, each of a first number of the plurality of indices that is mapped to a horizontal scanning direction and a second number of the plurality of indices that is mapped to a vertical scanning direction is larger than a third number of the plurality of indices that is mapped to a diagonal scanning direction;
- and
- performing code configured to cause the at least one processor to perform a coefficient scanning of the current block, based on the obtained coefficient scanning direction.
A non-transitory computer-readable storage medium storing instructions that cause at least one processor to:
- obtain an index of an intra prediction mode of a current block of a video sequence;
- obtain a coefficient scanning direction based on the obtained index, using a first look up table indicating a mapping between a plurality of indices of a plurality of intra prediction modes and respective coefficient scanning directions,
- wherein, in the first look up table, each of a first number of the plurality of indices that is mapped to a horizontal scanning direction and a second number of the plurality of indices that is mapped to a scanning direction is larger than a third number of the plurality of indices that is mapped to a diagonal scanning direction;
- and
- perform a coefficient scanning of the current block, based on the obtained coefficient scanning direction.
Dependencies are inferred from the claim text.