Text this: Macroblock Layer Rate Control Based on Structural Similarity and Mean Absolute Difference for H.264.