Function

CMSwapBigEndianTimeCodeDescriptionToHost

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

Declaration

OSStatus CMSwapBigEndianTimeCodeDescriptionToHost(uint8_t *timeCodeDescriptionData, size_t timeCodeDescriptionSize);

Parameters

timeCodeDescriptionData

TimeCodeDescription data structure in big-endian byte ordering to be converted to host-endian byte ordering.

timeCodeDescriptionSize

Size of TimeCodeDescription data structure.

See Also

TimeCode-Specific Functions

CMTimeCodeFormatDescriptionCreate

Creates a format description for a timecode media.

CMTimeCodeFormatDescriptionGetFrameDuration

Returns the duration of each frame (for example 100/2997).

CMTimeCodeFormatDescriptionGetFrameQuanta

Returns the frames/sec for timecode (for example, 30) or frames/tick for counter mode.

CMTimeCodeFormatDescriptionGetTimeCodeFlags

Returns the flags for kCMTimeCodeFlag_DropFrame, kCMTimeCodeFlag_24HourMax, kCMTimeCodeFlag_NegTimesOK

CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer

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

CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer

Creates a CMTimeCodeFormatDescription from a big-endian TimeCodeDescription data structure in a CMBlockBuffer.

CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData

Creates a CMTimeCodeFormatDescription from a big-endian TimeCodeDescription data structure.

CMSwapHostEndianTimeCodeDescriptionToBig

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