Function

CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData(allocator:bigEndianMetadataDescriptionData:size:flavor:formatDescriptionOut:)

Creates a CMMetadataFormatDescription from a big-endian MetadataDescription data structure.

Declaration

func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData(allocator: CFAllocator?, bigEndianMetadataDescriptionData metadataDescriptionData: UnsafePointer<UInt8>, size: Int, flavor: CMMetadataDescriptionFlavor?, formatDescriptionOut: UnsafeMutablePointer<CMMetadataFormatDescription?>) -> OSStatus

Parameters

allocator

Allocator to use for allocating the CMMetadataFormatDescription object. May be NULL.

metadataDescriptionData

MetadataDescription data structure in big-endian byte ordering.

metadataDescriptionSize

Size of MetadataDescription data structure.

metadataDescriptionFlavor

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

metadataFormatDescriptionOut

Receives new CMMetadataFormatDescriptionRef.

See Also

Metadata-Specific Functions

func CMSwapBigEndianMetadataDescriptionToHost(UnsafeMutablePointer<UInt8>, Int) -> OSStatus

Converts a MetadataDescription data structure from big-endian to host-endian in place.

func CMSwapHostEndianMetadataDescriptionToBig(UnsafeMutablePointer<UInt8>, Int) -> OSStatus

Converts a MetadataDescription data structure from host-endian to big-endian in place.

func CMMetadataFormatDescriptionGetIdentifiers(CMMetadataFormatDescription) -> CFArray?

Gets an array of metadata identifiers from a metadata format description.