 If a match is found, only the direction and distance (i.e.the "vector" of the "motion") from the previous video area to the current macroblock need to be encoded into the inter-frame (P- or B- frame).The reverse of this process, performed by the decoder to reconstruct the picture, is called motion compensation.