VTCopySupportedPropertyDictionaryForEncoder

Function VTCopySupportedPropertyDictionaryForEncoder 

Source
pub unsafe extern "C-unwind" fn VTCopySupportedPropertyDictionaryForEncoder(
    width: i32,
    height: i32,
    codec_type: CMVideoCodecType,
    encoder_specification: Option<&CFDictionary>,
    encoder_id_out: *mut *const CFString,
    supported_properties_out: *mut *const CFDictionary,
) -> i32
Available on crate features VTVideoEncoderList and objc2-core-media only.
Expand description

Builds a list of supported properties and encoder ID for an encoder

The caller must CFRelease the returned supported properties and encoder ID.

ยงSafety

  • encoder_specification generics must be of the correct type.
  • encoder_id_out must be a valid pointer or null.
  • supported_properties_out must be a valid pointer or null.