An optimal quadtree-based motion estimation and motion-compensated interpolation scheme for video compression