Function calculate_dimensions

Source
pub fn calculate_dimensions(raw_frame: &RawVideoFrame) -> Result<(u32, u32)>