A VLSI Architecture for Hierarchical Motion Estimation