Text this: Fast adaptive mode decision algorithm for H.264 based on spatial correlation