support downscaling frames for dynamic b frame decission