CPC H04N 19/52 (2014.11) [H04N 19/109 (2014.11); H04N 19/139 (2014.11); H04N 19/176 (2014.11); H04N 19/184 (2014.11)] | 16 Claims |
1. A method for inter prediction, applied to a video picture encoder, and comprising:
determining first motion information and second candidate motion information according to a position of a current block in a video picture, wherein the motion information at least comprises motion vectors;
judging, with the second candidate motion information pre-determined, whether a distance between a motion vector of the first motion information and a motion vector of the second candidate motion information is greater than a non-zero first threshold value, wherein the distance is determined based on a first position to which the motion vector of the first motion information points and a second position to which the motion vector of the second candidate motion information points;
when a judgment result indicates that the distance is less than or equal to the first threshold value, obtaining second motion information based on the second candidate motion information; when the judgment result indicates that the distance is greater than the first threshold value, taking the second candidate motion information as the second motion information; and
performing inter prediction on the current block by using the first motion information and the second motion information.
|