Patent ID: 11949911
Assignee: SZ DJI TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 14:
15. A non-transitory computer-readable storage medium storing bitstream obtained by an encoding method including:
obtaining motion information of a left neighboring block of a current image block, the current image block being divided into one or more sub-blocks each having a size of 8×8 pixels; and
in response to the left neighboring block satisfying a preset condition:
determining, in a collocated frame of the current image block, a related block of one sub-block of the one or more sub-blocks using a motion vector of the left neighboring block as a motion offset, the preset condition including that a reference image of the left neighboring block is same as the collocated frame of the current image block; and
determining a motion vector of the one sub-block according to a motion vector of the related block of the one sub-block, to perform encoding on the one sub-block of the current image block;
wherein determining the motion vector of the one sub-block according to the motion vector of the related block of the one sub-block, to perform encoding on the one sub-block of the current image block includes:
in response to reference images of the related block and the one sub-block not being specific reference images, scaling the motion vector of the related block of the one sub-block to obtain the motion vector of the one sub-block;

wherein scaling the motion vector of the related block of the one sub-block to obtain the motion vector of the one sub-block includes:
determining a scaling factor of the motion vector of the related block of the one sub-block according to:
a temporal distance between a reference image pointed to by the motion vector of the related block of the one sub-block and an image where the related block is located, and
a temporal distance between a reference image of the one sub-block and a current image containing the one sub-block;

scaling the motion vector of the related block of the one sub-block according to the scaling factor to obtain a scaled motion vector; and
determining the motion vector of the one sub-block according to the scaled motion vector.