Patent ID: 11870977
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 16:
17. The method of claim 1, wherein when the intra prediction mode is an INTRA_HOR prediction mode, the values of the prediction samples predSamples[x][y], with x=0 . . . nCbW−1, y=0 . . . nCbH−1, are derived as follows:

predSamples[x][y]=((p[−1][y]*(nCbW−y)+p[nCbW][y]*(y+1)+(nCbW>>1))×divScaleMult [Log 2(nCbW)])>>divScaleShift; or

predSamples[x][y]=predSamples[x][y]=((p[−1][y]*(nCbW−x)+p[nCbW][y]*(x+1)+(nCbW>>1))*divScaleMult [Log 2(nCbW)])>>divScaleShift;

wherein divScaleMult represents the value of the multiplier, divScaleShift represents the value of the shift, p[x][y] represents one of the reference samples, variables nCbW and nCbH represent a width and height of the block respectively, and log 2(nCbW) represents at least one dimension of the block.