摘要 |
<p>Disclosed is a method for encoding frame motion compensation, which includes: confirming whether a backward reference frame of a current encoding frame adopts a twisted reference frame for encoding, if yes, obtaining mark point sets, the number of the mark points, and a twist limitation parameter range in mark point parameters from the backward reference frame, and determining the mark point displacement in the mark point parameters, according to a forward reference frame and the backward reference frame; according to the mark point parameters, performing twisting conversion to the forward reference frame and obtaining a twisted reference frame; dividing the current encoding frame into macro blocks, using a form with the least encoding cost between a motion compensation based on the twisted reference frame and the motion compensation based on the forward reference frame and the backward reference frame, to encode the current encoding frame, and if the encoding is based on the twisted reference frame corresponding to the current encoding frame, then setting the identifier bit of the twisted reference frame to 1. The method provided in the present invention can encode in the way of least encoding cost, considering the condition that between frames the images converts without regulation.</p> |