rav1d 1.1.0

Rust port of the dav1d AV1 decoder
Documentation
1
2
3
4
5
6
7
8
/// Iterate through `iter` starting at index `start`
/// and then wrapping around to `start` again.
pub fn wrapping_iter<I, T>(iter: I, start: usize) -> impl Iterator<Item = T>
where
    I: Iterator<Item = T> + Clone,
{
    iter.clone().skip(start).chain(iter.take(start))
}