摘要 |
<p>An interframe prediction method is provided in the present invention. The method includes the steps of: step 1: determining shot movement according to the relationship between a first reference frame and a current coding frame; step 2: if the movement is zooming in, performing processing on the first reference frame, obtaining a second reference frame, and setting the second reference frame as a current reference frame, and performing step 3; if the movement is zooming out, performing processing on the first reference frame, obtaining a fourth reference frame, and setting the fourth reference frame as a current reference frame, and performing step 3; otherwise, setting the first reference frame as a current reference frame, and performing step 3; step 3: performing interframe prediction on the current coding frame by using the current reference frame. An interframe prediction device is also provided in the present invention. The interframe prediction method and device in the present invention improve the similarity degree between the current reference frame and the current coding frame, so as to optimize the compression effect of the current coding frame. In the case of low frame rate, the shot change between frames is much larger, so that the improvement of the compression performance will be much more significant.</p> |