Skip to main content

strip_zero_padding

Function strip_zero_padding 

Source
fn strip_zero_padding(out: &mut Vec<u8>, from: usize)
Expand description

Drop the zero bytes a driver’s constant rate pads an H.264 or HEVC frame with (iHD fills a frame up to the target after the last slice): trailing zero bytes are no part of a NAL unit, whose last byte carries the stop bit.