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

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

predSamples[x][y]=Clip3(0,(1<<bitDepth)−1,

((((p[−1][y]×(nCbW−x)+p[nCbW][y]×(x+1)+(nCbW>>1))×divScaleMult [Log 2(nCbW)])>>divScaleShift)+((p[x][−1]×(nCbH−1−y)+(((p[−1][nCbH−1]×(nCbW−x)+p[nCbW][nCbH−1]×(x+1)+(nCbW>>1))×divScaleMult [Log 2(nCbW)])>>divScaleShift)x(y+1)+(nCbH>>1))>>Log 2(nCbH))+1)>>1),

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.