CPC H04N 19/159 (2014.11) [H04N 19/103 (2014.11); H04N 19/105 (2014.11); H04N 19/117 (2014.11); H04N 19/176 (2014.11); H04N 19/593 (2014.11); H04N 19/80 (2014.11)] | 18 Claims |
1. A method of intra prediction of a block in a picture of a video, the method performed by a video encoder or a video decoder, the method comprising:
obtaining an intra prediction mode of the block;
determining the intra prediction mode of the block is a wide-angle mode;
filtering reference samples for the block based, at least in part, upon determining that the intra prediction mode of the block is the wide-angle mode;
generating predicted samples of the block based on the filtered reference samples; and
performing position-dependent prediction combination (PDPC) for the filtered reference samples;
when the wide angle mode is a top-right diagonal mode, PDPC weights wT and wL satisfy: wT=32>>((y′<<1)>>shift), wL=0; or
when the wide angle mode is a bottom-left diagonal mode, PDPC weights wT and wL satisfy: wL=32>>((x′<<1)>>shift), wT=0;
wherein wT is the weight for filtered reference samples located at the top of the block, wL is the weight for filtered reference samples located at the left of the block, (x′, y′) are coordinates of the predicted samples predSamples, and shift is a variable based on a size of the block.
|