pub fn check_host_frame( pixels: &[u8], stride: usize, width: usize, height: usize, ) -> Result<(), String>
Whether pixels holds a width x height packed picture at stride bytes per row.
pixels
width
height
stride