| CPC H04N 19/44 (2014.11) [H04N 19/105 (2014.11); H04N 19/137 (2014.11); H04N 19/176 (2014.11); H04N 19/46 (2014.11)] | 17 Claims |

|
1. A video encoding method, comprising:
acquiring, by an encoder, one or more control point sets, wherein each control point set is associated with a control point set index and comprises multiple control points;
determining, by the encoder, regardless of motion vectors of control points in a control point set, whether a reference index of each control point for a control point set index within the control point set is greater than or equal to zero and whether a reference index of each control point for a control point set index within the control point set is equal to each other;
setting, by the encoder, a flag indicating that an affine motion model is available based on the determination results without comparisons between the motion vectors of the control points in the control point set; and
encoding, by the encoder, prediction related information into a bitstream;
wherein setting the flag indicating that the affine motion model is available based on the determination result without comparisons between the motion vectors of the control points in the control point set comprises at least one of following acts:
setting the flag indicating that the affine motion model is available on a condition that a reference index of each control point for a control point set index within the control point set is greater than or equal to zero and a reference index of each control point for the control point set index in a first reference list is equal to each other; or
setting the flag indicating that the affine motion model is available on a condition that a reference index of each control point for a control point set index within the control point set is greater than or equal to zero and a reference index of each control point for the control point set index in a second reference list is equal to each other.
|