Function

CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer

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

Declaration

OSStatus CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer(CFAllocatorRef allocator, CMTextFormatDescriptionRef textFormatDescription, CMTextDescriptionFlavor flavor, CMBlockBufferRef  _Nullable *blockBufferOut);

Parameters

allocator

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

textFormatDescription

CMTextFormatDescription to be copied.

textDescriptionFlavor

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

textDescriptionBlockBufferOut

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

Text-Specific Functions

CMTextFormatDescriptionGetDefaultStyle

Returns the default style.

CMTextFormatDescriptionGetDefaultTextBox

Returns the default text box.

CMTextFormatDescriptionGetDisplayFlags

Returns the displayFlags.

CMTextFormatDescriptionGetFontName

Returns the font name for a local font ID.

CMTextFormatDescriptionGetJustification

Returns horizontal and vertical justification.

CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer

Creates a CMTextFormatDescription from a big-endian TextDescription data structure in a CMBlockBuffer.

CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData

Creates a CMTextFormatDescription from a big-endian TextDescription data structure.

CMSwapBigEndianTextDescriptionToHost

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

CMSwapHostEndianTextDescriptionToBig

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