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

Claim 10:
11. A non-transitory computer readable medium storing instructions which when executed on a processor cause the processor to perform a method for performing filtering processing on an affine image block that is one of a plurality of coding blocks of an image, wherein the affine image block is divided into two or more subunits, the method comprising:
obtaining pixel values of a first affine motion subunit and pixel values of a second affine motion subunit, wherein the first affine motion subunit and the second affine motion subunit are adjacent to a filtering boundary and in the two or more affine motion subunits; and
performing filtering processing on pixels adjacent to the filtering boundary based on a boundary strength value of the filtering boundary, the pixel values of the first affine motion subunit, and the pixel values of the second affine motion subunit;
wherein the boundary strength value of the filtering boundary is set to 1 when:
the first affine motion subunit has two motion vectors that correspond to a same reference image;
the second affine motion subunit has two motion vectors that correspond to another same reference image; and
(a) a difference between horizontal components or vertical components of two motion vectors that corresponds to a forward reference candidate list (list0) is greater than or equal to a motion vector difference threshold T, or a difference between horizontal components or vertical components of two motion vectors that corresponds to a backward reference candidate list (list1) is greater than or equal to the motion vector difference threshold T; and
(b) a difference between horizontal components or vertical components of a motion vector that corresponds to a forward reference candidate list (list0) and that is of the first affine motion subunit and a motion vector that corresponds to a backward reference candidate list (list1) and that is of the second affine motion subunit is greater than or equal to the motion vector difference threshold T, or a difference between horizontal components or vertical components of a motion vector that corresponds to a backward reference candidate list (list1) and that is of the first affine motion subunit and a motion vector that corresponds to a forward reference candidate list (list0) and that is of the second affine motion subunit is greater than or equal to the motion vector difference threshold T.