motion estimation implem. as part of VDub plugin