pub fn smart_nframes(
total: usize,
video_fps: f64,
cfg: &MimoProcessorConfig,
) -> Result<usize, String>Expand description
Frame count for total source frames at video_fps (sglang
smart_nframes with the processor defaults): total / fps_src · fps,
clamped to [min_frames, max_frames] and total, floored to even.