| CPC H04N 19/105 (2014.11) [H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 20 Claims |

|
1. A method comprising:
determining, by a computing device and based on a quantity of lines of reference samples above a current block of a video, a vertical length of a template above the current block and a reference line for prediction of the template;
determining, based on the reference line determined for prediction of the template, a plurality of predictions of the template respectively associated with a plurality of intra prediction modes;
determining, based on the plurality of predictions of the template, at least one selected intra prediction mode of the plurality of intra prediction modes; and
generating, based on the at least one selected intra prediction mode of the plurality of intra prediction modes, a signal indicating the at least one selected intra prediction mode for an intra prediction associated with the current block.
|