Development of block matching algorithms for motion estimation. Part 1