Patent ID: 11924461
Assignee: TENCENT AMERICA LLC
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A method for video encoding in an encoder, comprising:
determining a first motion vector and a second motion vector for a first block in a current picture of a video, the first motion vector being indicative of a first reference block in a first picture, and the second motion vector being indicative of a second reference block in a second picture;
generating a bilateral template based on a weighted combination of the first reference block and the second reference block;
determining a refined first motion vector based on the bilateral template and a first set of reference blocks in the first picture;
determining a refined second motion vector based on the bilateral template and a second set of reference blocks in the second picture; and
generating prediction information of the first block according to (i) the refined first motion vector, (ii) the refined second motion vector, and (iii) a final motion compensation interpolation filter,
wherein a size of a search range comprising the first set of reference blocks or the second set of reference blocks is defined based on an area of the first block, and
wherein the determining the refined first motion vector and the determining the refined second motion vector are performed by applying a refinement interpolation filter having a vertical filter length different from a horizontal filter length, at least one of the vertical filter length or the horizontal filter length being determined based on the search range.