Function

CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer

Copies the contents of a CMMetadataFormatDescription to a CMBlockBuffer in big-endian byte ordering.

Declaration

OSStatus CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer(CFAllocatorRef allocator, CMMetadataFormatDescriptionRef metadataFormatDescription, CMMetadataDescriptionFlavor flavor, CMBlockBufferRef  _Nullable *blockBufferOut);

Parameters

allocator

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

metadataFormatDescription

CMMetadataFormatDescriptionRef to be copied.

metadataDescriptionFlavor

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

metadataDescriptionBlockBufferOut

Receives new CMBlockBuffer containing MetadataDescription data structure in big-endian byte ordering.

Discussion

On return, the caller owns the returned CMBlockBuffer, and must release it when done with it.

See Also

Metadata-Specific Functions

CMMetadataFormatDescriptionCreateWithKeys

Creates a metadata format description object specified by the key.

CMMetadataFormatDescriptionGetKeyWithLocalID

Returns the key associated with the metadata for the given local id.

CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer

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

CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData

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

CMMetadataFormatDescriptionCreateWithMetadataSpecifications

Creates a new CMMetadataFormatDescription.

CMSwapBigEndianMetadataDescriptionToHost

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

CMSwapHostEndianMetadataDescriptionToBig

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

CMMetadataFormatDescriptionGetIdentifiers

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