Skip to main content

codec_utils_vp9_estimate_level_idc_from_caps

Function codec_utils_vp9_estimate_level_idc_from_caps 

Source
pub fn codec_utils_vp9_estimate_level_idc_from_caps(caps: &CapsRef) -> u8
Expand description

Estimates the vp9 level as defined in https://www.webmproject.org/vp9/mp4/vp-codec-configuration-box, using the resolution and, if available, frame rate found in the structure passed in.

§caps

a video/x-vp9 gst::Caps

§Returns

The estimated vp9 level indicator, and 0 if it could not be estimated.