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

Claim 5:
6. An inter prediction method, comprising:
obtaining a motion vector predictor of a current picture block;
performing motion search in a region of a location indicated by the motion vector predictor of the current picture block, to obtain a motion vector target value of the current picture block; and
obtaining an index value of a length of a motion vector difference of the current picture block based on the motion vector target value of the current picture block and the motion vector predictor of the current picture block, wherein the motion vector difference of the current picture block is used to indicate a difference between the motion vector predictor and the motion vector target value of the current picture block, the index value of the length of the motion vector difference of the current picture block is used to indicate a piece of candidate length information in a set of preset candidate length information, the set of candidate length information comprises candidate length information of N motion vector differences, and N is a positive integer greater than 1 and less than 8.