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

Claim 19:
20. The apparatus of claim 18, wherein the video coder is further configured to average motion vectors of the luma subblocks in the set S to generate an averaged luma motion vector as follows:

mvAvgLX=ΣimvLX[Six][Siy]

when mvAvgLX[0] is greater or equal to 0, mvAvgLX[0]=(mvAvgLX[0]+(N>>1)−1)>>log 2(N), otherwise,
mvAvgLX[0]=−((−mvAvgLX[0]+(N>>1)−1)>>log 2(N));
when mvAvgLX[1] is greater or equal to 0, mvAvgLX[1]=(mvAvgLX[1]+(N>>1)−1)>>log 2(N), otherwise,
mvAvgLX[1]=−((−mvAvgLX[1]+(N>>1)−1)>>log 2(N)),
wherein mvAvgLX is a resulting motion vector of the averaging;
mvAvgLX[0] is a horizontal component mvAvgLX of the resulting motion vector, and
mvAvgLX[1] is a vertical component mvAvgLX of the resulting motion vector;
Six and Siy are horizontal and vertical indices of subblock Si in the set S of luma subblocks in a motion vector array; and
mvLX[Six][Siy] is a motion vector of a luma subblock with indices Six and Siy, N is a number of elements in the set S of luma subblocks, log 2(N) represents the logarithm of N to the base 2 and is the power to which the number 2 is raised to obtain the value N, and “>>” represents a right arithmetic shift.