Skip to main content

frame_pitch

Function frame_pitch 

Source
fn frame_pitch(byte_size: u32, width: u32, height: u32) -> usize
Expand description

The row stride of a captured frame: the driver’s own, derived from the buffer size it reports, or the packed width when that size is not a whole number of rows.