A Study on the Quantization Scheme in H.264/AVC and Its Application to Rate Control