Probability based fast inter mode decision algorithm for H.264/AVC