CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer(allocator:textFormatDescription:flavor:blockBufferOut:)
Copies the contents of a text format description to a buffer in big-endian byte order.
Declaration
func CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer(allocator: CFAllocator?, textFormatDescription: CMTextFormatDescription, flavor: CMTextDescriptionFlavor?, blockBufferOut: UnsafeMutablePointer<CMBlockBuffer?>) -> OSStatusParameters
- allocator:
Allocator to use for allocating the CMBlockBuffer object. May be NULL.
- textFormatDescription:
CMTextFormatDescription to be copied.
- flavor:
Reserved for future use. Pass NULL for QuickTime Movie or ISO flavor.
- blockBufferOut:
Receives new CMBlockBuffer containing TextDescription 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 Text Descriptions
CMTextDescriptionFlavorCMTextFormatDescriptionGetDefaultStyle(_:localFontIDOut:boldOut:italicOut:underlineOut:fontSizeOut:colorComponentsOut:)CMTextFormatDescriptionGetDefaultTextBox(_:originIsAtTopLeft:heightOfTextTrack:defaultTextBoxOut:)CMTextFormatDescriptionGetDisplayFlags(_:displayFlagsOut:)CMTextFormatDescriptionGetFontName(_:localFontID:fontNameOut:)CMTextFormatDescriptionGetJustification(_:horizontalOut:verticalOut:)CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer(allocator:bigEndianTextDescriptionBlockBuffer:flavor:mediaType:formatDescriptionOut:)CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData(allocator:bigEndianTextDescriptionData:size:flavor:mediaType:formatDescriptionOut:)CMSwapBigEndianTextDescriptionToHost(_:_:)CMSwapHostEndianTextDescriptionToBig(_:_:)