Background-Modeling-Based Adaptive Prediction for Surveillance Video Coding