Hardware specially adapted for motion estimation or compensation