pub unsafe extern "C-unwind" fn CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData(
allocator: Option<&CFAllocator>,
text_description_data: NonNull<u8>,
size: usize,
flavor: Option<&CMTextDescriptionFlavor>,
media_type: CMMediaType,
format_description_out: NonNull<*const CMTextFormatDescription>,
) -> i32Available on crate features
CMFormatDescription and CMFormatDescriptionBridge only.Expand description
Creates a CMTextFormatDescription from a big-endian TextDescription data structure.
Parameter allocator: Allocator to use for allocating the CMTextFormatDescription object. May be NULL.
Parameter textDescriptionData: TextDescription data structure in big-endian byte ordering.
Parameter size: Size of TextDescription data structure.
Parameter flavor: Reserved for future use. Pass NULL for QuickTime Movie or ISO flavor.
Parameter mediaType: Pass kCMMediaType_Text or kCMMediaType_Subtitle.
Parameter formatDescriptionOut: Receives new CMTextFormatDescription.
ยงSafety
text_description_datamust be a valid pointer.format_description_outmust be a valid pointer.