Motion estimation characterised by a search window with variable size or shape