onix 0.2.0

Decode image files using V4L2
Documentation
1
2
3
4
5
6
pub fn format_kernel_version(version: u32) -> String {
    let major = ((version >> 16) & 0xff) as u8;
    let minor = ((version >> 8) & 0xff) as u8;
    let patch = ((version >> 0) & 0xff) as u8;
    format!("{}.{}.{}", major, minor, patch)
}