Intra-Prediction Mode Decision for H . 264 in Two Steps