Rate Distortion Optimization For Interprediction In H.264/Avc Video Coding