Skip to main content

Module h265

Module h265 

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

H.265 (HEVC) bitstream helpers: NAL classification and SPS resolution extraction. Shares the Annex-B scanner and conformance-crop math with H.264.

Structs§

H265
CodecParser implementation for H.265 / HEVC.

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§

hvcc_config_record
Build an hvcC (HEVCDecoderConfigurationRecord, ISO/IEC 14496-15 §8.3.3.1) from an Annex-B VPS/SPS/PPS config access unit, returning it alongside the parsed VideoParams. Returns None if no SPS is present or its profile_tier_level can’t be located.