Function codec_ utils_ vpx_ caps_ get_ config
Source pub fn codec_utils_vpx_caps_get_config(
caps: &CapsRef,
) -> Option<CodecUtilsVpxConfig>Expand description
Parses VP8/VP9 caps and extracts normalized VPX configuration fields.
Unlike codec_utils_vpx_caps_set_format_fields(), this getter includes
the colorimetry-derived fields needed to build a full vpcC record.
§caps
a video/x-vp8 or video/x-vp9 gst::Caps
§Returns
true if extraction succeeded, false otherwise.
§vpx_version
VPX version described by caps (8 or 9)
§profile
profile value
§level
level value
§bit_depth
bit depth value
§chroma_subsampling
chroma subsampling value
§video_full_range
whether full-range signaling is set
§colour_primaries
ISO color primaries value
§transfer_characteristics
ISO transfer characteristics value
§matrix_coefficients
ISO matrix coefficients value