Skip to main content

parse_av1_sequence_header

Function parse_av1_sequence_header 

Source
pub fn parse_av1_sequence_header(sample: &[u8]) -> Option<Av1SequenceHeader>
Expand description

Parse the AV1 sequence header OBU (obu_type=1). Returns the subset of §5.5.2 fields needed for Vulkan decode-session-params. Partial parse: we stop after color_config + film_grain_params_present (everything Vulkan’s StdVideoAV1SequenceHeader cares about).