Patent ID: 11910003
Assignee: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 6:
7. A decoder, comprising:
a processor; and
a memory storing a computer program which, when executed by the processor, causes the processor to:
determine an initial motion vector based on a merge candidate list;
determine a search position constellation with a point pointed to by the initial motion vector as a center point, wherein
the search position constellation comprises N directions,
N is an integer larger than or equal to two,
N directions include a first type of direction and a second type of direction,
the first type of direction includes a horizontal direction or a vertical direction,
the horizontal direction includes left or right relative to the center point, or the vertical direction includes up or down relative to the center point,
the second type of direction includes a diagonal direction,
the diagonal direction includes upper left, lower left, upper right, or lower right relative to the center point,
determining the search position constellation includes searching for one or more search points by using sets of step lengths in the N directions,
searching for the one or more search points includes adopting a first set of step lengths for the first type of direction and adopting a second set of step lengths for the second type of direction,
adjacent step lengths of the first set are separated from one another by a same first distance as other adjacent step lengths of the first set,
adjacent step lengths of the second set are separated from one another by a same second distance as other adjacent step lengths of the second set, and
the one or more search points comprise (a) at least one search point in the diagonal direction and (b) at least one search point in the horizontal direction or the vertical direction;
search for at least one search position from the search position constellation based on a preset range coverage rule, wherein the preset range coverage rule is to arrange search points in the directions for search;
obtain a new motion vector according to the at least one search position; and
perform motion compensation based on the new motion vector to obtain a prediction value of a coding unit (CU).