CPC H04N 19/58 (2014.11) [H04N 19/105 (2014.11); H04N 19/119 (2014.11); H04N 19/129 (2014.11); H04N 19/137 (2014.11); H04N 19/139 (2014.11); H04N 19/176 (2014.11); H04N 19/30 (2014.11); H04N 19/513 (2014.11); H04N 19/56 (2014.11); H04N 19/573 (2014.11); H04N 19/96 (2014.11)] | 20 Claims |
1. A video processing method comprising:
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; 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/decoding 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/decoding 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 a scaled motion vector; and
determining the motion vector of the one sub-block according to the scaled motion vector.
|