CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData

Function CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData 

Source
pub unsafe extern "C-unwind" fn CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData(
    allocator: Option<&CFAllocator>,
    time_code_description_data: NonNull<u8>,
    size: usize,
    flavor: Option<&CMTimeCodeDescriptionFlavor>,
    format_description_out: NonNull<*const CMTimeCodeFormatDescription>,
) -> i32
Available on crate features CMFormatDescription and CMFormatDescriptionBridge only.
Expand description

Creates a CMTimeCodeFormatDescription from a big-endian TimeCodeDescription data structure.

Parameter allocator: Allocator to use for allocating the CMTimeCodeFormatDescription object. May be NULL.

Parameter timeCodeDescriptionData: TimeCodeDescription data structure in big-endian byte ordering.

Parameter size: Size of TimeCodeDescription data structure.

Parameter flavor: Reserved for future use. Pass NULL for QuickTime Movie or ISO flavor.

Parameter formatDescriptionOut: Receives new CMTimeCodeFormatDescription.

ยงSafety

  • time_code_description_data must be a valid pointer.
  • format_description_out must be a valid pointer.