CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData(allocator:bigEndianClosedCaptionDescriptionData:size:flavor:formatDescriptionOut:)
Creates a closed caption format description from a big-endian closed caption description structure.
Declaration
func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData(allocator: CFAllocator?, bigEndianClosedCaptionDescriptionData closedCaptionDescriptionData: UnsafePointer<UInt8>, size: Int, flavor: CMClosedCaptionDescriptionFlavor?, formatDescriptionOut: UnsafeMutablePointer<CMClosedCaptionFormatDescription?>) -> OSStatusParameters
- allocator:
Allocator to use for allocating the
CMClosedCaptionFormatDescriptionobject. May beNULL. - closedCaptionDescriptionData:
ClosedCaptionDescription data structure in big-endian byte ordering.
- size:
Size of ClosedCaptionDescription data structure.
- flavor:
Reserved for future use. Pass
NULLfor QuickTime Movie or ISO flavor. - formatDescriptionOut:
Receives new
CMClosedCaptionFormatDescription.
See Also
Working with Closed Captioning Descriptions
CMClosedCaptionDescriptionFlavorCMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer(allocator:closedCaptionFormatDescription:flavor:blockBufferOut:)CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer(allocator:bigEndianClosedCaptionDescriptionBlockBuffer:flavor:formatDescriptionOut:)CMSwapHostEndianClosedCaptionDescriptionToBig(_:_:)CMSwapBigEndianClosedCaptionDescriptionToHost(_:_:)