pub unsafe extern "C-unwind" fn CMVideoFormatDescriptionCreate(
allocator: Option<&CFAllocator>,
codec_type: CMVideoCodecType,
width: i32,
height: i32,
extensions: Option<&CFDictionary>,
format_description_out: NonNull<*const CMVideoFormatDescription>,
) -> i32Available on crate feature
CMFormatDescription only.Expand description
Creates a format description for a video media stream.
The caller owns the returned CMFormatDescription, and must release it when done with it. All input parameters are copied (the extensions are deep-copied). The caller can deallocate them or re-use them after making this call.
ยงSafety
extensionsgenerics must be of the correct type.format_description_outmust be a valid pointer.