Optimization of hybrid block matching motion estimation algorithms for advanced video coding standard