pub fn codec_utils_vpx_caps_set_format_fields(
caps: &Caps,
profile: i32,
level: i32,
bit_depth: i32,
chroma_subsampling: i32,
) -> boolExpand description
Sets VPX format fields in caps from parsed VPX configuration values.
This setter handles the VPX format-field subset shared between VP9
CodecPrivate and vpcC signaling.
Any field set to -1 is treated as unknown and not written.
For VP8 caps, only profile 0, 8-bit depth, and chroma subsampling 1 are
accepted.
§caps
the gst::Caps to set VPX fields on (video/x-vp8 or video/x-vp9)
§profile
VPX profile, or -1 if unknown
§level
VP9 level idc, or -1 if unknown
§bit_depth
VPX bit depth, or -1 if unknown
§chroma_subsampling
VPX chroma subsampling (0-3), or -1 if unknown