CPC H04N 19/11 (2014.11) [H04N 19/105 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 29 Claims |
1. A method of decoding video data, the method comprising:
generating an intra-prediction block for a current block of video data using an angular intra-prediction mode, the angular intra-prediction mode being an upper-right angular intra-prediction mode or a lower-left angular intra-prediction mode;
determining that a secondary boundary sample of a secondary boundary for at least one sample of the intra-prediction block is not available according to position-dependent intra-prediction (PDPC) mode;
in response to the secondary boundary sample not being available for the at least one sample:
determining a prediction direction of the angular intra-prediction mode;
for the at least one sample of the intra-prediction block for the current block:
calculating a gradient term for the at least one sample along the intra-prediction direction using a sample of the secondary boundary that is available; and
combining a value of an intra-predicted sample of the intra-prediction block at a position of the at least one sample of the intra-prediction block with the gradient term to produce a value of the at least one sample of the intra-prediction block; and
decoding the current block using the intra-prediction block.
|