Function

CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData

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

Declaration

OSStatus CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData(CFAllocatorRef allocator, const uint8_t *closedCaptionDescriptionData, size_t size, CMClosedCaptionDescriptionFlavor flavor, CMClosedCaptionFormatDescriptionRef  _Nullable *formatDescriptionOut);

Parameters

allocator

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

closedCaptionDescriptionData

ClosedCaptionDescription data structure in big-endian byte ordering.

closedCaptionDescriptionSize

Size of ClosedCaptionDescription data structure.

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.

CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer

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

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.