A fast feature-assisted adaptive early termination approach for multiple reference frames motion estimation in H.264