Generalized Rate-Distortion Functions of Videos