Skip to main content

h264_slice_is_intra

Function h264_slice_is_intra 

Source
fn h264_slice_is_intra(payload: &[u8]) -> Option<bool>
Expand description

Whether a non-IDR H.264 slice header opens an I/SI slice. Reads first_mb_in_slice and slice_type (both ue(v)) from the start of the slice RBSP, undoing emulation prevention bytes; None when the header is truncated or malformed.