CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer(allocator:closedCaptionFormatDescription:flavor:blockBufferOut:)
Copies the contents of a closed caption format description to a buffer in big-endian byte order.
Declaration
func CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer(allocator: CFAllocator?, closedCaptionFormatDescription: CMClosedCaptionFormatDescription, flavor: CMClosedCaptionDescriptionFlavor?, blockBufferOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatusParameters
- allocator:
Allocator to use for allocating the
CMBlockBufferobject. May beNULL. - closedCaptionFormatDescription:
The
CMClosedCaptionFormatDescriptionto be copied. - flavor:
Reserved for future use. Pass
NULLfor QuickTime Movie or ISO flavor. - blockBufferOut:
Receives new
CMBlockBuffercontaining ClosedCaptionDescription 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
Working with Closed Captioning Descriptions
CMClosedCaptionDescriptionFlavorCMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer(allocator:bigEndianClosedCaptionDescriptionBlockBuffer:flavor:formatDescriptionOut:)CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData(allocator:bigEndianClosedCaptionDescriptionData:size:flavor:formatDescriptionOut:)CMSwapHostEndianClosedCaptionDescriptionToBig(_:_:)CMSwapBigEndianClosedCaptionDescriptionToHost(_:_:)