SCALER_MAX_RATIO
sc_hrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->width) - 3));
sc_vrmax = min(SCALER_MAX_RATIO, 1 << (ffs(crop->height) - 1));