pub fn sample_frame_indices(
total_frames: u32,
stride: u32,
out: &mut [u32],
) -> usizeExpand description
Deterministic frame indices for video sampling (cold path helper).
Writes every stride-th frame into out, starting at 0. Returns count written.
Overflow: if more indices than out.len(), only first out.len() are kept (deterministic).