CMTimeCodeFormatDescriptionCreate

Function CMTimeCodeFormatDescriptionCreate 

Source
pub unsafe extern "C-unwind" fn CMTimeCodeFormatDescriptionCreate(
    allocator: Option<&CFAllocator>,
    time_code_format_type: CMTimeCodeFormatType,
    frame_duration: CMTime,
    frame_quanta: u32,
    flags: u32,
    extensions: Option<&CFDictionary>,
    format_description_out: NonNull<*const CMTimeCodeFormatDescription>,
) -> i32
Available on crate features CMFormatDescription and CMTime only.
Expand description

Creates a format description for a timecode media.

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

  • extensions generics must be of the correct type.
  • format_description_out must be a valid pointer.