Skip to main content

Module vvc

Module vvc 

Source
Available on crate features codec-vvc and codec only.
Expand description

VVC (H.266) bitstream helpers: NAL classification and SPS resolution extraction. Shares the Annex-B scanner and conformance-crop math with the other NAL codecs.

The SPS parser handles both carriages of the profile-tier-level block: when sps_ptl_dpb_hrd_params_present_flag == 1 it parses profile_tier_level() (extracting general_profile_idc / general_tier_flag / general_level_idc and stepping over the variable general_constraint_info() by bit count) to reach the dimension fields; when absent, profile/level/tier report 0. Random-access detection — the signal the engine needs for GOP caching and segmentation — works for all VVC streams.

Structs§

Vvc
CodecParser implementation for VVC / H.266.

Constants§

NAL_PPS
NAL unit type for a picture parameter set.
NAL_SPS
NAL unit type for a sequence parameter set.
NAL_VPS
NAL unit type for a video parameter set.

Functions§

vvcc_config_record
Build the VvcDecoderConfigurationRecord (vvcC box body) from an Annex-B config access unit carrying the VVC parameter sets, alongside the parsed VideoParams. This is what the fMP4 muxer wraps in a vvcC box inside the vvc1 sample entry.