CPC H04N 19/11 (2014.11) [H04N 19/159 (2014.11); H04N 19/44 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |
1. A method of controlling intra prediction for encoding of a video sequence, the method being performed by at least one processor, and the method comprising:
setting a table including a plurality of intra prediction modes respectively corresponding to a plurality of intra prediction angles, the plurality of intra prediction angles including diagonal intra prediction angles respectively corresponding to diagonal directions of all shapes of coding units;
selecting, for encoding the video sequence, one of the plurality of intra prediction modes, from the set table;
determining a ratio of a width to a height of a coding unit; and
based on the determined ratio being greater than or equal to 4 or less than or equal to 1/4, removing, from the set table, a first number of multiple intra prediction modes, the first number corresponding to the determined ratio and a shorter side among the width and the height,
wherein the selecting the one of the plurality of intra prediction modes comprises selecting, for encoding the video sequence, the one of the plurality of intra prediction modes, from the set table from which the first number of the multiple intra prediction modes is removed.
|