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

Claim 14:
15. A method of intra prediction of a block using an intra prediction mode, the method comprising:
obtaining reference samples of a block;
determining a value of a predicted sample based on the reference samples using an intra prediction mode, wherein the intra prediction mode is an INTRA_DC, an INTRA_BI, or a horizontal intra (INTRA_HOR) prediction mode;
obtaining a value of a multiplier based on at least one dimension of the block; and
normalizing the value of the predicted sample based on the value of the multiplier and a value of a shift, and
wherein when the intra prediction mode is an INTRA_DC prediction mode, and samples p[x][−1], with x=0 . . . nCbW−1 and p[nCbW][y], with y=0 . . . nCbH−1 are marked as “available for Intra prediction”,

values of the predSamples[x][y], with x=0 . . . nCbW−1, y=0 . . . nCbH−1, aspRatioShift=(nCbW>nCbH)?Log 2(nCbH): Log 2(nCbW)), log 2AspRatio=(nCbW>nCbH)?(Log 2(nCbW)−Log 2(nCbH)):(Log 2(nCbH)−Log 2(nCbW)) are derived as follows:

predSamples[x][y]=((Σx′nCbW-1p[x′][−1]Σy′=0nCbH-1p[nCbW][y′]+((nCbW+nCbH)>>1))×divScaleMult[log 2AspRatio])>>(divScaleShift+aspRatioShift);

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 2AspRatio represents at least one dimension of the block.