Function

CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer

Creates a CMClosedCaptionFormatDescription from a big-endian ClosedCaptionDescription data structure in a CMBlockBuffer.

Declaration

OSStatus CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer(CFAllocatorRef allocator, CMBlockBufferRef closedCaptionDescriptionBlockBuffer, CMClosedCaptionDescriptionFlavor flavor, CMClosedCaptionFormatDescriptionRef  _Nullable *formatDescriptionOut);

Parameters

allocator

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

closedCaptionDescriptionBlockBuffer

CMBlockBuffer containing ClosedCaptionDescription data structure in big-endian byte ordering.

closedCaptionDescriptionFlavor

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

closedCaptionFormatDescriptionOut

Receives new CMClosedCaptionFormatDescription.

See Also

Closed Captioning-Functions

CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer

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

CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData

Creates a CMClosedCaptionFormatDescription from a big-endian ClosedCaptionDescription data structure.

CMSwapHostEndianClosedCaptionDescriptionToBig

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

CMSwapBigEndianClosedCaptionDescriptionToHost

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