Documentation Archive Developer
Search

CoreMedia Changes for Objective-C

CoreMedia

CMAttachment.h

Declaration
From
CFDictionaryRef CMCopyDictionaryOfAttachments (
    CFAllocatorRef allocator,
    CMAttachmentBearerRef target,
    CMAttachmentMode attachmentMode
);
To
CFDictionaryRef _Nullable CMCopyDictionaryOfAttachments (
    CFAllocatorRef _Nullable allocator,
    CMAttachmentBearerRef _Nonnull target,
    CMAttachmentMode attachmentMode
);

Declaration
From
CFTypeRef CMGetAttachment (
    CMAttachmentBearerRef target,
    CFStringRef key,
    CMAttachmentMode *attachmentModeOut
);
To
CFTypeRef _Nullable CMGetAttachment (
    CMAttachmentBearerRef _Nonnull target,
    CFStringRef _Nonnull key,
    CMAttachmentMode * _Nullable attachmentModeOut
);

Declaration
From
void CMPropagateAttachments (
    CMAttachmentBearerRef source,
    CMAttachmentBearerRef destination
);
To
void CMPropagateAttachments (
    CMAttachmentBearerRef _Nonnull source,
    CMAttachmentBearerRef _Nonnull destination
);

Declaration
From
void CMRemoveAllAttachments (
    CMAttachmentBearerRef target
);
To
void CMRemoveAllAttachments (
    CMAttachmentBearerRef _Nonnull target
);

Declaration
From
void CMRemoveAttachment (
    CMAttachmentBearerRef target,
    CFStringRef key
);
To
void CMRemoveAttachment (
    CMAttachmentBearerRef _Nonnull target,
    CFStringRef _Nonnull key
);

Declaration
From
void CMSetAttachment (
    CMAttachmentBearerRef target,
    CFStringRef key,
    CFTypeRef value,
    CMAttachmentMode attachmentMode
);
To
void CMSetAttachment (
    CMAttachmentBearerRef _Nonnull target,
    CFStringRef _Nonnull key,
    CFTypeRef _Nullable value,
    CMAttachmentMode attachmentMode
);

Declaration
From
void CMSetAttachments (
    CMAttachmentBearerRef target,
    CFDictionaryRef theAttachments,
    CMAttachmentMode attachmentMode
);
To
void CMSetAttachments (
    CMAttachmentBearerRef _Nonnull target,
    CFDictionaryRef _Nonnull theAttachments,
    CMAttachmentMode attachmentMode
);

CMAudioDeviceClock.h

Declaration
From
OSStatus CMAudioDeviceClockCreate (
    CFAllocatorRef allocator,
    CFStringRef deviceUID,
    CMClockRef *clockOut
);
To
OSStatus CMAudioDeviceClockCreate (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nullable deviceUID,
    CMClockRef  _Nullable * _Nonnull clockOut
);

Declaration
From
OSStatus CMAudioDeviceClockCreateFromAudioDeviceID (
    CFAllocatorRef allocator,
    AudioDeviceID deviceID,
    CMClockRef *clockOut
);
To
OSStatus CMAudioDeviceClockCreateFromAudioDeviceID (
    CFAllocatorRef _Nullable allocator,
    AudioDeviceID deviceID,
    CMClockRef  _Nullable * _Nonnull clockOut
);

Declaration
From
OSStatus CMAudioDeviceClockGetAudioDevice (
    CMClockRef clock,
    CFStringRef *deviceUIDOut,
    AudioDeviceID *deviceIDOut,
    Boolean *trackingDefaultDeviceOut
);
To
OSStatus CMAudioDeviceClockGetAudioDevice (
    CMClockRef _Nonnull clock,
    CFStringRef  _Nullable * _Nullable deviceUIDOut,
    AudioDeviceID * _Nullable deviceIDOut,
    Boolean * _Nullable trackingDefaultDeviceOut
);

Declaration
From
OSStatus CMAudioDeviceClockSetAudioDeviceID (
    CMClockRef clock,
    AudioDeviceID deviceID
);
To
OSStatus CMAudioDeviceClockSetAudioDeviceID (
    CMClockRef _Nonnull clock,
    AudioDeviceID deviceID
);

Declaration
From
OSStatus CMAudioDeviceClockSetAudioDeviceUID (
    CMClockRef clock,
    CFStringRef deviceUID
);
To
OSStatus CMAudioDeviceClockSetAudioDeviceUID (
    CMClockRef _Nonnull clock,
    CFStringRef _Nullable deviceUID
);

CMBase.h

Added #def CM_ASSUME_NONNULL_BEGIN
Added #def CM_ASSUME_NONNULL_END
Added #def CM_BRIDGED_TYPE
Added #def CM_NONNULL
Added #def CM_NULLABLE
Added #def CM_RETURNS_NOT_RETAINED_PARAMETER
Added #def CM_RETURNS_RETAINED
Added #def CM_RETURNS_RETAINED_PARAMETER
Added #def COREMEDIA_DECLARE_BRIDGED_TYPES
Added #def COREMEDIA_DECLARE_NULLABILITY
Added #def COREMEDIA_DECLARE_NULLABILITY_BEGIN_END
Added #def COREMEDIA_DECLARE_RETURNS_NOT_RETAINED_ON_PARAMETERS
Added #def COREMEDIA_DECLARE_RETURNS_RETAINED
Added #def COREMEDIA_DECLARE_RETURNS_RETAINED_ON_PARAMETERS
Added #def COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS

CMBlockBuffer.h

Declaration
From
OSStatus CMBlockBufferAccessDataBytes (
    CMBlockBufferRef theBuffer,
    size_t offset,
    size_t length,
    void *temporaryBlock,
    char **returnedPointer
);
To
OSStatus CMBlockBufferAccessDataBytes (
    CMBlockBufferRef _Nonnull theBuffer,
    size_t offset,
    size_t length,
    void * _Nonnull temporaryBlock,
    char * _Nullable * _Nonnull returnedPointer
);

Declaration
From
OSStatus CMBlockBufferAppendBufferReference (
    CMBlockBufferRef theBuffer,
    CMBlockBufferRef targetBBuf,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags
);
To
OSStatus CMBlockBufferAppendBufferReference (
    CMBlockBufferRef _Nonnull theBuffer,
    CMBlockBufferRef _Nonnull targetBBuf,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags
);

Declaration
From
OSStatus CMBlockBufferAppendMemoryBlock (
    CMBlockBufferRef theBuffer,
    void *memoryBlock,
    size_t blockLength,
    CFAllocatorRef blockAllocator,
    const CMBlockBufferCustomBlockSource *customBlockSource,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags
);
To
OSStatus CMBlockBufferAppendMemoryBlock (
    CMBlockBufferRef _Nonnull theBuffer,
    void * _Nullable memoryBlock,
    size_t blockLength,
    CFAllocatorRef _Nullable blockAllocator,
    const CMBlockBufferCustomBlockSource * _Nullable customBlockSource,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags
);

Declaration
From
OSStatus CMBlockBufferAssureBlockMemory (
    CMBlockBufferRef theBuffer
);
To
OSStatus CMBlockBufferAssureBlockMemory (
    CMBlockBufferRef _Nonnull theBuffer
);

Declaration
From
OSStatus CMBlockBufferCopyDataBytes (
    CMBlockBufferRef theSourceBuffer,
    size_t offsetToData,
    size_t dataLength,
    void *destination
);
To
OSStatus CMBlockBufferCopyDataBytes (
    CMBlockBufferRef _Nonnull theSourceBuffer,
    size_t offsetToData,
    size_t dataLength,
    void * _Nonnull destination
);

Declaration
From
OSStatus CMBlockBufferCreateContiguous (
    CFAllocatorRef structureAllocator,
    CMBlockBufferRef sourceBuffer,
    CFAllocatorRef blockAllocator,
    const CMBlockBufferCustomBlockSource *customBlockSource,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags,
    CMBlockBufferRef *newBBufOut
);
To
OSStatus CMBlockBufferCreateContiguous (
    CFAllocatorRef _Nullable structureAllocator,
    CMBlockBufferRef _Nonnull sourceBuffer,
    CFAllocatorRef _Nullable blockAllocator,
    const CMBlockBufferCustomBlockSource * _Nullable customBlockSource,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags,
    CMBlockBufferRef  _Nullable * _Nonnull newBBufOut
);

Declaration
From
OSStatus CMBlockBufferCreateEmpty (
    CFAllocatorRef structureAllocator,
    uint32_t subBlockCapacity,
    CMBlockBufferFlags flags,
    CMBlockBufferRef *newBBufOut
);
To
OSStatus CMBlockBufferCreateEmpty (
    CFAllocatorRef _Nullable structureAllocator,
    uint32_t subBlockCapacity,
    CMBlockBufferFlags flags,
    CMBlockBufferRef  _Nullable * _Nonnull newBBufOut
);

Declaration
From
OSStatus CMBlockBufferCreateWithBufferReference (
    CFAllocatorRef structureAllocator,
    CMBlockBufferRef targetBuffer,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags,
    CMBlockBufferRef *newBBufOut
);
To
OSStatus CMBlockBufferCreateWithBufferReference (
    CFAllocatorRef _Nullable structureAllocator,
    CMBlockBufferRef _Nonnull targetBuffer,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags,
    CMBlockBufferRef  _Nullable * _Nonnull newBBufOut
);

Declaration
From
OSStatus CMBlockBufferCreateWithMemoryBlock (
    CFAllocatorRef structureAllocator,
    void *memoryBlock,
    size_t blockLength,
    CFAllocatorRef blockAllocator,
    const CMBlockBufferCustomBlockSource *customBlockSource,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags,
    CMBlockBufferRef *newBBufOut
);
To
OSStatus CMBlockBufferCreateWithMemoryBlock (
    CFAllocatorRef _Nullable structureAllocator,
    void * _Nullable memoryBlock,
    size_t blockLength,
    CFAllocatorRef _Nullable blockAllocator,
    const CMBlockBufferCustomBlockSource * _Nullable customBlockSource,
    size_t offsetToData,
    size_t dataLength,
    CMBlockBufferFlags flags,
    CMBlockBufferRef  _Nullable * _Nonnull newBBufOut
);

Declaration
From
OSStatus CMBlockBufferFillDataBytes (
    char fillByte,
    CMBlockBufferRef destinationBuffer,
    size_t offsetIntoDestination,
    size_t dataLength
);
To
OSStatus CMBlockBufferFillDataBytes (
    char fillByte,
    CMBlockBufferRef _Nonnull destinationBuffer,
    size_t offsetIntoDestination,
    size_t dataLength
);

Declaration
From
size_t CMBlockBufferGetDataLength (
    CMBlockBufferRef theBuffer
);
To
size_t CMBlockBufferGetDataLength (
    CMBlockBufferRef _Nonnull theBuffer
);

Declaration
From
OSStatus CMBlockBufferGetDataPointer (
    CMBlockBufferRef theBuffer,
    size_t offset,
    size_t *lengthAtOffset,
    size_t *totalLength,
    char **dataPointer
);
To
OSStatus CMBlockBufferGetDataPointer (
    CMBlockBufferRef _Nonnull theBuffer,
    size_t offset,
    size_t * _Nullable lengthAtOffset,
    size_t * _Nullable totalLength,
    char * _Nullable * _Nullable dataPointer
);

Declaration
From
Boolean CMBlockBufferIsEmpty (
    CMBlockBufferRef theBuffer
);
To
Boolean CMBlockBufferIsEmpty (
    CMBlockBufferRef _Nonnull theBuffer
);

Declaration
From
Boolean CMBlockBufferIsRangeContiguous (
    CMBlockBufferRef theBuffer,
    size_t offset,
    size_t length
);
To
Boolean CMBlockBufferIsRangeContiguous (
    CMBlockBufferRef _Nonnull theBuffer,
    size_t offset,
    size_t length
);

Declaration
From
OSStatus CMBlockBufferReplaceDataBytes (
    const void *sourceBytes,
    CMBlockBufferRef destinationBuffer,
    size_t offsetIntoDestination,
    size_t dataLength
);
To
OSStatus CMBlockBufferReplaceDataBytes (
    const void * _Nonnull sourceBytes,
    CMBlockBufferRef _Nonnull destinationBuffer,
    size_t offsetIntoDestination,
    size_t dataLength
);

CMBufferQueue.h

Declaration
From
OSStatus CMBufferQueueCallForEachBuffer (
    CMBufferQueueRef queue,
    OSStatus (*callback)(CMBufferRef buffer, void *refcon),
    void *refcon
);
To
OSStatus CMBufferQueueCallForEachBuffer (
    CMBufferQueueRef _Nonnull queue,
    OSStatus (* _Nonnullcallback)(CMBufferRef _Nonnull buffer, void * _Nullable refcon),
    void * _Nullable refcon
);

Declaration
From
Boolean CMBufferQueueContainsEndOfData (
    CMBufferQueueRef queue
);
To
Boolean CMBufferQueueContainsEndOfData (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMBufferQueueCreate (
    CFAllocatorRef allocator,
    CMItemCount capacity,
    const CMBufferCallbacks *callbacks,
    CMBufferQueueRef *queueOut
);
To
OSStatus CMBufferQueueCreate (
    CFAllocatorRef _Nullable allocator,
    CMItemCount capacity,
    const CMBufferCallbacks * _Nonnull callbacks,
    CMBufferQueueRef  _Nullable * _Nonnull queueOut
);

Declaration
From
CMBufferRef CMBufferQueueDequeueAndRetain (
    CMBufferQueueRef queue
);
To
CMBufferRef _Nullable CMBufferQueueDequeueAndRetain (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMBufferRef CMBufferQueueDequeueIfDataReadyAndRetain (
    CMBufferQueueRef queue
);
To
CMBufferRef _Nullable CMBufferQueueDequeueIfDataReadyAndRetain (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMBufferQueueEnqueue (
    CMBufferQueueRef queue,
    CMBufferRef buf
);
To
OSStatus CMBufferQueueEnqueue (
    CMBufferQueueRef _Nonnull queue,
    CMBufferRef _Nonnull buf
);

Declaration
From
CMItemCount CMBufferQueueGetBufferCount (
    CMBufferQueueRef queue
);
To
CMItemCount CMBufferQueueGetBufferCount (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
const CMBufferCallbacks * CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS (
    void
);
To
const CMBufferCallbacks * _Nonnull CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS (
    void
);

Declaration
From
const CMBufferCallbacks * CMBufferQueueGetCallbacksForUnsortedSampleBuffers (
    void
);
To
const CMBufferCallbacks * _Nonnull CMBufferQueueGetCallbacksForUnsortedSampleBuffers (
    void
);

Declaration
From
CMTime CMBufferQueueGetDuration (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetDuration (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMTime CMBufferQueueGetEndPresentationTimeStamp (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetEndPresentationTimeStamp (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMTime CMBufferQueueGetFirstDecodeTimeStamp (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetFirstDecodeTimeStamp (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMTime CMBufferQueueGetFirstPresentationTimeStamp (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetFirstPresentationTimeStamp (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMBufferRef CMBufferQueueGetHead (
    CMBufferQueueRef queue
);
To
CMBufferRef _Nullable CMBufferQueueGetHead (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMTime CMBufferQueueGetMaxPresentationTimeStamp (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetMaxPresentationTimeStamp (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMTime CMBufferQueueGetMinDecodeTimeStamp (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetMinDecodeTimeStamp (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
CMTime CMBufferQueueGetMinPresentationTimeStamp (
    CMBufferQueueRef queue
);
To
CMTime CMBufferQueueGetMinPresentationTimeStamp (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
size_t CMBufferQueueGetTotalSize (
    CMBufferQueueRef queue
);
To
size_t CMBufferQueueGetTotalSize (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMBufferQueueInstallTrigger (
    CMBufferQueueRef queue,
    CMBufferQueueTriggerCallback triggerCallback,
    void *triggerRefcon,
    CMBufferQueueTriggerCondition triggerCondition,
    CMTime triggerTime,
    CMBufferQueueTriggerToken *triggerTokenOut
);
To
OSStatus CMBufferQueueInstallTrigger (
    CMBufferQueueRef _Nonnull queue,
    CMBufferQueueTriggerCallback _Nullable triggerCallback,
    void * _Nullable triggerRefcon,
    CMBufferQueueTriggerCondition triggerCondition,
    CMTime triggerTime,
    CMBufferQueueTriggerToken  _Nullable * _Nonnull triggerTokenOut
);

Declaration
From
OSStatus CMBufferQueueInstallTriggerWithIntegerThreshold (
    CMBufferQueueRef queue,
    CMBufferQueueTriggerCallback triggerCallback,
    void *triggerRefcon,
    CMBufferQueueTriggerCondition triggerCondition,
    CMItemCount triggerThreshold,
    CMBufferQueueTriggerToken *triggerTokenOut
);
To
OSStatus CMBufferQueueInstallTriggerWithIntegerThreshold (
    CMBufferQueueRef _Nonnull queue,
    CMBufferQueueTriggerCallback _Nullable triggerCallback,
    void * _Nullable triggerRefcon,
    CMBufferQueueTriggerCondition triggerCondition,
    CMItemCount triggerThreshold,
    CMBufferQueueTriggerToken  _Nullable * _Nonnull triggerTokenOut
);

Declaration
From
Boolean CMBufferQueueIsAtEndOfData (
    CMBufferQueueRef queue
);
To
Boolean CMBufferQueueIsAtEndOfData (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
Boolean CMBufferQueueIsEmpty (
    CMBufferQueueRef queue
);
To
Boolean CMBufferQueueIsEmpty (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMBufferQueueMarkEndOfData (
    CMBufferQueueRef queue
);
To
OSStatus CMBufferQueueMarkEndOfData (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMBufferQueueRemoveTrigger (
    CMBufferQueueRef queue,
    CMBufferQueueTriggerToken triggerToken
);
To
OSStatus CMBufferQueueRemoveTrigger (
    CMBufferQueueRef _Nonnull queue,
    CMBufferQueueTriggerToken _Nonnull triggerToken
);

Declaration
From
OSStatus CMBufferQueueReset (
    CMBufferQueueRef queue
);
To
OSStatus CMBufferQueueReset (
    CMBufferQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMBufferQueueResetWithCallback (
    CMBufferQueueRef queue,
    void (*callback)(CMBufferRef buffer, void *refcon),
    void *refcon
);
To
OSStatus CMBufferQueueResetWithCallback (
    CMBufferQueueRef _Nonnull queue,
    void (* _Nonnullcallback)(CMBufferRef _Nonnull buffer, void * _Nullable refcon),
    void * _Nullable refcon
);

Declaration
From
OSStatus CMBufferQueueSetValidationCallback (
    CMBufferQueueRef queue,
    CMBufferValidationCallback validationCallback,
    void *validationRefCon
);
To
OSStatus CMBufferQueueSetValidationCallback (
    CMBufferQueueRef _Nonnull queue,
    CMBufferValidationCallback _Nonnull validationCallback,
    void * _Nullable validationRefCon
);

Declaration
From
Boolean CMBufferQueueTestTrigger (
    CMBufferQueueRef queue,
    CMBufferQueueTriggerToken triggerToken
);
To
Boolean CMBufferQueueTestTrigger (
    CMBufferQueueRef _Nonnull queue,
    CMBufferQueueTriggerToken _Nonnull triggerToken
);

CMFormatDescription.h

Declaration
From
OSStatus CMAudioFormatDescriptionCreate (
    CFAllocatorRef allocator,
    const AudioStreamBasicDescription *asbd,
    size_t layoutSize,
    const AudioChannelLayout *layout,
    size_t magicCookieSize,
    const void *magicCookie,
    CFDictionaryRef extensions,
    CMAudioFormatDescriptionRef *outDesc
);
To
OSStatus CMAudioFormatDescriptionCreate (
    CFAllocatorRef _Nullable allocator,
    const AudioStreamBasicDescription * _Nonnull asbd,
    size_t layoutSize,
    const AudioChannelLayout * _Nullable layout,
    size_t magicCookieSize,
    const void * _Nullable magicCookie,
    CFDictionaryRef _Nullable extensions,
    CMAudioFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMAudioFormatDescriptionCreateSummary (
    CFAllocatorRef allocator,
    CFArrayRef formatDescriptionArray,
    uint32_t flags,
    CMAudioFormatDescriptionRef *summaryFormatDescriptionOut
);
To
OSStatus CMAudioFormatDescriptionCreateSummary (
    CFAllocatorRef _Nullable allocator,
    CFArrayRef _Nonnull formatDescriptionArray,
    uint32_t flags,
    CMAudioFormatDescriptionRef  _Nullable * _Nonnull summaryFormatDescriptionOut
);

Declaration
From
Boolean CMAudioFormatDescriptionEqual (
    CMAudioFormatDescriptionRef desc1,
    CMAudioFormatDescriptionRef desc2,
    CMAudioFormatDescriptionMask equalityMask,
    CMAudioFormatDescriptionMask *equalityMaskOut
);
To
Boolean CMAudioFormatDescriptionEqual (
    CMAudioFormatDescriptionRef _Nonnull desc1,
    CMAudioFormatDescriptionRef _Nonnull desc2,
    CMAudioFormatDescriptionMask equalityMask,
    CMAudioFormatDescriptionMask * _Nullable equalityMaskOut
);

Declaration
From
const AudioChannelLayout * CMAudioFormatDescriptionGetChannelLayout (
    CMAudioFormatDescriptionRef desc,
    size_t *layoutSize
);
To
const AudioChannelLayout * _Nullable CMAudioFormatDescriptionGetChannelLayout (
    CMAudioFormatDescriptionRef _Nonnull desc,
    size_t * _Nullable layoutSize
);

Declaration
From
const AudioFormatListItem * CMAudioFormatDescriptionGetFormatList (
    CMAudioFormatDescriptionRef desc,
    size_t *formatListSize
);
To
const AudioFormatListItem * _Nullable CMAudioFormatDescriptionGetFormatList (
    CMAudioFormatDescriptionRef _Nonnull desc,
    size_t * _Nullable formatListSize
);

Declaration
From
const void * CMAudioFormatDescriptionGetMagicCookie (
    CMAudioFormatDescriptionRef desc,
    size_t *cookieSizeOut
);
To
const void * _Nullable CMAudioFormatDescriptionGetMagicCookie (
    CMAudioFormatDescriptionRef _Nonnull desc,
    size_t * _Nullable cookieSizeOut
);

Declaration
From
const AudioFormatListItem * CMAudioFormatDescriptionGetMostCompatibleFormat (
    CMAudioFormatDescriptionRef desc
);
To
const AudioFormatListItem * _Nullable CMAudioFormatDescriptionGetMostCompatibleFormat (
    CMAudioFormatDescriptionRef _Nonnull desc
);

Declaration
From
const AudioFormatListItem * CMAudioFormatDescriptionGetRichestDecodableFormat (
    CMAudioFormatDescriptionRef desc
);
To
const AudioFormatListItem * _Nullable CMAudioFormatDescriptionGetRichestDecodableFormat (
    CMAudioFormatDescriptionRef _Nonnull desc
);

Declaration
From
const AudioStreamBasicDescription * CMAudioFormatDescriptionGetStreamBasicDescription (
    CMAudioFormatDescriptionRef desc
);
To
const AudioStreamBasicDescription * _Nullable CMAudioFormatDescriptionGetStreamBasicDescription (
    CMAudioFormatDescriptionRef _Nonnull desc
);

Declaration
From
OSStatus CMFormatDescriptionCreate (
    CFAllocatorRef allocator,
    CMMediaType mediaType,
    FourCharCode mediaSubtype,
    CFDictionaryRef extensions,
    CMFormatDescriptionRef *descOut
);
To
OSStatus CMFormatDescriptionCreate (
    CFAllocatorRef _Nullable allocator,
    CMMediaType mediaType,
    FourCharCode mediaSubtype,
    CFDictionaryRef _Nullable extensions,
    CMFormatDescriptionRef  _Nullable * _Nonnull descOut
);

Declaration
From
Boolean CMFormatDescriptionEqual (
    CMFormatDescriptionRef desc1,
    CMFormatDescriptionRef desc2
);
To
Boolean CMFormatDescriptionEqual (
    CMFormatDescriptionRef _Nullable desc1,
    CMFormatDescriptionRef _Nullable desc2
);

Declaration
From
Boolean CMFormatDescriptionEqualIgnoringExtensionKeys (
    CMFormatDescriptionRef desc1,
    CMFormatDescriptionRef desc2,
    CFTypeRef formatDescriptionExtensionKeysToIgnore,
    CFTypeRef sampleDescriptionExtensionAtomKeysToIgnore
);
To
Boolean CMFormatDescriptionEqualIgnoringExtensionKeys (
    CMFormatDescriptionRef _Nullable desc1,
    CMFormatDescriptionRef _Nullable desc2,
    CFTypeRef _Nullable formatDescriptionExtensionKeysToIgnore,
    CFTypeRef _Nullable sampleDescriptionExtensionAtomKeysToIgnore
);

Declaration
From
CFPropertyListRef CMFormatDescriptionGetExtension (
    CMFormatDescriptionRef desc,
    CFStringRef extensionKey
);
To
CFPropertyListRef _Nullable CMFormatDescriptionGetExtension (
    CMFormatDescriptionRef _Nonnull desc,
    CFStringRef _Nonnull extensionKey
);

Declaration
From
CFDictionaryRef CMFormatDescriptionGetExtensions (
    CMFormatDescriptionRef desc
);
To
CFDictionaryRef _Nullable CMFormatDescriptionGetExtensions (
    CMFormatDescriptionRef _Nonnull desc
);

Declaration
From
FourCharCode CMFormatDescriptionGetMediaSubType (
    CMFormatDescriptionRef desc
);
To
FourCharCode CMFormatDescriptionGetMediaSubType (
    CMFormatDescriptionRef _Nonnull desc
);

Declaration
From
CMMediaType CMFormatDescriptionGetMediaType (
    CMFormatDescriptionRef desc
);
To
CMMediaType CMFormatDescriptionGetMediaType (
    CMFormatDescriptionRef _Nonnull desc
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions (
    CFAllocatorRef allocator,
    CMMetadataFormatDescriptionRef srcDesc1,
    CMMetadataFormatDescriptionRef srcDesc2,
    CMMetadataFormatDescriptionRef *outDesc
);
To
OSStatus CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions (
    CFAllocatorRef _Nullable allocator,
    CMMetadataFormatDescriptionRef _Nonnull srcDesc1,
    CMMetadataFormatDescriptionRef _Nonnull srcDesc2,
    CMMetadataFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCreateWithKeys (
    CFAllocatorRef allocator,
    CMMetadataFormatType metadataType,
    CFArrayRef keys,
    CMMetadataFormatDescriptionRef *outDesc
);
To
OSStatus CMMetadataFormatDescriptionCreateWithKeys (
    CFAllocatorRef _Nullable allocator,
    CMMetadataFormatType metadataType,
    CFArrayRef _Nullable keys,
    CMMetadataFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications (
    CFAllocatorRef allocator,
    CMMetadataFormatDescriptionRef srcDesc,
    CFArrayRef metadataSpecifications,
    CMMetadataFormatDescriptionRef *outDesc
);
To
OSStatus CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications (
    CFAllocatorRef _Nullable allocator,
    CMMetadataFormatDescriptionRef _Nonnull srcDesc,
    CFArrayRef _Nonnull metadataSpecifications,
    CMMetadataFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCreateWithMetadataSpecifications (
    CFAllocatorRef allocator,
    CMMetadataFormatType metadataType,
    CFArrayRef metadataSpecifications,
    CMMetadataFormatDescriptionRef *outDesc
);
To
OSStatus CMMetadataFormatDescriptionCreateWithMetadataSpecifications (
    CFAllocatorRef _Nullable allocator,
    CMMetadataFormatType metadataType,
    CFArrayRef _Nonnull metadataSpecifications,
    CMMetadataFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
CFArrayRef CMMetadataFormatDescriptionGetIdentifiers (
    CMMetadataFormatDescriptionRef desc
);
To
CFArrayRef _Nullable CMMetadataFormatDescriptionGetIdentifiers (
    CMMetadataFormatDescriptionRef _Nonnull desc
);

Declaration
From
CFDictionaryRef CMMetadataFormatDescriptionGetKeyWithLocalID (
    CMMetadataFormatDescriptionRef desc,
    OSType localKeyID
);
To
CFDictionaryRef _Nullable CMMetadataFormatDescriptionGetKeyWithLocalID (
    CMMetadataFormatDescriptionRef _Nonnull desc,
    OSType localKeyID
);

Declaration
From
OSStatus CMMuxedFormatDescriptionCreate (
    CFAllocatorRef allocator,
    CMMuxedStreamType muxType,
    CFDictionaryRef extensions,
    CMMuxedFormatDescriptionRef *outDesc
);
To
OSStatus CMMuxedFormatDescriptionCreate (
    CFAllocatorRef _Nullable allocator,
    CMMuxedStreamType muxType,
    CFDictionaryRef _Nullable extensions,
    CMMuxedFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMTextFormatDescriptionGetDefaultStyle (
    CMFormatDescriptionRef desc,
    uint16_t *outLocalFontID,
    Boolean *outBold,
    Boolean *outItalic,
    Boolean *outUnderline,
    CGFloat *outFontSize,
    CGFloat outColorComponents[4]
);
To
OSStatus CMTextFormatDescriptionGetDefaultStyle (
    CMFormatDescriptionRef _Nonnull desc,
    uint16_t * _Nullable outLocalFontID,
    Boolean * _Nullable outBold,
    Boolean * _Nullable outItalic,
    Boolean * _Nullable outUnderline,
    CGFloat * _Nullable outFontSize,
    CGFloat outColorComponents[4]
);

Declaration
From
OSStatus CMTextFormatDescriptionGetDefaultTextBox (
    CMFormatDescriptionRef desc,
    Boolean originIsAtTopLeft,
    CGFloat heightOfTextTrack,
    CGRect *outDefaultTextBox
);
To
OSStatus CMTextFormatDescriptionGetDefaultTextBox (
    CMFormatDescriptionRef _Nonnull desc,
    Boolean originIsAtTopLeft,
    CGFloat heightOfTextTrack,
    CGRect * _Nonnull outDefaultTextBox
);

Declaration
From
OSStatus CMTextFormatDescriptionGetDisplayFlags (
    CMFormatDescriptionRef desc,
    CMTextDisplayFlags *outDisplayFlags
);
To
OSStatus CMTextFormatDescriptionGetDisplayFlags (
    CMFormatDescriptionRef _Nonnull desc,
    CMTextDisplayFlags * _Nonnull outDisplayFlags
);

Declaration
From
OSStatus CMTextFormatDescriptionGetFontName (
    CMFormatDescriptionRef desc,
    uint16_t localFontID,
    CFStringRef *outFontName
);
To
OSStatus CMTextFormatDescriptionGetFontName (
    CMFormatDescriptionRef _Nonnull desc,
    uint16_t localFontID,
    CFStringRef  _Nullable * _Nonnull outFontName
);

Declaration
From
OSStatus CMTextFormatDescriptionGetJustification (
    CMFormatDescriptionRef desc,
    CMTextJustificationValue *outHorizontalJust,
    CMTextJustificationValue *outVerticalJust
);
To
OSStatus CMTextFormatDescriptionGetJustification (
    CMFormatDescriptionRef _Nonnull desc,
    CMTextJustificationValue * _Nullable outHorizontalJust,
    CMTextJustificationValue * _Nullable outVerticalJust
);

Declaration
From
OSStatus CMTimeCodeFormatDescriptionCreate (
    CFAllocatorRef allocator,
    CMTimeCodeFormatType timeCodeFormatType,
    CMTime frameDuration,
    uint32_t frameQuanta,
    uint32_t tcFlags,
    CFDictionaryRef extensions,
    CMTimeCodeFormatDescriptionRef *descOut
);
To
OSStatus CMTimeCodeFormatDescriptionCreate (
    CFAllocatorRef _Nullable allocator,
    CMTimeCodeFormatType timeCodeFormatType,
    CMTime frameDuration,
    uint32_t frameQuanta,
    uint32_t tcFlags,
    CFDictionaryRef _Nullable extensions,
    CMTimeCodeFormatDescriptionRef  _Nullable * _Nonnull descOut
);

Declaration
From
CMTime CMTimeCodeFormatDescriptionGetFrameDuration (
    CMTimeCodeFormatDescriptionRef timeCodeFormatDescription
);
To
CMTime CMTimeCodeFormatDescriptionGetFrameDuration (
    CMTimeCodeFormatDescriptionRef _Nonnull timeCodeFormatDescription
);

Declaration
From
uint32_t CMTimeCodeFormatDescriptionGetFrameQuanta (
    CMTimeCodeFormatDescriptionRef timeCodeFormatDescription
);
To
uint32_t CMTimeCodeFormatDescriptionGetFrameQuanta (
    CMTimeCodeFormatDescriptionRef _Nonnull timeCodeFormatDescription
);

Declaration
From
uint32_t CMTimeCodeFormatDescriptionGetTimeCodeFlags (
    CMTimeCodeFormatDescriptionRef desc
);
To
uint32_t CMTimeCodeFormatDescriptionGetTimeCodeFlags (
    CMTimeCodeFormatDescriptionRef _Nonnull desc
);

Declaration
From
OSStatus CMVideoFormatDescriptionCreate (
    CFAllocatorRef allocator,
    CMVideoCodecType codecType,
    int32_t width,
    int32_t height,
    CFDictionaryRef extensions,
    CMVideoFormatDescriptionRef *outDesc
);
To
OSStatus CMVideoFormatDescriptionCreate (
    CFAllocatorRef _Nullable allocator,
    CMVideoCodecType codecType,
    int32_t width,
    int32_t height,
    CFDictionaryRef _Nullable extensions,
    CMVideoFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMVideoFormatDescriptionCreateForImageBuffer (
    CFAllocatorRef allocator,
    CVImageBufferRef imageBuffer,
    CMVideoFormatDescriptionRef *outDesc
);
To
OSStatus CMVideoFormatDescriptionCreateForImageBuffer (
    CFAllocatorRef _Nullable allocator,
    CVImageBufferRef _Nonnull imageBuffer,
    CMVideoFormatDescriptionRef  _Nullable * _Nonnull outDesc
);

Declaration
From
OSStatus CMVideoFormatDescriptionCreateFromH264ParameterSets (
    CFAllocatorRef allocator,
    size_t parameterSetCount,
    const uint8_t *const *parameterSetPointers,
    const size_t *parameterSetSizes,
    int NALUnitHeaderLength,
    CMFormatDescriptionRef *formatDescriptionOut
);
To
OSStatus CMVideoFormatDescriptionCreateFromH264ParameterSets (
    CFAllocatorRef _Nullable allocator,
    size_t parameterSetCount,
    const uint8_t *const  _Nonnull * _Nonnull parameterSetPointers,
    const size_t * _Nonnull parameterSetSizes,
    int NALUnitHeaderLength,
    CMFormatDescriptionRef  _Nullable * _Nonnull formatDescriptionOut
);

Declaration
From
CGRect CMVideoFormatDescriptionGetCleanAperture (
    CMVideoFormatDescriptionRef videoDesc,
    Boolean originIsAtTopLeft
);
To
CGRect CMVideoFormatDescriptionGetCleanAperture (
    CMVideoFormatDescriptionRef _Nonnull videoDesc,
    Boolean originIsAtTopLeft
);

Declaration
From
CMVideoDimensions CMVideoFormatDescriptionGetDimensions (
    CMVideoFormatDescriptionRef videoDesc
);
To
CMVideoDimensions CMVideoFormatDescriptionGetDimensions (
    CMVideoFormatDescriptionRef _Nonnull videoDesc
);

Declaration
From
CFArrayRef CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers (
    void
);
To
CFArrayRef _Nonnull CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers (
    void
);

Declaration
From
OSStatus CMVideoFormatDescriptionGetH264ParameterSetAtIndex (
    CMFormatDescriptionRef videoDesc,
    size_t parameterSetIndex,
    const uint8_t **parameterSetPointerOut,
    size_t *parameterSetSizeOut,
    size_t *parameterSetCountOut,
    int *NALUnitHeaderLengthOut
);
To
OSStatus CMVideoFormatDescriptionGetH264ParameterSetAtIndex (
    CMFormatDescriptionRef _Nonnull videoDesc,
    size_t parameterSetIndex,
    const uint8_t * _Nullable * _Nullable parameterSetPointerOut,
    size_t * _Nullable parameterSetSizeOut,
    size_t * _Nullable parameterSetCountOut,
    int * _Nullable NALUnitHeaderLengthOut
);

Declaration
From
CGSize CMVideoFormatDescriptionGetPresentationDimensions (
    CMVideoFormatDescriptionRef videoDesc,
    Boolean usePixelAspectRatio,
    Boolean useCleanAperture
);
To
CGSize CMVideoFormatDescriptionGetPresentationDimensions (
    CMVideoFormatDescriptionRef _Nonnull videoDesc,
    Boolean usePixelAspectRatio,
    Boolean useCleanAperture
);

Declaration
From
Boolean CMVideoFormatDescriptionMatchesImageBuffer (
    CMVideoFormatDescriptionRef desc,
    CVImageBufferRef imageBuffer
);
To
Boolean CMVideoFormatDescriptionMatchesImageBuffer (
    CMVideoFormatDescriptionRef _Nonnull desc,
    CVImageBufferRef _Nonnull imageBuffer
);

CMFormatDescriptionBridge.h

Declaration
From
OSStatus CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMAudioFormatDescriptionRef audioFormatDescription,
    CFStringRef soundDescriptionFlavor,
    CMBlockBufferRef *soundDescriptionBlockBufferOut
);
To
OSStatus CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMAudioFormatDescriptionRef _Nonnull audioFormatDescription,
    CFStringRef _Nullable soundDescriptionFlavor,
    CMBlockBufferRef  _Nullable * _Nonnull soundDescriptionBlockBufferOut
);

Declaration
From
OSStatus CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMBlockBufferRef soundDescriptionBlockBuffer,
    CFStringRef soundDescriptionFlavor,
    CMAudioFormatDescriptionRef *audioFormatDescriptionOut
);
To
OSStatus CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nonnull soundDescriptionBlockBuffer,
    CFStringRef _Nullable soundDescriptionFlavor,
    CMAudioFormatDescriptionRef  _Nullable * _Nonnull audioFormatDescriptionOut
);

Declaration
From
OSStatus CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData (
    CFAllocatorRef allocator,
    const uint8_t *soundDescriptionData,
    size_t soundDescriptionSize,
    CFStringRef soundDescriptionFlavor,
    CMAudioFormatDescriptionRef *audioFormatDescriptionOut
);
To
OSStatus CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData (
    CFAllocatorRef _Nullable allocator,
    const uint8_t * _Nonnull soundDescriptionData,
    size_t soundDescriptionSize,
    CFStringRef _Nullable soundDescriptionFlavor,
    CMAudioFormatDescriptionRef  _Nullable * _Nonnull audioFormatDescriptionOut
);

Declaration
From
OSStatus CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMClosedCaptionFormatDescriptionRef closedCaptionFormatDescription,
    CFStringRef closedCaptionDescriptionFlavor,
    CMBlockBufferRef *closedCaptionDescriptionBlockBufferOut
);
To
OSStatus CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMClosedCaptionFormatDescriptionRef _Nonnull closedCaptionFormatDescription,
    CFStringRef _Nullable closedCaptionDescriptionFlavor,
    CMBlockBufferRef  _Nullable * _Nonnull closedCaptionDescriptionBlockBufferOut
);

Declaration
From
OSStatus CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMBlockBufferRef closedCaptionDescriptionBlockBuffer,
    CFStringRef closedCaptionDescriptionFlavor,
    CMClosedCaptionFormatDescriptionRef *closedCaptionFormatDescriptionOut
);
To
OSStatus CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nonnull closedCaptionDescriptionBlockBuffer,
    CFStringRef _Nullable closedCaptionDescriptionFlavor,
    CMClosedCaptionFormatDescriptionRef  _Nullable * _Nonnull closedCaptionFormatDescriptionOut
);

Declaration
From
OSStatus CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData (
    CFAllocatorRef allocator,
    const uint8_t *closedCaptionDescriptionData,
    size_t closedCaptionDescriptionSize,
    CFStringRef closedCaptionDescriptionFlavor,
    CMClosedCaptionFormatDescriptionRef *closedCaptionFormatDescriptionOut
);
To
OSStatus CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData (
    CFAllocatorRef _Nullable allocator,
    const uint8_t * _Nonnull closedCaptionDescriptionData,
    size_t closedCaptionDescriptionSize,
    CFStringRef _Nullable closedCaptionDescriptionFlavor,
    CMClosedCaptionFormatDescriptionRef  _Nullable * _Nonnull closedCaptionFormatDescriptionOut
);

Declaration
From
Boolean CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout (
    CMBlockBufferRef soundDescriptionBlockBuffer,
    CFStringRef soundDescriptionFlavor
);
To
Boolean CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout (
    CMBlockBufferRef _Nonnull soundDescriptionBlockBuffer,
    CFStringRef _Nullable soundDescriptionFlavor
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMMetadataFormatDescriptionRef metadataFormatDescription,
    CFStringRef metadataDescriptionFlavor,
    CMBlockBufferRef *metadataDescriptionBlockBufferOut
);
To
OSStatus CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMMetadataFormatDescriptionRef _Nonnull metadataFormatDescription,
    CFStringRef _Nullable metadataDescriptionFlavor,
    CMBlockBufferRef  _Nullable * _Nonnull metadataDescriptionBlockBufferOut
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMBlockBufferRef metadataDescriptionBlockBuffer,
    CFStringRef metadataDescriptionFlavor,
    CMMetadataFormatDescriptionRef *metadataFormatDescriptionOut
);
To
OSStatus CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nonnull metadataDescriptionBlockBuffer,
    CFStringRef _Nullable metadataDescriptionFlavor,
    CMMetadataFormatDescriptionRef  _Nullable * _Nonnull metadataFormatDescriptionOut
);

Declaration
From
OSStatus CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData (
    CFAllocatorRef allocator,
    const uint8_t *metadataDescriptionData,
    size_t metadataDescriptionSize,
    CFStringRef metadataDescriptionFlavor,
    CMMetadataFormatDescriptionRef *metadataFormatDescriptionOut
);
To
OSStatus CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData (
    CFAllocatorRef _Nullable allocator,
    const uint8_t * _Nonnull metadataDescriptionData,
    size_t metadataDescriptionSize,
    CFStringRef _Nullable metadataDescriptionFlavor,
    CMMetadataFormatDescriptionRef  _Nullable * _Nonnull metadataFormatDescriptionOut
);

Declaration
From
OSStatus CMSwapBigEndianClosedCaptionDescriptionToHost (
    uint8_t *closedCaptionDescriptionData,
    size_t closedCaptionDescriptionSize
);
To
OSStatus CMSwapBigEndianClosedCaptionDescriptionToHost (
    uint8_t * _Nonnull closedCaptionDescriptionData,
    size_t closedCaptionDescriptionSize
);

Declaration
From
OSStatus CMSwapBigEndianImageDescriptionToHost (
    uint8_t *imageDescriptionData,
    size_t imageDescriptionSize
);
To
OSStatus CMSwapBigEndianImageDescriptionToHost (
    uint8_t * _Nonnull imageDescriptionData,
    size_t imageDescriptionSize
);

Declaration
From
OSStatus CMSwapBigEndianMetadataDescriptionToHost (
    uint8_t *metadataDescriptionData,
    size_t metadataDescriptionSize
);
To
OSStatus CMSwapBigEndianMetadataDescriptionToHost (
    uint8_t * _Nonnull metadataDescriptionData,
    size_t metadataDescriptionSize
);

Declaration
From
OSStatus CMSwapBigEndianSoundDescriptionToHost (
    uint8_t *soundDescriptionData,
    size_t soundDescriptionSize
);
To
OSStatus CMSwapBigEndianSoundDescriptionToHost (
    uint8_t * _Nonnull soundDescriptionData,
    size_t soundDescriptionSize
);

Declaration
From
OSStatus CMSwapBigEndianTextDescriptionToHost (
    uint8_t *textDescriptionData,
    size_t textDescriptionSize
);
To
OSStatus CMSwapBigEndianTextDescriptionToHost (
    uint8_t * _Nonnull textDescriptionData,
    size_t textDescriptionSize
);

Declaration
From
OSStatus CMSwapBigEndianTimeCodeDescriptionToHost (
    uint8_t *timeCodeDescriptionData,
    size_t timeCodeDescriptionSize
);
To
OSStatus CMSwapBigEndianTimeCodeDescriptionToHost (
    uint8_t * _Nonnull timeCodeDescriptionData,
    size_t timeCodeDescriptionSize
);

Declaration
From
OSStatus CMSwapHostEndianClosedCaptionDescriptionToBig (
    uint8_t *closedCaptionDescriptionData,
    size_t closedCaptionDescriptionSize
);
To
OSStatus CMSwapHostEndianClosedCaptionDescriptionToBig (
    uint8_t * _Nonnull closedCaptionDescriptionData,
    size_t closedCaptionDescriptionSize
);

Declaration
From
OSStatus CMSwapHostEndianImageDescriptionToBig (
    uint8_t *imageDescriptionData,
    size_t imageDescriptionSize
);
To
OSStatus CMSwapHostEndianImageDescriptionToBig (
    uint8_t * _Nonnull imageDescriptionData,
    size_t imageDescriptionSize
);

Declaration
From
OSStatus CMSwapHostEndianMetadataDescriptionToBig (
    uint8_t *metadataDescriptionData,
    size_t metadataDescriptionSize
);
To
OSStatus CMSwapHostEndianMetadataDescriptionToBig (
    uint8_t * _Nonnull metadataDescriptionData,
    size_t metadataDescriptionSize
);

Declaration
From
OSStatus CMSwapHostEndianSoundDescriptionToBig (
    uint8_t *soundDescriptionData,
    size_t soundDescriptionSize
);
To
OSStatus CMSwapHostEndianSoundDescriptionToBig (
    uint8_t * _Nonnull soundDescriptionData,
    size_t soundDescriptionSize
);

Declaration
From
OSStatus CMSwapHostEndianTextDescriptionToBig (
    uint8_t *textDescriptionData,
    size_t textDescriptionSize
);
To
OSStatus CMSwapHostEndianTextDescriptionToBig (
    uint8_t * _Nonnull textDescriptionData,
    size_t textDescriptionSize
);

Declaration
From
OSStatus CMSwapHostEndianTimeCodeDescriptionToBig (
    uint8_t *timeCodeDescriptionData,
    size_t timeCodeDescriptionSize
);
To
OSStatus CMSwapHostEndianTimeCodeDescriptionToBig (
    uint8_t * _Nonnull timeCodeDescriptionData,
    size_t timeCodeDescriptionSize
);

Declaration
From
OSStatus CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMTextFormatDescriptionRef textFormatDescription,
    CFStringRef textDescriptionFlavor,
    CMBlockBufferRef *textDescriptionBlockBufferOut
);
To
OSStatus CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMTextFormatDescriptionRef _Nonnull textFormatDescription,
    CFStringRef _Nullable textDescriptionFlavor,
    CMBlockBufferRef  _Nullable * _Nonnull textDescriptionBlockBufferOut
);

Declaration
From
OSStatus CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMBlockBufferRef textDescriptionBlockBuffer,
    CFStringRef textDescriptionFlavor,
    CMMediaType mediaType,
    CMTextFormatDescriptionRef *textFormatDescriptionOut
);
To
OSStatus CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nonnull textDescriptionBlockBuffer,
    CFStringRef _Nullable textDescriptionFlavor,
    CMMediaType mediaType,
    CMTextFormatDescriptionRef  _Nullable * _Nonnull textFormatDescriptionOut
);

Declaration
From
OSStatus CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData (
    CFAllocatorRef allocator,
    const uint8_t *textDescriptionData,
    size_t textDescriptionSize,
    CFStringRef textDescriptionFlavor,
    CMMediaType mediaType,
    CMTextFormatDescriptionRef *textFormatDescriptionOut
);
To
OSStatus CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData (
    CFAllocatorRef _Nullable allocator,
    const uint8_t * _Nonnull textDescriptionData,
    size_t textDescriptionSize,
    CFStringRef _Nullable textDescriptionFlavor,
    CMMediaType mediaType,
    CMTextFormatDescriptionRef  _Nullable * _Nonnull textFormatDescriptionOut
);

Declaration
From
OSStatus CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMTimeCodeFormatDescriptionRef timeCodeFormatDescription,
    CFStringRef timeCodeDescriptionFlavor,
    CMBlockBufferRef *timeCodeDescriptionBlockBufferOut
);
To
OSStatus CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMTimeCodeFormatDescriptionRef _Nonnull timeCodeFormatDescription,
    CFStringRef _Nullable timeCodeDescriptionFlavor,
    CMBlockBufferRef  _Nullable * _Nonnull timeCodeDescriptionBlockBufferOut
);

Declaration
From
OSStatus CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMBlockBufferRef timeCodeDescriptionBlockBuffer,
    CFStringRef timeCodeDescriptionFlavor,
    CMTimeCodeFormatDescriptionRef *timeCodeFormatDescriptionOut
);
To
OSStatus CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nonnull timeCodeDescriptionBlockBuffer,
    CFStringRef _Nullable timeCodeDescriptionFlavor,
    CMTimeCodeFormatDescriptionRef  _Nullable * _Nonnull timeCodeFormatDescriptionOut
);

Declaration
From
OSStatus CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData (
    CFAllocatorRef allocator,
    const uint8_t *timeCodeDescriptionData,
    size_t timeCodeDescriptionSize,
    CFStringRef timeCodeDescriptionFlavor,
    CMTimeCodeFormatDescriptionRef *timeCodeFormatDescriptionOut
);
To
OSStatus CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData (
    CFAllocatorRef _Nullable allocator,
    const uint8_t * _Nonnull timeCodeDescriptionData,
    size_t timeCodeDescriptionSize,
    CFStringRef _Nullable timeCodeDescriptionFlavor,
    CMTimeCodeFormatDescriptionRef  _Nullable * _Nonnull timeCodeFormatDescriptionOut
);

Declaration
From
OSStatus CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMVideoFormatDescriptionRef videoFormatDescription,
    CFStringEncoding imageDescriptionStringEncoding,
    CFStringRef imageDescriptionFlavor,
    CMBlockBufferRef *imageDescriptionBlockBufferOut
);
To
OSStatus CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMVideoFormatDescriptionRef _Nonnull videoFormatDescription,
    CFStringEncoding imageDescriptionStringEncoding,
    CFStringRef _Nullable imageDescriptionFlavor,
    CMBlockBufferRef  _Nullable * _Nonnull imageDescriptionBlockBufferOut
);

Declaration
From
OSStatus CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer (
    CFAllocatorRef allocator,
    CMBlockBufferRef imageDescriptionBlockBuffer,
    CFStringEncoding imageDescriptionStringEncoding,
    CFStringRef imageDescriptionFlavor,
    CMVideoFormatDescriptionRef *videoFormatDescriptionOut
);
To
OSStatus CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nonnull imageDescriptionBlockBuffer,
    CFStringEncoding imageDescriptionStringEncoding,
    CFStringRef _Nullable imageDescriptionFlavor,
    CMVideoFormatDescriptionRef  _Nullable * _Nonnull videoFormatDescriptionOut
);

Declaration
From
OSStatus CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData (
    CFAllocatorRef allocator,
    const uint8_t *imageDescriptionData,
    size_t imageDescriptionSize,
    CFStringEncoding imageDescriptionStringEncoding,
    CFStringRef imageDescriptionFlavor,
    CMVideoFormatDescriptionRef *videoFormatDescriptionOut
);
To
OSStatus CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData (
    CFAllocatorRef _Nullable allocator,
    const uint8_t * _Nonnull imageDescriptionData,
    size_t imageDescriptionSize,
    CFStringEncoding imageDescriptionStringEncoding,
    CFStringRef _Nullable imageDescriptionFlavor,
    CMVideoFormatDescriptionRef  _Nullable * _Nonnull videoFormatDescriptionOut
);

CMMemoryPool.h

Declaration
From
CMMemoryPoolRef CMMemoryPoolCreate (
    CFDictionaryRef options
);
To
CMMemoryPoolRef _Nonnull CMMemoryPoolCreate (
    CFDictionaryRef _Nullable options
);

Declaration
From
void CMMemoryPoolFlush (
    CMMemoryPoolRef pool
);
To
void CMMemoryPoolFlush (
    CMMemoryPoolRef _Nonnull pool
);

Declaration
From
CFAllocatorRef CMMemoryPoolGetAllocator (
    CMMemoryPoolRef pool
);
To
CFAllocatorRef _Nonnull CMMemoryPoolGetAllocator (
    CMMemoryPoolRef _Nonnull pool
);

Declaration
From
void CMMemoryPoolInvalidate (
    CMMemoryPoolRef pool
);
To
void CMMemoryPoolInvalidate (
    CMMemoryPoolRef _Nonnull pool
);

CMMetadata.h

Declaration
From
OSStatus CMMetadataCreateIdentifierForKeyAndKeySpace (
    CFAllocatorRef allocator,
    CFTypeRef key,
    CFStringRef keySpace,
    CFStringRef *identifierOut
);
To
OSStatus CMMetadataCreateIdentifierForKeyAndKeySpace (
    CFAllocatorRef _Nullable allocator,
    CFTypeRef _Nonnull key,
    CFStringRef _Nonnull keySpace,
    CFStringRef  _Nullable * _Nonnull identifierOut
);

Declaration
From
OSStatus CMMetadataCreateKeyFromIdentifier (
    CFAllocatorRef allocator,
    CFStringRef identifier,
    CFTypeRef *keyOut
);
To
OSStatus CMMetadataCreateKeyFromIdentifier (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull identifier,
    CFTypeRef  _Nullable * _Nonnull keyOut
);

Declaration
From
OSStatus CMMetadataCreateKeyFromIdentifierAsCFData (
    CFAllocatorRef allocator,
    CFStringRef identifier,
    CFDataRef *keyOut
);
To
OSStatus CMMetadataCreateKeyFromIdentifierAsCFData (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull identifier,
    CFDataRef  _Nullable * _Nonnull keyOut
);

Declaration
From
OSStatus CMMetadataCreateKeySpaceFromIdentifier (
    CFAllocatorRef allocator,
    CFStringRef identifier,
    CFStringRef *keySpaceOut
);
To
OSStatus CMMetadataCreateKeySpaceFromIdentifier (
    CFAllocatorRef _Nullable allocator,
    CFStringRef _Nonnull identifier,
    CFStringRef  _Nullable * _Nonnull keySpaceOut
);

Declaration
From
Boolean CMMetadataDataTypeRegistryDataTypeConformsToDataType (
    CFStringRef dataType,
    CFStringRef conformsToDataType
);
To
Boolean CMMetadataDataTypeRegistryDataTypeConformsToDataType (
    CFStringRef _Nonnull dataType,
    CFStringRef _Nonnull conformsToDataType
);

Declaration
From
Boolean CMMetadataDataTypeRegistryDataTypeIsBaseDataType (
    CFStringRef dataType
);
To
Boolean CMMetadataDataTypeRegistryDataTypeIsBaseDataType (
    CFStringRef _Nonnull dataType
);

Declaration
From
Boolean CMMetadataDataTypeRegistryDataTypeIsRegistered (
    CFStringRef dataType
);
To
Boolean CMMetadataDataTypeRegistryDataTypeIsRegistered (
    CFStringRef _Nonnull dataType
);

Declaration
From
CFStringRef CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType (
    CFStringRef dataType
);
To
CFStringRef _Nonnull CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType (
    CFStringRef _Nonnull dataType
);

Declaration
From
CFArrayRef CMMetadataDataTypeRegistryGetBaseDataTypes (
    void
);
To
CFArrayRef _Nullable CMMetadataDataTypeRegistryGetBaseDataTypes (
    void
);

Declaration
From
CFArrayRef CMMetadataDataTypeRegistryGetConformingDataTypes (
    CFStringRef dataType
);
To
CFArrayRef _Nonnull CMMetadataDataTypeRegistryGetConformingDataTypes (
    CFStringRef _Nonnull dataType
);

Declaration
From
CFStringRef CMMetadataDataTypeRegistryGetDataTypeDescription (
    CFStringRef dataType
);
To
CFStringRef _Nonnull CMMetadataDataTypeRegistryGetDataTypeDescription (
    CFStringRef _Nonnull dataType
);

Declaration
From
OSStatus CMMetadataDataTypeRegistryRegisterDataType (
    CFStringRef dataType,
    CFStringRef description,
    CFArrayRef conformingDataTypes
);
To
OSStatus CMMetadataDataTypeRegistryRegisterDataType (
    CFStringRef _Nonnull dataType,
    CFStringRef _Nonnull description,
    CFArrayRef _Nonnull conformingDataTypes
);

CMSampleBuffer.h

Declaration
From
OSStatus CMAudioSampleBufferCreateReadyWithPacketDescriptions (
    CFAllocatorRef allocator,
    CMBlockBufferRef dataBuffer,
    CMFormatDescriptionRef formatDescription,
    CMItemCount numSamples,
    CMTime sbufPTS,
    const AudioStreamPacketDescription *packetDescriptions,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMAudioSampleBufferCreateReadyWithPacketDescriptions (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nullable dataBuffer,
    CMFormatDescriptionRef _Nonnull formatDescription,
    CMItemCount numSamples,
    CMTime sbufPTS,
    const AudioStreamPacketDescription * _Nullable packetDescriptions,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
OSStatus CMAudioSampleBufferCreateWithPacketDescriptions (
    CFAllocatorRef allocator,
    CMBlockBufferRef dataBuffer,
    Boolean dataReady,
    CMSampleBufferMakeDataReadyCallback makeDataReadyCallback,
    void *makeDataReadyRefcon,
    CMFormatDescriptionRef formatDescription,
    CMItemCount numSamples,
    CMTime sbufPTS,
    const AudioStreamPacketDescription *packetDescriptions,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMAudioSampleBufferCreateWithPacketDescriptions (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nullable dataBuffer,
    Boolean dataReady,
    CMSampleBufferMakeDataReadyCallback _Nullable makeDataReadyCallback,
    void * _Nullable makeDataReadyRefcon,
    CMFormatDescriptionRef _Nonnull formatDescription,
    CMItemCount numSamples,
    CMTime sbufPTS,
    const AudioStreamPacketDescription * _Nullable packetDescriptions,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
OSStatus CMSampleBufferCallBlockForEachSample (
    CMSampleBufferRef sbuf,
    OSStatus (^handler)(CMSampleBufferRef sampleBuffer, CMItemCount index)
);
To
OSStatus CMSampleBufferCallBlockForEachSample (
    CMSampleBufferRef _Nonnull sbuf,
    OSStatus (^ _Nonnullhandler)(CMSampleBufferRef _Nonnull sampleBuffer, CMItemCount index)
);

Declaration
From
OSStatus CMSampleBufferCallForEachSample (
    CMSampleBufferRef sbuf,
    OSStatus (*callback)(CMSampleBufferRef sampleBuffer, CMItemCount index, void *refcon),
    void *refcon
);
To
OSStatus CMSampleBufferCallForEachSample (
    CMSampleBufferRef _Nonnull sbuf,
    OSStatus (* _Nonnullcallback)(CMSampleBufferRef _Nonnull sampleBuffer, CMItemCount index, void * _Nullable refcon),
    void * _Nullable refcon
);

Declaration
From
OSStatus CMSampleBufferCopyPCMDataIntoAudioBufferList (
    CMSampleBufferRef sbuf,
    int32_t frameOffset,
    int32_t numFrames,
    AudioBufferList *bufferList
);
To
OSStatus CMSampleBufferCopyPCMDataIntoAudioBufferList (
    CMSampleBufferRef _Nonnull sbuf,
    int32_t frameOffset,
    int32_t numFrames,
    AudioBufferList * _Nonnull bufferList
);

Declaration
From
OSStatus CMSampleBufferCopySampleBufferForRange (
    CFAllocatorRef allocator,
    CMSampleBufferRef sbuf,
    CFRange sampleRange,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMSampleBufferCopySampleBufferForRange (
    CFAllocatorRef _Nullable allocator,
    CMSampleBufferRef _Nonnull sbuf,
    CFRange sampleRange,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
OSStatus CMSampleBufferCreate (
    CFAllocatorRef allocator,
    CMBlockBufferRef dataBuffer,
    Boolean dataReady,
    CMSampleBufferMakeDataReadyCallback makeDataReadyCallback,
    void *makeDataReadyRefcon,
    CMFormatDescriptionRef formatDescription,
    CMItemCount numSamples,
    CMItemCount numSampleTimingEntries,
    const CMSampleTimingInfo *sampleTimingArray,
    CMItemCount numSampleSizeEntries,
    const size_t *sampleSizeArray,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMSampleBufferCreate (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nullable dataBuffer,
    Boolean dataReady,
    CMSampleBufferMakeDataReadyCallback _Nullable makeDataReadyCallback,
    void * _Nullable makeDataReadyRefcon,
    CMFormatDescriptionRef _Nullable formatDescription,
    CMItemCount numSamples,
    CMItemCount numSampleTimingEntries,
    const CMSampleTimingInfo * _Nullable sampleTimingArray,
    CMItemCount numSampleSizeEntries,
    const size_t * _Nullable sampleSizeArray,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
OSStatus CMSampleBufferCreateCopy (
    CFAllocatorRef allocator,
    CMSampleBufferRef sbuf,
    CMSampleBufferRef *sbufCopyOut
);
To
OSStatus CMSampleBufferCreateCopy (
    CFAllocatorRef _Nullable allocator,
    CMSampleBufferRef _Nonnull sbuf,
    CMSampleBufferRef  _Nullable * _Nonnull sbufCopyOut
);

Declaration
From
OSStatus CMSampleBufferCreateCopyWithNewTiming (
    CFAllocatorRef allocator,
    CMSampleBufferRef originalSBuf,
    CMItemCount numSampleTimingEntries,
    const CMSampleTimingInfo *sampleTimingArray,
    CMSampleBufferRef *sBufCopyOut
);
To
OSStatus CMSampleBufferCreateCopyWithNewTiming (
    CFAllocatorRef _Nullable allocator,
    CMSampleBufferRef _Nonnull originalSBuf,
    CMItemCount numSampleTimingEntries,
    const CMSampleTimingInfo * _Nullable sampleTimingArray,
    CMSampleBufferRef  _Nullable * _Nonnull sBufCopyOut
);

Declaration
From
OSStatus CMSampleBufferCreateForImageBuffer (
    CFAllocatorRef allocator,
    CVImageBufferRef imageBuffer,
    Boolean dataReady,
    CMSampleBufferMakeDataReadyCallback makeDataReadyCallback,
    void *makeDataReadyRefcon,
    CMVideoFormatDescriptionRef formatDescription,
    const CMSampleTimingInfo *sampleTiming,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMSampleBufferCreateForImageBuffer (
    CFAllocatorRef _Nullable allocator,
    CVImageBufferRef _Nonnull imageBuffer,
    Boolean dataReady,
    CMSampleBufferMakeDataReadyCallback _Nullable makeDataReadyCallback,
    void * _Nullable makeDataReadyRefcon,
    CMVideoFormatDescriptionRef _Nonnull formatDescription,
    const CMSampleTimingInfo * _Nonnull sampleTiming,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
OSStatus CMSampleBufferCreateReady (
    CFAllocatorRef allocator,
    CMBlockBufferRef dataBuffer,
    CMFormatDescriptionRef formatDescription,
    CMItemCount numSamples,
    CMItemCount numSampleTimingEntries,
    const CMSampleTimingInfo *sampleTimingArray,
    CMItemCount numSampleSizeEntries,
    const size_t *sampleSizeArray,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMSampleBufferCreateReady (
    CFAllocatorRef _Nullable allocator,
    CMBlockBufferRef _Nullable dataBuffer,
    CMFormatDescriptionRef _Nullable formatDescription,
    CMItemCount numSamples,
    CMItemCount numSampleTimingEntries,
    const CMSampleTimingInfo * _Nullable sampleTimingArray,
    CMItemCount numSampleSizeEntries,
    const size_t * _Nullable sampleSizeArray,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
OSStatus CMSampleBufferCreateReadyWithImageBuffer (
    CFAllocatorRef allocator,
    CVImageBufferRef imageBuffer,
    CMVideoFormatDescriptionRef formatDescription,
    const CMSampleTimingInfo *sampleTiming,
    CMSampleBufferRef *sBufOut
);
To
OSStatus CMSampleBufferCreateReadyWithImageBuffer (
    CFAllocatorRef _Nullable allocator,
    CVImageBufferRef _Nonnull imageBuffer,
    CMVideoFormatDescriptionRef _Nonnull formatDescription,
    const CMSampleTimingInfo * _Nonnull sampleTiming,
    CMSampleBufferRef  _Nullable * _Nonnull sBufOut
);

Declaration
From
Boolean CMSampleBufferDataIsReady (
    CMSampleBufferRef sbuf
);
To
Boolean CMSampleBufferDataIsReady (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
OSStatus CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer (
    CMSampleBufferRef sbuf,
    size_t *bufferListSizeNeededOut,
    AudioBufferList *bufferListOut,
    size_t bufferListSize,
    CFAllocatorRef bbufStructAllocator,
    CFAllocatorRef bbufMemoryAllocator,
    uint32_t flags,
    CMBlockBufferRef *blockBufferOut
);
To
OSStatus CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer (
    CMSampleBufferRef _Nonnull sbuf,
    size_t * _Nullable bufferListSizeNeededOut,
    AudioBufferList * _Nullable bufferListOut,
    size_t bufferListSize,
    CFAllocatorRef _Nullable bbufStructAllocator,
    CFAllocatorRef _Nullable bbufMemoryAllocator,
    uint32_t flags,
    CMBlockBufferRef  _Nullable * _Nullable blockBufferOut
);

Declaration
From
OSStatus CMSampleBufferGetAudioStreamPacketDescriptions (
    CMSampleBufferRef sbuf,
    size_t packetDescriptionsSize,
    AudioStreamPacketDescription *packetDescriptionsOut,
    size_t *packetDescriptionsSizeNeededOut
);
To
OSStatus CMSampleBufferGetAudioStreamPacketDescriptions (
    CMSampleBufferRef _Nonnull sbuf,
    size_t packetDescriptionsSize,
    AudioStreamPacketDescription * _Nullable packetDescriptionsOut,
    size_t * _Nullable packetDescriptionsSizeNeededOut
);

Declaration
From
OSStatus CMSampleBufferGetAudioStreamPacketDescriptionsPtr (
    CMSampleBufferRef sbuf,
    const AudioStreamPacketDescription **packetDescriptionsPtrOut,
    size_t *packetDescriptionsSizeOut
);
To
OSStatus CMSampleBufferGetAudioStreamPacketDescriptionsPtr (
    CMSampleBufferRef _Nonnull sbuf,
    const AudioStreamPacketDescription * _Nullable * _Nullable packetDescriptionsPtrOut,
    size_t * _Nullable packetDescriptionsSizeOut
);

Declaration
From
CMBlockBufferRef CMSampleBufferGetDataBuffer (
    CMSampleBufferRef sbuf
);
To
CMBlockBufferRef _Nullable CMSampleBufferGetDataBuffer (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMTime CMSampleBufferGetDecodeTimeStamp (
    CMSampleBufferRef sbuf
);
To
CMTime CMSampleBufferGetDecodeTimeStamp (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMTime CMSampleBufferGetDuration (
    CMSampleBufferRef sbuf
);
To
CMTime CMSampleBufferGetDuration (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMFormatDescriptionRef CMSampleBufferGetFormatDescription (
    CMSampleBufferRef sbuf
);
To
CMFormatDescriptionRef _Nullable CMSampleBufferGetFormatDescription (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CVImageBufferRef CMSampleBufferGetImageBuffer (
    CMSampleBufferRef sbuf
);
To
CVImageBufferRef _Nullable CMSampleBufferGetImageBuffer (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMItemCount CMSampleBufferGetNumSamples (
    CMSampleBufferRef sbuf
);
To
CMItemCount CMSampleBufferGetNumSamples (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMTime CMSampleBufferGetOutputDecodeTimeStamp (
    CMSampleBufferRef sbuf
);
To
CMTime CMSampleBufferGetOutputDecodeTimeStamp (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMTime CMSampleBufferGetOutputDuration (
    CMSampleBufferRef sbuf
);
To
CMTime CMSampleBufferGetOutputDuration (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CMTime CMSampleBufferGetOutputPresentationTimeStamp (
    CMSampleBufferRef sbuf
);
To
CMTime CMSampleBufferGetOutputPresentationTimeStamp (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
OSStatus CMSampleBufferGetOutputSampleTimingInfoArray (
    CMSampleBufferRef sbuf,
    CMItemCount timingArrayEntries,
    CMSampleTimingInfo *timingArrayOut,
    CMItemCount *timingArrayEntriesNeededOut
);
To
OSStatus CMSampleBufferGetOutputSampleTimingInfoArray (
    CMSampleBufferRef _Nonnull sbuf,
    CMItemCount timingArrayEntries,
    CMSampleTimingInfo * _Nullable timingArrayOut,
    CMItemCount * _Nullable timingArrayEntriesNeededOut
);

Declaration
From
CMTime CMSampleBufferGetPresentationTimeStamp (
    CMSampleBufferRef sbuf
);
To
CMTime CMSampleBufferGetPresentationTimeStamp (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
CFArrayRef CMSampleBufferGetSampleAttachmentsArray (
    CMSampleBufferRef sbuf,
    Boolean createIfNecessary
);
To
CFArrayRef _Nullable CMSampleBufferGetSampleAttachmentsArray (
    CMSampleBufferRef _Nonnull sbuf,
    Boolean createIfNecessary
);

Declaration
From
size_t CMSampleBufferGetSampleSize (
    CMSampleBufferRef sbuf,
    CMItemIndex sampleIndex
);
To
size_t CMSampleBufferGetSampleSize (
    CMSampleBufferRef _Nonnull sbuf,
    CMItemIndex sampleIndex
);

Declaration
From
OSStatus CMSampleBufferGetSampleSizeArray (
    CMSampleBufferRef sbuf,
    CMItemCount sizeArrayEntries,
    size_t *sizeArrayOut,
    CMItemCount *sizeArrayEntriesNeededOut
);
To
OSStatus CMSampleBufferGetSampleSizeArray (
    CMSampleBufferRef _Nonnull sbuf,
    CMItemCount sizeArrayEntries,
    size_t * _Nullable sizeArrayOut,
    CMItemCount * _Nullable sizeArrayEntriesNeededOut
);

Declaration
From
OSStatus CMSampleBufferGetSampleTimingInfo (
    CMSampleBufferRef sbuf,
    CMItemIndex sampleIndex,
    CMSampleTimingInfo *timingInfoOut
);
To
OSStatus CMSampleBufferGetSampleTimingInfo (
    CMSampleBufferRef _Nonnull sbuf,
    CMItemIndex sampleIndex,
    CMSampleTimingInfo * _Nonnull timingInfoOut
);

Declaration
From
OSStatus CMSampleBufferGetSampleTimingInfoArray (
    CMSampleBufferRef sbuf,
    CMItemCount timingArrayEntries,
    CMSampleTimingInfo *timingArrayOut,
    CMItemCount *timingArrayEntriesNeededOut
);
To
OSStatus CMSampleBufferGetSampleTimingInfoArray (
    CMSampleBufferRef _Nonnull sbuf,
    CMItemCount timingArrayEntries,
    CMSampleTimingInfo * _Nullable timingArrayOut,
    CMItemCount * _Nullable timingArrayEntriesNeededOut
);

Declaration
From
size_t CMSampleBufferGetTotalSampleSize (
    CMSampleBufferRef sbuf
);
To
size_t CMSampleBufferGetTotalSampleSize (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
Boolean CMSampleBufferHasDataFailed (
    CMSampleBufferRef sbuf,
    OSStatus *statusOut
);
To
Boolean CMSampleBufferHasDataFailed (
    CMSampleBufferRef _Nonnull sbuf,
    OSStatus * _Nonnull statusOut
);

Declaration
From
OSStatus CMSampleBufferInvalidate (
    CMSampleBufferRef sbuf
);
To
OSStatus CMSampleBufferInvalidate (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
Boolean CMSampleBufferIsValid (
    CMSampleBufferRef sbuf
);
To
Boolean CMSampleBufferIsValid (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
OSStatus CMSampleBufferMakeDataReady (
    CMSampleBufferRef sbuf
);
To
OSStatus CMSampleBufferMakeDataReady (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
OSStatus CMSampleBufferSetDataBuffer (
    CMSampleBufferRef sbuf,
    CMBlockBufferRef dataBuffer
);
To
OSStatus CMSampleBufferSetDataBuffer (
    CMSampleBufferRef _Nonnull sbuf,
    CMBlockBufferRef _Nonnull dataBuffer
);

Declaration
From
OSStatus CMSampleBufferSetDataBufferFromAudioBufferList (
    CMSampleBufferRef sbuf,
    CFAllocatorRef bbufStructAllocator,
    CFAllocatorRef bbufMemoryAllocator,
    uint32_t flags,
    const AudioBufferList *bufferList
);
To
OSStatus CMSampleBufferSetDataBufferFromAudioBufferList (
    CMSampleBufferRef _Nonnull sbuf,
    CFAllocatorRef _Nullable bbufStructAllocator,
    CFAllocatorRef _Nullable bbufMemoryAllocator,
    uint32_t flags,
    const AudioBufferList * _Nonnull bufferList
);

Declaration
From
OSStatus CMSampleBufferSetDataFailed (
    CMSampleBufferRef sbuf,
    OSStatus status
);
To
OSStatus CMSampleBufferSetDataFailed (
    CMSampleBufferRef _Nonnull sbuf,
    OSStatus status
);

Declaration
From
OSStatus CMSampleBufferSetDataReady (
    CMSampleBufferRef sbuf
);
To
OSStatus CMSampleBufferSetDataReady (
    CMSampleBufferRef _Nonnull sbuf
);

Declaration
From
OSStatus CMSampleBufferSetInvalidateCallback (
    CMSampleBufferRef sbuf,
    CMSampleBufferInvalidateCallback invalidateCallback,
    uint64_t invalidateRefCon
);
To
OSStatus CMSampleBufferSetInvalidateCallback (
    CMSampleBufferRef _Nonnull sbuf,
    CMSampleBufferInvalidateCallback _Nonnull invalidateCallback,
    uint64_t invalidateRefCon
);

Declaration
From
OSStatus CMSampleBufferSetInvalidateHandler (
    CMSampleBufferRef sbuf,
    CMSampleBufferInvalidateHandler invalidateHandler
);
To
OSStatus CMSampleBufferSetInvalidateHandler (
    CMSampleBufferRef _Nonnull sbuf,
    CMSampleBufferInvalidateHandler _Nonnull invalidateHandler
);

Declaration
From
OSStatus CMSampleBufferSetOutputPresentationTimeStamp (
    CMSampleBufferRef sbuf,
    CMTime outputPresentationTimeStamp
);
To
OSStatus CMSampleBufferSetOutputPresentationTimeStamp (
    CMSampleBufferRef _Nonnull sbuf,
    CMTime outputPresentationTimeStamp
);

Declaration
From
OSStatus CMSampleBufferTrackDataReadiness (
    CMSampleBufferRef sbuf,
    CMSampleBufferRef sbufToTrack
);
To
OSStatus CMSampleBufferTrackDataReadiness (
    CMSampleBufferRef _Nonnull sbuf,
    CMSampleBufferRef _Nonnull sbufToTrack
);

CMSimpleQueue.h

Declaration
From
OSStatus CMSimpleQueueCreate (
    CFAllocatorRef allocator,
    int32_t capacity,
    CMSimpleQueueRef *queueOut
);
To
OSStatus CMSimpleQueueCreate (
    CFAllocatorRef _Nullable allocator,
    int32_t capacity,
    CMSimpleQueueRef  _Nullable * _Nonnull queueOut
);

Declaration
From
const void * CMSimpleQueueDequeue (
    CMSimpleQueueRef queue
);
To
const void * _Nullable CMSimpleQueueDequeue (
    CMSimpleQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMSimpleQueueEnqueue (
    CMSimpleQueueRef queue,
    const void *element
);
To
OSStatus CMSimpleQueueEnqueue (
    CMSimpleQueueRef _Nonnull queue,
    const void * _Nonnull element
);

Declaration
From
int32_t CMSimpleQueueGetCapacity (
    CMSimpleQueueRef queue
);
To
int32_t CMSimpleQueueGetCapacity (
    CMSimpleQueueRef _Nonnull queue
);

Declaration
From
int32_t CMSimpleQueueGetCount (
    CMSimpleQueueRef queue
);
To
int32_t CMSimpleQueueGetCount (
    CMSimpleQueueRef _Nonnull queue
);

Declaration
From
const void * CMSimpleQueueGetHead (
    CMSimpleQueueRef queue
);
To
const void * _Nullable CMSimpleQueueGetHead (
    CMSimpleQueueRef _Nonnull queue
);

Declaration
From
OSStatus CMSimpleQueueReset (
    CMSimpleQueueRef queue
);
To
OSStatus CMSimpleQueueReset (
    CMSimpleQueueRef _Nonnull queue
);

CMSync.h

Declaration
From
OSStatus CMClockGetAnchorTime (
    CMClockRef clock,
    CMTime *outClockTime,
    CMTime *outReferenceClockTime
);
To
OSStatus CMClockGetAnchorTime (
    CMClockRef _Nonnull clock,
    CMTime * _Nonnull outClockTime,
    CMTime * _Nonnull outReferenceClockTime
);

Declaration
From
CMClockRef CMClockGetHostTimeClock (
    void
);
To
CMClockRef _Nonnull CMClockGetHostTimeClock (
    void
);

Declaration
From
CMTime CMClockGetTime (
    CMClockRef clock
);
To
CMTime CMClockGetTime (
    CMClockRef _Nonnull clock
);

Declaration
From
void CMClockInvalidate (
    CMClockRef clock
);
To
void CMClockInvalidate (
    CMClockRef _Nonnull clock
);

Declaration
From
Boolean CMClockMightDrift (
    CMClockRef clock,
    CMClockRef otherClock
);
To
Boolean CMClockMightDrift (
    CMClockRef _Nonnull clock,
    CMClockRef _Nonnull otherClock
);

Declaration
From
CMTime CMSyncConvertTime (
    CMTime time,
    CMClockOrTimebaseRef fromClockOrTimebase,
    CMClockOrTimebaseRef toClockOrTimebase
);
To
CMTime CMSyncConvertTime (
    CMTime time,
    CMClockOrTimebaseRef _Nonnull fromClockOrTimebase,
    CMClockOrTimebaseRef _Nonnull toClockOrTimebase
);

Declaration
From
Float64 CMSyncGetRelativeRate (
    CMClockOrTimebaseRef ofClockOrTimebase,
    CMClockOrTimebaseRef relativeToClockOrTimebase
);
To
Float64 CMSyncGetRelativeRate (
    CMClockOrTimebaseRef _Nonnull ofClockOrTimebase,
    CMClockOrTimebaseRef _Nonnull relativeToClockOrTimebase
);

Declaration
From
OSStatus CMSyncGetRelativeRateAndAnchorTime (
    CMClockOrTimebaseRef ofClockOrTimebase,
    CMClockOrTimebaseRef relativeToClockOrTimebase,
    Float64 *outRelativeRate,
    CMTime *outOfClockOrTimebaseAnchorTime,
    CMTime *outRelativeToClockOrTimebaseAnchorTime
);
To
OSStatus CMSyncGetRelativeRateAndAnchorTime (
    CMClockOrTimebaseRef _Nonnull ofClockOrTimebase,
    CMClockOrTimebaseRef _Nonnull relativeToClockOrTimebase,
    Float64 * _Nonnull outRelativeRate,
    CMTime * _Nonnull outOfClockOrTimebaseAnchorTime,
    CMTime * _Nonnull outRelativeToClockOrTimebaseAnchorTime
);

Declaration
From
CMTime CMSyncGetTime (
    CMClockOrTimebaseRef clockOrTimebase
);
To
CMTime CMSyncGetTime (
    CMClockOrTimebaseRef _Nonnull clockOrTimebase
);

Declaration
From
Boolean CMSyncMightDrift (
    CMClockOrTimebaseRef clockOrTimebase1,
    CMClockOrTimebaseRef clockOrTimebase2
);
To
Boolean CMSyncMightDrift (
    CMClockOrTimebaseRef _Nonnull clockOrTimebase1,
    CMClockOrTimebaseRef _Nonnull clockOrTimebase2
);

Declaration
From
OSStatus CMTimebaseAddTimer (
    CMTimebaseRef timebase,
    CFRunLoopTimerRef timer,
    CFRunLoopRef runloop
);
To
OSStatus CMTimebaseAddTimer (
    CMTimebaseRef _Nonnull timebase,
    CFRunLoopTimerRef _Nonnull timer,
    CFRunLoopRef _Nonnull runloop
);

Declaration
From
OSStatus CMTimebaseAddTimerDispatchSource (
    CMTimebaseRef timebase,
    dispatch_source_t timerSource
);
To
OSStatus CMTimebaseAddTimerDispatchSource (
    CMTimebaseRef _Nonnull timebase,
    dispatch_source_t _Nonnull timerSource
);

Declaration
From
OSStatus CMTimebaseCreateWithMasterClock (
    CFAllocatorRef allocator,
    CMClockRef masterClock,
    CMTimebaseRef *timebaseOut
);
To
OSStatus CMTimebaseCreateWithMasterClock (
    CFAllocatorRef _Nullable allocator,
    CMClockRef _Nonnull masterClock,
    CMTimebaseRef  _Nullable * _Nonnull timebaseOut
);

Declaration
From
OSStatus CMTimebaseCreateWithMasterTimebase (
    CFAllocatorRef allocator,
    CMTimebaseRef masterTimebase,
    CMTimebaseRef *timebaseOut
);
To
OSStatus CMTimebaseCreateWithMasterTimebase (
    CFAllocatorRef _Nullable allocator,
    CMTimebaseRef _Nonnull masterTimebase,
    CMTimebaseRef  _Nullable * _Nonnull timebaseOut
);

Declaration
From
Float64 CMTimebaseGetEffectiveRate (
    CMTimebaseRef timebase
);
To
Float64 CMTimebaseGetEffectiveRate (
    CMTimebaseRef _Nonnull timebase
);

DeclarationDeprecation
From
CMClockOrTimebaseRef CMTimebaseGetMaster (
    CMTimebaseRef timebase
);
--
To
CMClockOrTimebaseRef _Nullable CMTimebaseGetMaster (
    CMTimebaseRef _Nonnull timebase
);
OS X 10.11

DeclarationDeprecation
From
CMClockRef CMTimebaseGetMasterClock (
    CMTimebaseRef timebase
);
--
To
CMClockRef _Nullable CMTimebaseGetMasterClock (
    CMTimebaseRef _Nonnull timebase
);
OS X 10.11

DeclarationDeprecation
From
CMTimebaseRef CMTimebaseGetMasterTimebase (
    CMTimebaseRef timebase
);
--
To
CMTimebaseRef _Nullable CMTimebaseGetMasterTimebase (
    CMTimebaseRef _Nonnull timebase
);
OS X 10.11

Declaration
From
Float64 CMTimebaseGetRate (
    CMTimebaseRef timebase
);
To
Float64 CMTimebaseGetRate (
    CMTimebaseRef _Nonnull timebase
);

Declaration
From
CMTime CMTimebaseGetTime (
    CMTimebaseRef timebase
);
To
CMTime CMTimebaseGetTime (
    CMTimebaseRef _Nonnull timebase
);

Declaration
From
OSStatus CMTimebaseGetTimeAndRate (
    CMTimebaseRef timebase,
    CMTime *outTime,
    Float64 *outRate
);
To
OSStatus CMTimebaseGetTimeAndRate (
    CMTimebaseRef _Nonnull timebase,
    CMTime * _Nonnull outTime,
    Float64 * _Nonnull outRate
);

Declaration
From
CMTime CMTimebaseGetTimeWithTimeScale (
    CMTimebaseRef timebase,
    CMTimeScale timescale,
    CMTimeRoundingMethod method
);
To
CMTime CMTimebaseGetTimeWithTimeScale (
    CMTimebaseRef _Nonnull timebase,
    CMTimeScale timescale,
    CMTimeRoundingMethod method
);

DeclarationDeprecation
From
CMClockRef CMTimebaseGetUltimateMasterClock (
    CMTimebaseRef timebase
);
--
To
CMClockRef _Nullable CMTimebaseGetUltimateMasterClock (
    CMTimebaseRef _Nonnull timebase
);
OS X 10.11

Declaration
From
OSStatus CMTimebaseNotificationBarrier (
    CMTimebaseRef timebase
);
To
OSStatus CMTimebaseNotificationBarrier (
    CMTimebaseRef _Nonnull timebase
);

Declaration
From
OSStatus CMTimebaseRemoveTimer (
    CMTimebaseRef timebase,
    CFRunLoopTimerRef timer
);
To
OSStatus CMTimebaseRemoveTimer (
    CMTimebaseRef _Nonnull timebase,
    CFRunLoopTimerRef _Nonnull timer
);

Declaration
From
OSStatus CMTimebaseRemoveTimerDispatchSource (
    CMTimebaseRef timebase,
    dispatch_source_t timerSource
);
To
OSStatus CMTimebaseRemoveTimerDispatchSource (
    CMTimebaseRef _Nonnull timebase,
    dispatch_source_t _Nonnull timerSource
);

Declaration
From
OSStatus CMTimebaseSetAnchorTime (
    CMTimebaseRef timebase,
    CMTime timebaseTime,
    CMTime immediateMasterTime
);
To
OSStatus CMTimebaseSetAnchorTime (
    CMTimebaseRef _Nonnull timebase,
    CMTime timebaseTime,
    CMTime immediateMasterTime
);

Declaration
From
OSStatus CMTimebaseSetRate (
    CMTimebaseRef timebase,
    Float64 rate
);
To
OSStatus CMTimebaseSetRate (
    CMTimebaseRef _Nonnull timebase,
    Float64 rate
);

Declaration
From
OSStatus CMTimebaseSetRateAndAnchorTime (
    CMTimebaseRef timebase,
    Float64 rate,
    CMTime timebaseTime,
    CMTime immediateMasterTime
);
To
OSStatus CMTimebaseSetRateAndAnchorTime (
    CMTimebaseRef _Nonnull timebase,
    Float64 rate,
    CMTime timebaseTime,
    CMTime immediateMasterTime
);

Declaration
From
OSStatus CMTimebaseSetTime (
    CMTimebaseRef timebase,
    CMTime time
);
To
OSStatus CMTimebaseSetTime (
    CMTimebaseRef _Nonnull timebase,
    CMTime time
);

Declaration
From
OSStatus CMTimebaseSetTimerDispatchSourceNextFireTime (
    CMTimebaseRef timebase,
    dispatch_source_t timerSource,
    CMTime fireTime,
    uint32_t flags
);
To
OSStatus CMTimebaseSetTimerDispatchSourceNextFireTime (
    CMTimebaseRef _Nonnull timebase,
    dispatch_source_t _Nonnull timerSource,
    CMTime fireTime,
    uint32_t flags
);

Declaration
From
OSStatus CMTimebaseSetTimerDispatchSourceToFireImmediately (
    CMTimebaseRef timebase,
    dispatch_source_t timerSource
);
To
OSStatus CMTimebaseSetTimerDispatchSourceToFireImmediately (
    CMTimebaseRef _Nonnull timebase,
    dispatch_source_t _Nonnull timerSource
);

Declaration
From
OSStatus CMTimebaseSetTimerNextFireTime (
    CMTimebaseRef timebase,
    CFRunLoopTimerRef timer,
    CMTime fireTime,
    uint32_t flags
);
To
OSStatus CMTimebaseSetTimerNextFireTime (
    CMTimebaseRef _Nonnull timebase,
    CFRunLoopTimerRef _Nonnull timer,
    CMTime fireTime,
    uint32_t flags
);

Declaration
From
OSStatus CMTimebaseSetTimerToFireImmediately (
    CMTimebaseRef timebase,
    CFRunLoopTimerRef timer
);
To
OSStatus CMTimebaseSetTimerToFireImmediately (
    CMTimebaseRef _Nonnull timebase,
    CFRunLoopTimerRef _Nonnull timer
);

CMTime.h

Declaration
From
CFDictionaryRef CMTimeCopyAsDictionary (
    CMTime time,
    CFAllocatorRef allocator
);
To
CFDictionaryRef _Nullable CMTimeCopyAsDictionary (
    CMTime time,
    CFAllocatorRef _Nullable allocator
);

Declaration
From
CFStringRef CMTimeCopyDescription (
    CFAllocatorRef allocator,
    CMTime time
);
To
CFStringRef _Nullable CMTimeCopyDescription (
    CFAllocatorRef _Nullable allocator,
    CMTime time
);

Declaration
From
CMTime CMTimeMakeFromDictionary (
    CFDictionaryRef dict
);
To
CMTime CMTimeMakeFromDictionary (
    CFDictionaryRef _Nullable dict
);

CMTimeRange.h

Added #def CMTIMEMAPPING_IS_EMPTY
Added #def CMTIMEMAPPING_IS_INVALID
Added #def CMTIMEMAPPING_IS_VALID
Declaration
From
CFDictionaryRef CMTimeRangeCopyAsDictionary (
    CMTimeRange range,
    CFAllocatorRef allocator
);
To
CFDictionaryRef _Nullable CMTimeRangeCopyAsDictionary (
    CMTimeRange range,
    CFAllocatorRef _Nullable allocator
);

Declaration
From
CFStringRef CMTimeRangeCopyDescription (
    CFAllocatorRef allocator,
    CMTimeRange range
);
To
CFStringRef _Nullable CMTimeRangeCopyDescription (
    CFAllocatorRef _Nullable allocator,
    CMTimeRange range
);

Declaration
From
CMTimeRange CMTimeRangeMakeFromDictionary (
    CFDictionaryRef dict
);
To
CMTimeRange CMTimeRangeMakeFromDictionary (
    CFDictionaryRef _Nonnull dict
);