Algorithm and VLSI architecture for computational complexity scalable block marching motion estimation