-
Notifications
You must be signed in to change notification settings - Fork 542
CoreMedia iOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Jun 18, 2024
·
3 revisions
#CoreMedia.framework
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h 2024-04-17 07:06:45
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAttachment.h 2024-05-30 02:28:08
@@ -23,10 +23,10 @@
CF_IMPLICIT_BRIDGING_ENABLED
/* A CMAttachmentBearer is a CF-based object that supports the suite of key/value/mode attachment APIs defined in this header file. Since plain C has no type subclassing, we use CFType as the basis for the CMAttachmentBearer type. (Not all CFTypes support CMAttachmentBearer methods; if a CMAttachmentBearer method is called on a CF object that does not support it, it will fail.) */
-typedef CM_BRIDGED_TYPE(id) CFTypeRef CMAttachmentBearerRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef CM_BRIDGED_TYPE(id) CFTypeRef CMAttachmentBearerRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// The attachment modes are the same as those defined in CVBuffer.h.
-typedef uint32_t CMAttachmentMode API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef uint32_t CMAttachmentMode API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMAttachmentMode
#else
@@ -35,7 +35,7 @@
{
kCMAttachmentMode_ShouldNotPropagate = 0,
kCMAttachmentMode_ShouldPropagate = 1
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSetAttachment
@@ -47,7 +47,7 @@
@param attachmentMode Specifies which attachment mode is desired for this attachment. A particular attachment key may only exist in
a single mode at a time.
*/
-CM_EXPORT void CMSetAttachment(CMAttachmentBearerRef CM_NONNULL target, CFStringRef CM_NONNULL key, CFTypeRef CM_NULLABLE value, CMAttachmentMode attachmentMode) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT void CMSetAttachment(CMAttachmentBearerRef CM_NONNULL target, CFStringRef CM_NONNULL key, CFTypeRef CM_NULLABLE value, CMAttachmentMode attachmentMode) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -59,7 +59,7 @@
@param attachmentModeOut Returns the mode of the attachment, if desired. May be NULL.
@result If found the attachment object; else NULL.
*/
-CM_EXPORT CFTypeRef CM_NULLABLE CMGetAttachment(CMAttachmentBearerRef CM_NONNULL target, CFStringRef CM_NONNULL key, CMAttachmentMode * CM_NULLABLE attachmentModeOut) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT CFTypeRef CM_NULLABLE CMGetAttachment(CMAttachmentBearerRef CM_NONNULL target, CFStringRef CM_NONNULL key, CMAttachmentMode * CM_NULLABLE attachmentModeOut) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMRemoveAttachment
@@ -68,7 +68,7 @@
@param target Target CMAttachmentBearer.
@param key Key in form of a CFString identifying the desired attachment.
*/
-CM_EXPORT void CMRemoveAttachment(CMAttachmentBearerRef CM_NONNULL target, CFStringRef CM_NONNULL key) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT void CMRemoveAttachment(CMAttachmentBearerRef CM_NONNULL target, CFStringRef CM_NONNULL key) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMRemoveAllAttachments
@@ -76,7 +76,7 @@
@discussion While CMRemoveAttachment removes a specific attachment identified by a key CMRemoveAllAttachments removes all attachments of a buffer and decrements their retain counts. Given a CVBufferRef, CMRemoveAllAttachments is equivalent to CVBufferRemoveAllAttachments.
@param target Target CMAttachmentBearer.
*/
-CM_EXPORT void CMRemoveAllAttachments(CMAttachmentBearerRef CM_NONNULL target) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT void CMRemoveAllAttachments(CMAttachmentBearerRef CM_NONNULL target) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMCopyDictionaryOfAttachments
@@ -87,7 +87,7 @@
@result A CFDictionary with all buffer attachments identified by there keys. If no attachment is present, NULL is returned. Returns NULL
for invalid attachment mode.
*/
-CM_EXPORT CFDictionaryRef CM_NULLABLE CMCopyDictionaryOfAttachments(CFAllocatorRef CM_NULLABLE allocator, CMAttachmentBearerRef CM_NONNULL target, CMAttachmentMode attachmentMode) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT CFDictionaryRef CM_NULLABLE CMCopyDictionaryOfAttachments(CFAllocatorRef CM_NULLABLE allocator, CMAttachmentBearerRef CM_NONNULL target, CMAttachmentMode attachmentMode) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSetAttachments
@@ -95,7 +95,7 @@
@discussion CMSetAttachments is a convenience call that in turn calls CMSetAttachment for each key and value in the given dictionary. All key value pairs must be in the root level of the dictionary. Given a CVBufferRef, CMSetAttachments is equivalent to CVBufferSetAttachments.
@param target Target CMAttachmentBearer.
*/
-CM_EXPORT void CMSetAttachments(CMAttachmentBearerRef CM_NONNULL target, CFDictionaryRef CM_NONNULL theAttachments, CMAttachmentMode attachmentMode) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT void CMSetAttachments(CMAttachmentBearerRef CM_NONNULL target, CFDictionaryRef CM_NONNULL theAttachments, CMAttachmentMode attachmentMode) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMPropagateAttachments
@@ -105,7 +105,7 @@
@param source CMAttachmentBearer to copy attachments from.
@param destination CMAttachmentBearer to copy attachments to.
*/
-CM_EXPORT void CMPropagateAttachments(CMAttachmentBearerRef CM_NONNULL source, CMAttachmentBearerRef CM_NONNULL destination) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT void CMPropagateAttachments(CMAttachmentBearerRef CM_NONNULL source, CMAttachmentBearerRef CM_NONNULL destination) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h 2024-04-17 07:15:37
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioClock.h 2024-05-30 10:44:39
@@ -35,7 +35,7 @@
Points to a CMClockRef to receive the newly created clock.
The caller is responsible for calling CFRelease to release this clock.
*/
-CM_EXPORT OSStatus CMAudioClockCreate(CM_NULLABLE CFAllocatorRef allocator, CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE CMClockRef * CM_NONNULL clockOut) API_AVAILABLE(ios(6.0), tvos(9.0), watchos(6.0), macCatalyst(13.0)) API_UNAVAILABLE(macos);
+CM_EXPORT OSStatus CMAudioClockCreate(CM_NULLABLE CFAllocatorRef allocator, CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE CMClockRef * CM_NONNULL clockOut) API_AVAILABLE(ios(6.0), tvos(9.0), watchos(6.0), macCatalyst(13.0), visionos(1.0)) API_UNAVAILABLE(macos);
#pragma pack(pop)
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioDeviceClock.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioDeviceClock.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioDeviceClock.h 2024-04-17 07:15:38
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMAudioDeviceClock.h 2024-05-30 10:44:39
@@ -37,7 +37,7 @@
CFAllocatorRef CM_NULLABLE allocator,
CFStringRef CM_NULLABLE deviceUID,
CM_RETURNS_RETAINED_PARAMETER CMClockRef CM_NULLABLE * CM_NONNULL clockOut)
- API_AVAILABLE(macosx(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos);
+ API_AVAILABLE(macos(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/*!
@function CMAudioDeviceClockCreateFromAudioDeviceID
@@ -48,7 +48,7 @@
CFAllocatorRef CM_NULLABLE allocator,
AudioDeviceID deviceID,
CM_RETURNS_RETAINED_PARAMETER CMClockRef CM_NULLABLE * CM_NONNULL clockOut)
- API_AVAILABLE(macosx(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos);
+ API_AVAILABLE(macos(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
CF_IMPLICIT_BRIDGING_ENABLED
@@ -62,7 +62,7 @@
CMAudioDeviceClockSetAudioDeviceUID(
CMClockRef CM_NONNULL clock,
CFStringRef CM_NULLABLE deviceUID)
- API_AVAILABLE(macosx(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos);
+ API_AVAILABLE(macos(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/*!
@function CMAudioDeviceClockSetAudioDeviceUID
@@ -72,7 +72,7 @@
CMAudioDeviceClockSetAudioDeviceID(
CMClockRef CM_NONNULL clock,
AudioDeviceID deviceID)
- API_AVAILABLE(macosx(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos);
+ API_AVAILABLE(macos(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
/*!
@function CMAudioDeviceClockGetAudioDevice
@@ -90,7 +90,7 @@
CM_RETURNS_NOT_RETAINED_PARAMETER CFStringRef CM_NULLABLE * CM_NULLABLE deviceUIDOut, // may be NULL
AudioDeviceID * CM_NULLABLE deviceIDOut, // may be NULL
Boolean * CM_NULLABLE trackingDefaultDeviceOut) // may be NULL
- API_AVAILABLE(macosx(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos);
+ API_AVAILABLE(macos(10.8), macCatalyst(12.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h 2024-04-17 06:50:36
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBlockBuffer.h 2024-05-30 02:28:09
@@ -73,14 +73,14 @@
kCMBlockBufferEmptyBBufErr = -12706,
kCMBlockBufferUnallocatedBlockErr = -12707,
kCMBlockBufferInsufficientSpaceErr = -12708,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMBlockBufferFlags
@discussion
Type used for parameters containing CMBlockBuffer feature and control flags
*/
-typedef uint32_t CMBlockBufferFlags API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef uint32_t CMBlockBufferFlags API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMBlockBuffer Flags
@@ -104,7 +104,7 @@
kCMBlockBufferAlwaysCopyDataFlag = (1L<<1),
kCMBlockBufferDontOptimizeDepthFlag = (1L<<2),
kCMBlockBufferPermitEmptyReferenceFlag = (1L<<3)
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMBlockBufferRef
@@ -113,7 +113,7 @@
on the last reference to the CMBlockBuffer, any referenced BlockBuffers are released and eligible memory blocks are
deallocated. These operations are recursive, so one release could result in many follow on releses.
*/
-typedef struct CM_BRIDGED_TYPE(id) OpaqueCMBlockBuffer *CMBlockBufferRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_NONSENDABLE;
+typedef struct CM_BRIDGED_TYPE(id) OpaqueCMBlockBuffer *CMBlockBufferRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_NONSENDABLE;
/*!
@typedef CMBlockBufferCustomBlockSource
@@ -135,7 +135,7 @@
void* CM_NULLABLE (* CM_NULLABLE AllocateBlock)(void* CM_NULLABLE refcon, size_t sizeInBytes);
void (* CM_NULLABLE FreeBlock)(void* CM_NULLABLE refcon, void* CM_NONNULL doomedMemoryBlock, size_t sizeInBytes);
void* CM_NULLABLE refCon;
-} CMBlockBufferCustomBlockSource API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} CMBlockBufferCustomBlockSource API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : uint32_t
@@ -144,7 +144,7 @@
#endif
{
kCMBlockBufferCustomBlockSourceVersion = 0
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup CMBlockBuffer creation and assembly functions
@@ -175,7 +175,7 @@
uint32_t subBlockCapacity,
CMBlockBufferFlags flags,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferCreateWithMemoryBlock
@@ -220,7 +220,7 @@
size_t dataLength,
CMBlockBufferFlags flags,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferCreateWithBufferReference
@@ -248,7 +248,7 @@
size_t dataLength,
CMBlockBufferFlags flags,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferCreateContiguous
@@ -286,7 +286,7 @@
size_t dataLength,
CMBlockBufferFlags flags,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -297,7 +297,7 @@
@result Returns the CFTypeID corresponding to CMBlockBuffer.
*/
-CM_EXPORT CFTypeID CMBlockBufferGetTypeID(void) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+CM_EXPORT CFTypeID CMBlockBufferGetTypeID(void) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferAppendMemoryBlock
@@ -341,7 +341,7 @@
size_t offsetToData,
size_t dataLength,
CMBlockBufferFlags flags)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferAppendBufferReference
@@ -368,7 +368,7 @@
size_t offsetToData,
size_t dataLength,
CMBlockBufferFlags flags)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferAssureBlockMemory
@@ -382,7 +382,7 @@
@result Returns kCMBlockBufferNoErr if successful.
*/
CM_EXPORT OSStatus CMBlockBufferAssureBlockMemory(CMBlockBufferRef CM_NONNULL theBuffer)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup CMBlockBuffer access and query functions
@@ -413,7 +413,7 @@
size_t length,
void * CM_NONNULL temporaryBlock,
char * CM_NULLABLE * CM_NONNULL returnedPointerOut)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferCopyDataBytes
@@ -437,7 +437,7 @@
size_t offsetToData,
size_t dataLength,
void* CM_NONNULL destination)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferReplaceDataBytes
@@ -460,7 +460,7 @@
CMBlockBufferRef CM_NONNULL destinationBuffer,
size_t offsetIntoDestination,
size_t dataLength)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferFillDataBytes
@@ -484,7 +484,7 @@
CMBlockBufferRef CM_NONNULL destinationBuffer,
size_t offsetIntoDestination,
size_t dataLength)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferGetDataPointer
@@ -516,7 +516,7 @@
size_t * CM_NULLABLE lengthAtOffsetOut,
size_t * CM_NULLABLE totalLengthOut,
char * CM_NULLABLE * CM_NULLABLE dataPointerOut)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferGetDataLength
@@ -532,7 +532,7 @@
@result Returns the total data length available via this CMBlockBuffer, or zero if it is empty, NULL, or somehow invalid.
*/
CM_EXPORT size_t CMBlockBufferGetDataLength(CMBlockBufferRef CM_NONNULL theBuffer)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBlockBufferIsRangeContiguous
@@ -553,7 +553,7 @@
CMBlockBufferRef CM_NONNULL theBuffer,
size_t offset,
size_t length)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -568,7 +568,7 @@
@result Returns the result of the emptiness test. Will return false if the CMBlockBuffer is NULL.
*/
CM_EXPORT Boolean CMBlockBufferIsEmpty(CMBlockBufferRef CM_NONNULL theBuffer)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#pragma pack(pop)
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h 2024-04-17 07:06:45
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBufferQueue.h 2024-05-30 04:39:47
@@ -124,14 +124,14 @@
kCMBufferQueueError_InvalidTriggerCondition = -12767,
kCMBufferQueueError_InvalidTriggerToken = -12768,
kCMBufferQueueError_InvalidBuffer = -12769,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMBufferQueueRef
@abstract A reference to a CMBufferQueue, a CF object that implements a queue of timed buffers.
*/
-typedef struct CM_BRIDGED_TYPE(id) opaqueCMBufferQueue *CMBufferQueueRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_NONSENDABLE;
+typedef struct CM_BRIDGED_TYPE(id) opaqueCMBufferQueue *CMBufferQueueRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_NONSENDABLE;
/*!
@typedef CMBufferRef
@@ -139,7 +139,7 @@
@discussion A CMBuffer can be any CFTypeRef, as long as a getDuration callback can be provided. Commonly used
types are CMSampleBufferRef and CVPixelBufferRef.
*/
-typedef CM_BRIDGED_TYPE(id) CFTypeRef CMBufferRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_NONSENDABLE;
+typedef CM_BRIDGED_TYPE(id) CFTypeRef CMBufferRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_NONSENDABLE;
/*!
@typedef CMBufferGetTimeCallback
@@ -150,7 +150,7 @@
typedef CMTime (*CMBufferGetTimeCallback)(
CMBufferRef CM_NONNULL buf, /*! @param buf Buffer being interrogated. */
void * CM_NULLABLE refcon) /*! @param refcon Client refcon. Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -161,7 +161,7 @@
*/
typedef CMTime (^CMBufferGetTimeHandler)(
CMBufferRef CM_NONNULL buf) /*! @param buf Buffer being interrogated. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -172,7 +172,7 @@
typedef Boolean (*CMBufferGetBooleanCallback)(
CMBufferRef CM_NONNULL buf, /*! @param buf Buffer being interrogated. */
void * CM_NULLABLE refcon) /*! @param refcon Client refcon. Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -182,7 +182,7 @@
*/
typedef Boolean (^CMBufferGetBooleanHandler)(
CMBufferRef CM_NONNULL buf) /*! @param buf Buffer being interrogated. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -194,7 +194,7 @@
CMBufferRef CM_NONNULL buf1, /*! @param buf Buffer being compared. */
CMBufferRef CM_NONNULL buf2, /*! @param buf Other buffer being compared. */
void * CM_NULLABLE refcon) /*! @param refcon Client refcon. Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -204,7 +204,7 @@
typedef CFComparisonResult (^CMBufferCompareHandler)(
CMBufferRef CM_NONNULL buf1, /*! @param buf Buffer being compared. */
CMBufferRef CM_NONNULL buf2) /*! @param buf Other buffer being compared. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -215,7 +215,7 @@
typedef size_t (*CMBufferGetSizeCallback)(
CMBufferRef CM_NONNULL buf, /*! @param buf Buffer being interrogated. */
void * CM_NULLABLE refcon) /*! @param refcon Client refcon. Can be NULL. */
- API_AVAILABLE(macos(10.10), ios(7.1), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(7.1), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -225,7 +225,7 @@
*/
typedef size_t (^CMBufferGetSizeHandler)(
CMBufferRef CM_NONNULL buf) /*! @param buf Buffer being interrogated. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -265,7 +265,7 @@
Can be NULL (then the queue won't listen for it). */
CMBufferGetSizeCallback CM_NULLABLE getSize; /*!< This callback is called (once) during enqueue and dequeue operation to
update the total size of the queue. Can be NULL. Ignored if version < 1. */
-} CMBufferCallbacks API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_NONSENDABLE;
+} CMBufferCallbacks API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_NONSENDABLE;
#if __BLOCKS__
#pragma pack(push)
@@ -297,7 +297,7 @@
Can be NULL (then the queue won't listen for it). */
CMBufferGetSizeHandler CM_NULLABLE getSize; /*!< This block is called (once) during enqueue and dequeue operation to
update the total size of the queue. Can be NULL. */
-} CMBufferHandlers API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+} CMBufferHandlers API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#pragma pack(pop)
#endif // __BLOCKS__
@@ -306,14 +306,14 @@
@abstract Returns a pointer to a callback struct for unsorted CMSampleBuffers, provided as a convenience.
*/
CM_EXPORT const CMBufferCallbacks * CM_NONNULL CMBufferQueueGetCallbacksForUnsortedSampleBuffers(void)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetCallbacksForOutputPTSSortedSampleBuffers
@abstract Returns a pointer to a callback struct for CMSampleBuffers sorted by output presentation timestamp, provided as a convenience.
*/
CM_EXPORT const CMBufferCallbacks * CM_NONNULL CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS(void)
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
@@ -335,7 +335,7 @@
to a temporary struct on the stack. */
CM_RETURNS_RETAINED_PARAMETER CMBufferQueueRef CM_NULLABLE * CM_NONNULL queueOut) /*! @param queueOut
Returned newly created CMBufferQueue. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -356,7 +356,7 @@
to a temporary struct on the stack. */
CM_RETURNS_RETAINED_PARAMETER CMBufferQueueRef CM_NULLABLE * CM_NONNULL queueOut) /*! @param queueOut
Returned newly created CMBufferQueue. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
CF_IMPLICIT_BRIDGING_ENABLED
@@ -368,7 +368,7 @@
@result CFTypeID of CMBufferQueue objects.
*/
CM_EXPORT CFTypeID CMBufferQueueGetTypeID(void)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueEnqueue
@@ -383,7 +383,7 @@
The CMBufferQueue on which to enqueue the buffer. */
CMBufferRef CM_NONNULL buf) /*! @param buf
The buffer to enqueue. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueDequeueAndRetain
@@ -396,7 +396,7 @@
CM_EXPORT CMBufferRef CM_RETURNS_RETAINED CM_NULLABLE CMBufferQueueDequeueAndRetain(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue from which to dequeue a buffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueDequeueIfDataReadyAndRetain
@@ -409,7 +409,7 @@
CM_EXPORT CMBufferRef CM_RETURNS_RETAINED CM_NULLABLE CMBufferQueueDequeueIfDataReadyAndRetain(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue from which to dequeue a buffer (if the buffer is ready). */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetHead
@@ -425,7 +425,7 @@
CM_EXPORT CMBufferRef CM_NULLABLE CMBufferQueueGetHead(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue from which to retrieve a buffer. */
- API_DEPRECATED_WITH_REPLACEMENT("CMBufferQueueCopyHead", macos(10.7, API_TO_BE_DEPRECATED), ios(4.0, API_TO_BE_DEPRECATED), tvos(9.0, API_TO_BE_DEPRECATED), watchos(6.0, API_TO_BE_DEPRECATED));
+ API_DEPRECATED_WITH_REPLACEMENT("CMBufferQueueCopyHead", macos(10.7, 15.0), ios(4.0, 18.0), tvos(9.0, 18.0), watchos(6.0, 11.0), visionos(1.0, 2.0));
/*!
@function CMBufferQueueCopyHead
@@ -438,7 +438,7 @@
CM_EXPORT CM_RETURNS_RETAINED CMBufferRef CM_NULLABLE CMBufferQueueCopyHead(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue from which to retrieve a buffer. */
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMBufferQueueIsEmpty
@@ -448,7 +448,7 @@
CM_EXPORT Boolean CMBufferQueueIsEmpty(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueMarkEndOfData
@@ -459,7 +459,7 @@
CM_EXPORT OSStatus CMBufferQueueMarkEndOfData(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue being marked. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueContainsEndOfData
@@ -471,7 +471,7 @@
CM_EXPORT Boolean CMBufferQueueContainsEndOfData(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueIsAtEndOfData
@@ -483,7 +483,7 @@
CM_EXPORT Boolean CMBufferQueueIsAtEndOfData(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueReset
@@ -494,7 +494,7 @@
CM_EXPORT OSStatus CMBufferQueueReset(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
The CMBufferQueue being reset. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueResetWithCallback
@@ -510,7 +510,7 @@
The callback should not make other calls to the buffer queue. */
void * CM_NULLABLE refcon ) /*! @param refcon
Refcon to be passed to the callback function. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetBufferCount
@@ -519,7 +519,7 @@
CM_EXPORT CMItemCount CMBufferQueueGetBufferCount(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetDuration
@@ -532,7 +532,7 @@
CM_EXPORT CMTime CMBufferQueueGetDuration(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetMinDecodeTimeStamp
@@ -545,7 +545,7 @@
CM_EXPORT CMTime CMBufferQueueGetMinDecodeTimeStamp(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetFirstDecodeTimeStamp
@@ -558,7 +558,7 @@
CM_EXPORT CMTime CMBufferQueueGetFirstDecodeTimeStamp(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetMinPresentationTimeStamp
@@ -572,7 +572,7 @@
CM_EXPORT CMTime CMBufferQueueGetMinPresentationTimeStamp(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetFirstPresentationTimeStamp
@@ -585,7 +585,7 @@
CM_EXPORT CMTime CMBufferQueueGetFirstPresentationTimeStamp(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -597,7 +597,7 @@
CM_EXPORT CMTime CMBufferQueueGetMaxPresentationTimeStamp(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueGetEndPresentationTimeStamp
@@ -609,7 +609,7 @@
CM_EXPORT CMTime CMBufferQueueGetEndPresentationTimeStamp(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -623,7 +623,7 @@
CM_EXPORT size_t CMBufferQueueGetTotalSize(
CMBufferQueueRef CM_NONNULL queue) /*! @param queue
CMBufferQueue being interrogated. */
- API_AVAILABLE(macos(10.10), ios(7.1), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(7.1), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMBufferQueueTriggerToken
@@ -649,7 +649,7 @@
when the queue is finalized since other modules may retain it. To address this concern, modules
should remove their triggers before they themselves are finalized.
*/
-typedef struct opaqueCMBufferQueueTriggerToken *CMBufferQueueTriggerToken API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef struct opaqueCMBufferQueueTriggerToken *CMBufferQueueTriggerToken API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMBufferQueueTriggerCallback
@@ -658,11 +658,11 @@
typedef void (*CMBufferQueueTriggerCallback)(
void * CM_NULLABLE triggerRefcon, /*! @param triggerRefcon Refcon for trigger callback. */
CMBufferQueueTriggerToken CM_NONNULL triggerToken ) /*! @param triggerToken Trigger whose condition became true. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
typedef void (^CMBufferQueueTriggerHandler)(
CMBufferQueueTriggerToken CM_NONNULL triggerToken ) /*! @param triggerToken Trigger whose condition became true. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@enum CMBufferQueueTriggerCondition
@@ -680,7 +680,7 @@
@constant kCMBufferQueueTrigger_WhenBufferCountBecomesGreaterThan Trigger fires when buffer count becomes > the specified threshold number.
@constant kCMBufferQueueTrigger_WhenDurationBecomesGreaterThanOrEqualToAndBufferCountBecomesGreaterThan Trigger fires when queue duration becomes >= the specified duration and buffer count becomes > the specified threshold number.
*/
-typedef int32_t CMBufferQueueTriggerCondition API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef int32_t CMBufferQueueTriggerCondition API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMBufferQueueTriggerCondition
#else
@@ -699,7 +699,7 @@
kCMBufferQueueTrigger_WhenBufferCountBecomesLessThan = 10,
kCMBufferQueueTrigger_WhenBufferCountBecomesGreaterThan = 11,
kCMBufferQueueTrigger_WhenDurationBecomesGreaterThanOrEqualToAndBufferCountBecomesGreaterThan = 12,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueInstallTrigger
@@ -736,7 +736,7 @@
Can be NULL, if client has no need to explicitly test
or remove the trigger. Cannot be NULL if triggerCallback
is NULL, since then the trigger would be meaningless. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueInstallTriggerWithIntegerThreshold
@@ -766,7 +766,7 @@
Can be NULL, if client has no need to explicitly test
or remove the trigger. Cannot be NULL if triggerCallback
is NULL, since then the trigger would be meaningless. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/**
@@ -800,7 +800,7 @@
Can be NULL, if client intends only to explicitly test the
condition. Cannot be NULL if triggerTokenOut is NULL,
since then the trigger would be meaningless. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueInstallTriggerHandlerWithIntegerThreshold
@@ -826,7 +826,7 @@
Can be NULL, if client intends only to explicitly test the
condition. Cannot be NULL if triggerTokenOut is NULL,
since then the trigger would be meaningless. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -842,7 +842,7 @@
CMBufferQueue from which the trigger is to be removed. */
CMBufferQueueTriggerToken CM_NONNULL triggerToken ) /*! @param triggerToken
Trigger to remove from the queue. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueTestTrigger
@@ -856,7 +856,7 @@
CMBufferQueue on which the trigger is to be tested. */
CMBufferQueueTriggerToken CM_NONNULL triggerToken ) /*! @param triggerToken
Trigger to test. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMBufferQueueCallForEachBuffer
@@ -876,7 +876,7 @@
The callback should not make other calls to the buffer queue. */
void * CM_NULLABLE refcon ) /*! @param refcon
Refcon to be passed to the callback function. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMBufferValidationCallback
@@ -888,7 +888,7 @@
CMBufferQueueEnqueue will return this error to the caller.
If you do not have a more descriptive error code, use kCMBufferQueueError_InvalidBuffer.
*/
-typedef OSStatus (*CMBufferValidationCallback)(CMBufferQueueRef CM_NONNULL queue, CMBufferRef CM_NONNULL buf, void * CM_NULLABLE validationRefCon ) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef OSStatus (*CMBufferValidationCallback)(CMBufferQueueRef CM_NONNULL queue, CMBufferRef CM_NONNULL buf, void * CM_NULLABLE validationRefCon ) API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -901,7 +901,7 @@
CMBufferQueueEnqueue will return this error to the caller.
If you do not have a more descriptive error code, use kCMBufferQueueError_InvalidBuffer.
*/
-typedef OSStatus (^CMBufferValidationHandler)(CMBufferQueueRef CM_NONNULL queue, CMBufferRef CM_NONNULL buf) API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+typedef OSStatus (^CMBufferValidationHandler)(CMBufferQueueRef CM_NONNULL queue, CMBufferRef CM_NONNULL buf) API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -915,7 +915,7 @@
Callback that will validate each buffer enqueued. */
void * CM_NULLABLE refcon ) /*! @param refcon
Context refcon for validation callback. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -931,7 +931,7 @@
CMBufferQueue that will use the validation callback. */
CMBufferValidationHandler CM_NONNULL handler) /*! @param handler
Handler that will validate each buffer enqueued. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h 2024-04-17 06:44:32
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h 2024-05-30 10:44:39
@@ -52,13 +52,13 @@
kCMFormatDescriptionError_InvalidParameter = -12710,
kCMFormatDescriptionError_AllocationFailed = -12711,
kCMFormatDescriptionError_ValueNotAvailable = -12718,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMFormatDescriptionRef
@abstract A reference to a CMFormatDescription, a CF object describing media of a particular type (audio, video, muxed, etc).
*/
-typedef const struct CM_BRIDGED_TYPE(id) opaqueCMFormatDescription *CMFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef const struct CM_BRIDGED_TYPE(id) opaqueCMFormatDescription *CMFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMMediaType
@@ -73,7 +73,7 @@
@constant kCMMediaType_Metadata Metadata media
@constant kCMMediaType_TaggedBufferGroup media
*/
-typedef FourCharCode CMMediaType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMMediaType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMMediaType
#else
@@ -89,7 +89,7 @@
kCMMediaType_TimeCode = 'tmcd',
kCMMediaType_Metadata = 'meta',
kCMMediaType_TaggedBufferGroup = 'tbgr',
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup Media-type-agnostic functions
@@ -118,7 +118,7 @@
Dictionary of extensions to be attached to the CMFormatDescription. May be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut
Receives the newly-created CMFormatDescription. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -130,7 +130,7 @@
*/
CM_EXPORT
CFTypeID CMFormatDescriptionGetTypeID(void)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMFormatDescriptionEqual
@@ -144,7 +144,7 @@
The first formatDescription. */
CMFormatDescriptionRef CM_NULLABLE otherFormatDescription) /*! @param otherFormatDescription
The second formatDescription. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMFormatDescriptionEqualIgnoringExtensionKeys
@@ -168,7 +168,7 @@
CMFormatDescriptionRef CM_NULLABLE otherFormatDescription,
CFTypeRef CM_NULLABLE formatDescriptionExtensionKeysToIgnore,
CFTypeRef CM_NULLABLE sampleDescriptionExtensionAtomKeysToIgnore )
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMFormatDescriptionGetMediaType
@@ -179,7 +179,7 @@
CM_EXPORT
CMMediaType CMFormatDescriptionGetMediaType(
CMFormatDescriptionRef CM_NONNULL desc) /*! @param desc CMFormatDescription being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMFormatDescriptionGetMediaSubType
@@ -198,7 +198,7 @@
CM_EXPORT
FourCharCode CMFormatDescriptionGetMediaSubType(
CMFormatDescriptionRef CM_NONNULL desc) /*! @param desc CMFormatDescription being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMFormatDescriptionGetExtensions
@@ -213,7 +213,7 @@
CM_EXPORT
CFDictionaryRef CM_NULLABLE CMFormatDescriptionGetExtensions(
CMFormatDescriptionRef CM_NONNULL desc) /*! @param desc CMFormatDescription being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
@@ -226,7 +226,7 @@
CFDictionary, CFDate, or CFData.
*/
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_OriginalCompressionSettings // CFDictionary
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@define kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms
@@ -238,7 +238,7 @@
specific type) to CFArrays of CFData containing those payloads.
*/
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms // CFDictionary of CFString (four-char-code, atom type) -> ( CFData (atom payload) or CFArray of CFData (atom payload) )
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@define kCMFormatDescriptionExtension_VerbatimSampleDescription
@@ -250,7 +250,7 @@
delete this extension from the clone, or your modifications could be lost.
*/
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_VerbatimSampleDescription // CFData
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@define kCMFormatDescriptionExtension_VerbatimISOSampleEntry
@@ -262,7 +262,7 @@
delete this extension from the clone, or your modifications could be lost.
*/
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_VerbatimISOSampleEntry // CFData
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -281,7 +281,7 @@
CFPropertyListRef CM_NULLABLE CMFormatDescriptionGetExtension(
CMFormatDescriptionRef CM_NONNULL desc, /*! @param desc CMFormatDescription being interrogated */
CFStringRef CM_NONNULL extensionKey) /*! @param extensionID Key of extension to be returned. Cannot be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#pragma mark CMAudioFormatDescription
@@ -296,7 +296,7 @@
@constant kCMAudioCodecType_AAC_LCProtected iTMS protected low-complexity AAC.
@constant kCMAudioCodecType_AAC_AudibleProtected Audible's protected AAC.
*/
-typedef FourCharCode CMAudioCodecType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMAudioCodecType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMAudioCodecType
#else
@@ -305,13 +305,13 @@
{
kCMAudioCodecType_AAC_LCProtected = 'paac',
kCMAudioCodecType_AAC_AudibleProtected = 'aaac'
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMAudioFormatDescriptionRef
SYnonym type used for manipulating audio CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMAudioFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMAudioFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
CF_IMPLICIT_BRIDGING_DISABLED
@@ -336,7 +336,7 @@
Values are always property list objects (ie. CFData, CFString, CFArray, CFDictionary,
CFDate, CFBoolean, or CFNumber). Can be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMAudioFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created audio CMFormatDescription */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -350,7 +350,7 @@
CM_EXPORT
const AudioStreamBasicDescription * CM_NULLABLE CMAudioFormatDescriptionGetStreamBasicDescription(
CMAudioFormatDescriptionRef CM_NONNULL desc) /*! @param desc CMFormatDescription being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionGetMagicCookie
@@ -366,7 +366,7 @@
const void * CM_NULLABLE CMAudioFormatDescriptionGetMagicCookie(
CMAudioFormatDescriptionRef CM_NONNULL desc, /*! @param desc CMFormatDescription being interrogated. */
size_t * CM_NULLABLE sizeOut) /*! @param sizeOut Pointer to variable that will be written with the size of the cookie. Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionGetChannelLayout
@@ -383,7 +383,7 @@
CMAudioFormatDescriptionRef CM_NONNULL desc, /*! @param desc CMFormatDescription being interrogated. */
size_t * CM_NULLABLE sizeOut) /*! @param sizeOut Pointer to variable that will be written with the size of the layout.
Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionGetFormatList
@@ -400,7 +400,7 @@
CMAudioFormatDescriptionRef CM_NONNULL desc, /*! @param desc CMFormatDescription being interrogated. */
size_t * CM_NULLABLE sizeOut) /*! @param sizeOut Pointer to variable that will be written with the size of the formatList.
Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionGetRichestDecodableFormat
@@ -415,7 +415,7 @@
CM_EXPORT
const AudioFormatListItem * CM_NULLABLE CMAudioFormatDescriptionGetRichestDecodableFormat(
CMAudioFormatDescriptionRef CM_NONNULL desc) /*! @param desc CMFormatDescription being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -429,7 +429,7 @@
CM_EXPORT
const AudioFormatListItem * CM_NULLABLE CMAudioFormatDescriptionGetMostCompatibleFormat(
CMAudioFormatDescriptionRef CM_NONNULL desc) /*! @param desc CMFormatDescription being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
@@ -446,7 +446,7 @@
CFArrayRef CM_NONNULL formatDescriptionArray, // CFArray[CMAudioFormatDescription]
uint32_t flags, // pass 0
CM_RETURNS_RETAINED_PARAMETER CMAudioFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -460,7 +460,7 @@
@constant CMAudioFormatDescriptionMask_Extensions Represents the format description extensions.
@constant CMAudioFormatDescriptionMask_All Represents all the parts of an audio format description.
*/
-typedef uint32_t CMAudioFormatDescriptionMask API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef uint32_t CMAudioFormatDescriptionMask API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMAudioFormatDescriptionMask
#else
@@ -475,7 +475,7 @@
| kCMAudioFormatDescriptionMask_MagicCookie
| kCMAudioFormatDescriptionMask_ChannelLayout
| kCMAudioFormatDescriptionMask_Extensions
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionEqual
@@ -505,7 +505,7 @@
CMAudioFormatDescriptionMask * CM_NULLABLE equalityMaskOut) /*! @param equalityMaskOut Pointer to variable that will be written with the results by part.
Bits not set in equalityMask will not be set in equalityMaskOut.
Can be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#pragma mark CMVideoFormatDescription
@@ -517,7 +517,7 @@
@typedef CMVideoFormatDescriptionRef
Synonym type used for manipulating video CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMVideoFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMPixelFormatType
@@ -540,7 +540,7 @@
@constant kCMPixelFormat_444YpCbCr10 Component Y'CbCr 10-bit 4:4:4
@constant kCMPixelFormat_8IndexedGray_WhiteIsZero 8 bit indexed gray, white is zero
*/
-typedef FourCharCode CMPixelFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMPixelFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMPixelFormatType
#else
@@ -563,7 +563,7 @@
kCMPixelFormat_422YpCbCr10 = 'v210',
kCMPixelFormat_444YpCbCr10 = 'v410',
kCMPixelFormat_8IndexedGray_WhiteIsZero = 0x00000028,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMVideoCodecType
@@ -609,7 +609,7 @@
@constant kCMVideoCodecType_DepthHEVC Encodes kCVPixelFormatType_DepthFloat16 using 10-bit monochrome HEVC
@constant kCMVideoCodecType_AV1 AV1 video format
*/
-typedef FourCharCode CMVideoCodecType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMVideoCodecType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMVideoCodecType
#else
@@ -659,7 +659,7 @@
kCMVideoCodecType_DepthHEVC = 'deph', // encodes kCVPixelFormatType_DepthFloat16 in 10-bit monochrome HEVC
kCMVideoCodecType_AV1 = 'av01',
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMVideoDimensions
@@ -668,21 +668,21 @@
typedef struct {
int32_t width;
int32_t height;
-} CMVideoDimensions API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} CMVideoDimensions API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_FormatName // CFString
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_Depth // CFNumber with depth value as directed by http://developer.apple.com/qa/qa2001/qa1183.html
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Many of the following extension keys and values are the same as the corresponding CVImageBuffer attachment keys and values
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_CleanAperture API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureWidth API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureHeight API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureHorizontalOffset API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureVerticalOffset API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_CleanAperture API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureWidth API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureHeight API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureHorizontalOffset API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureVerticalOffset API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_CleanAperture kCVImageBufferCleanApertureKey // CFDictionary containing the following four keys
#define kCMFormatDescriptionKey_CleanApertureWidth kCVImageBufferCleanApertureWidthKey // CFNumber
#define kCMFormatDescriptionKey_CleanApertureHeight kCVImageBufferCleanApertureHeightKey // CFNumber
@@ -692,106 +692,106 @@
// These additional keys are used to record the precise numerator and denominator in cases where the number is not an integer.
// NOTE: Some modules only read the float-valued keys, so if you set any of the ...Rational keys, you should also set the corresponding floating-point keys.
CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureWidthRational // CFArray of 2 CFNumbers: numerator, denominator
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureHeightRational // CFArray of 2 CFNumbers: numerator, denominator
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureHorizontalOffsetRational // CFArray of 2 CFNumbers: numerator, denominator
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionKey_CleanApertureVerticalOffsetRational // CFArray of 2 CFNumbers: numerator, denominator
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_FieldCount API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_FieldCount API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_FieldCount kCVImageBufferFieldCountKey // CFNumber, 1 or 2
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_FieldDetail API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_TemporalTopFirst API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_TemporalBottomFirst API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_SpatialFirstLineEarly API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_SpatialFirstLineLate API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_FieldDetail API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_TemporalTopFirst API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_TemporalBottomFirst API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_SpatialFirstLineEarly API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionFieldDetail_SpatialFirstLineLate API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_FieldDetail kCVImageBufferFieldDetailKey // CFString with one of the following four values
#define kCMFormatDescriptionFieldDetail_TemporalTopFirst kCVImageBufferFieldDetailTemporalTopFirst
#define kCMFormatDescriptionFieldDetail_TemporalBottomFirst kCVImageBufferFieldDetailTemporalBottomFirst
#define kCMFormatDescriptionFieldDetail_SpatialFirstLineEarly kCVImageBufferFieldDetailSpatialFirstLineEarly
#define kCMFormatDescriptionFieldDetail_SpatialFirstLineLate kCVImageBufferFieldDetailSpatialFirstLineLate
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_PixelAspectRatio API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionKey_PixelAspectRatioHorizontalSpacing API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionKey_PixelAspectRatioVerticalSpacing API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_PixelAspectRatio API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionKey_PixelAspectRatioHorizontalSpacing API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionKey_PixelAspectRatioVerticalSpacing API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_PixelAspectRatio kCVImageBufferPixelAspectRatioKey // CFDictionary with the following two keys
#define kCMFormatDescriptionKey_PixelAspectRatioHorizontalSpacing kCVImageBufferPixelAspectRatioHorizontalSpacingKey // CFNumber
#define kCMFormatDescriptionKey_PixelAspectRatioVerticalSpacing kCVImageBufferPixelAspectRatioVerticalSpacingKey // CFNumber
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ColorPrimaries API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_ITU_R_709_2 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_EBU_3213 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_SMPTE_C API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ColorPrimaries API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_ITU_R_709_2 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_EBU_3213 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_SMPTE_C API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_ColorPrimaries kCVImageBufferColorPrimariesKey // CFString describing the color primaries. This key can be one of the following values:
#define kCMFormatDescriptionColorPrimaries_ITU_R_709_2 kCVImageBufferColorPrimaries_ITU_R_709_2 // CFString
#define kCMFormatDescriptionColorPrimaries_EBU_3213 kCVImageBufferColorPrimaries_EBU_3213 // CFString
#define kCMFormatDescriptionColorPrimaries_SMPTE_C kCVImageBufferColorPrimaries_SMPTE_C // CFString
CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_DCI_P3 // same as kCVImageBufferColorPrimaries_DCI_P3
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_P3_D65 // same as kCVImageBufferColorPrimaries_P3_D65
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_ITU_R_2020 // same as kCVImageBufferColorPrimaries_ITU_R_2020
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionColorPrimaries_P22 // same as kCVImageBufferColorPrimaries_P22
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_TransferFunction API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_709_2 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_240M_1995 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_UseGamma API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_TransferFunction API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_709_2 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_240M_1995 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_UseGamma API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_TransferFunction kCVImageBufferTransferFunctionKey // CFString describing the transfer function. This key can be one of the following values:
#define kCMFormatDescriptionTransferFunction_ITU_R_709_2 kCVImageBufferTransferFunction_ITU_R_709_2 // CFString
#define kCMFormatDescriptionTransferFunction_SMPTE_240M_1995 kCVImageBufferTransferFunction_SMPTE_240M_1995 // CFString
#define kCMFormatDescriptionTransferFunction_UseGamma kCVImageBufferTransferFunction_UseGamma // CFString
CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2020 // same as kCVImageBufferTransferFunction_ITU_R_2020. note: semantically equivalent to kCMFormatDescriptionTransferFunction_ITU_R_709_2, which is preferred.
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_428_1 // same as kCVImageBufferTransferFunction_SMPTE_ST_428_1
- API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(6.0));
+ API_AVAILABLE(macos(10.12), ios(10.0), tvos(10.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ // same as kCVImageBufferTransferFunction_SMPTE_ST_2084_PQ
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG // same as kCVImageBufferTransferFunction_ITU_R_2100_HLG
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_Linear // same as kCVImageBufferTransferFunction_Linear
- API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(6.0));
+ API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionTransferFunction_sRGB // same as kCVImageBufferTransferFunction_sRGB
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_GammaLevel API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_GammaLevel API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_GammaLevel kCVImageBufferGammaLevelKey // CFNumber describing the gamma level, used in absence of (or ignorance of) kCMFormatDescriptionExtension_TransferFunction
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_YCbCrMatrix API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_SMPTE_240M_1995 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_YCbCrMatrix API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_709_2 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_601_4 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_SMPTE_240M_1995 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_YCbCrMatrix kCVImageBufferYCbCrMatrixKey // CFString describing the color matrix for YCbCr->RGB. This key can be one of the following values:
#define kCMFormatDescriptionYCbCrMatrix_ITU_R_709_2 kCVImageBufferYCbCrMatrix_ITU_R_709_2 // CFString
#define kCMFormatDescriptionYCbCrMatrix_ITU_R_601_4 kCVImageBufferYCbCrMatrix_ITU_R_601_4 // CFString
#define kCMFormatDescriptionYCbCrMatrix_SMPTE_240M_1995 kCVImageBufferYCbCrMatrix_SMPTE_240M_1995 // CFString
CM_EXPORT const CFStringRef kCMFormatDescriptionYCbCrMatrix_ITU_R_2020 // same as kCVImageBufferYCbCrMatrix_ITU_R_2020
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_FullRangeVideo // CFBoolean; by default, false for YCbCr-based compressed formats, indicating that pixel values are video-range rather than full-range
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ICCProfile // CFData
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_BytesPerRow // CFNumber describing the bytes per row of raster pixel data (not used for compressed, planar, tiled or downsampled formats)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/* Chroma siting information. For progressive images, only the TopField value is used. */
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ChromaLocationTopField API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ChromaLocationBottomField API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Left API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Center API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_TopLeft API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Top API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_BottomLeft API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Bottom API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_DV420 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ChromaLocationTopField API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ChromaLocationBottomField API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Left API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Center API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_TopLeft API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Top API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_BottomLeft API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_Bottom API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionChromaLocation_DV420 API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_ChromaLocationTopField kCVImageBufferChromaLocationTopFieldKey // CFString with one of the following CFString values
#define kCMFormatDescriptionExtension_ChromaLocationBottomField kCVImageBufferChromaLocationBottomFieldKey // CFString with one of the following CFString values
#define kCMFormatDescriptionChromaLocation_Left kCVImageBufferChromaLocation_Left // Chroma sample is horizontally co-sited with the left column of luma samples, but centered vertically.
@@ -804,8 +804,8 @@
/* MPEG-2-conformant formats */
CM_EXPORT const CFStringRef kCMFormatDescriptionConformsToMPEG2VideoProfile // CFNumber specifying a kCMMPEG2VideoProfile_*
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ProtectedContentOriginalFormat API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), watchos(7.0)); // CNNumberRef as FourCharCode
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ProtectedContentOriginalFormat API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0), watchos(7.0), visionos(1.0)); // CNNumberRef as FourCharCode
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : int32_t
@@ -851,53 +851,53 @@
kCMMPEG2VideoProfile_XDCAM_HD422_720p25_CBR50 = 'xd55',
kCMMPEG2VideoProfile_XDCAM_HD422_720p30_CBR50 = 'xd51',
kCMMPEG2VideoProfile_XF = 'xfz1',
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_TemporalQuality // CFNumber
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_SpatialQuality // CFNumber
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_VerbatimImageDescription API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_VerbatimImageDescription API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMFormatDescriptionExtension_VerbatimImageDescription kCMFormatDescriptionExtension_VerbatimSampleDescription
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_Version // CFNumber
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_RevisionLevel // CFNumber
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_Vendor // CFString of fourCC
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionVendor_Apple
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_MasteringDisplayColorVolume // CFData(24 bytes); big-endian structure; same as kCVImageBufferMasteringDisplayColorVolumeKey; matches payload of ISO/IEC 23008-2:2015(E), D.2.28 Mastering display colour volume SEI message
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ContentLightLevelInfo // CFData(4 bytes); big-endian structure; same as kCVImageBufferContentLightLevelInfoKey
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ContentColorVolume // CFData; big-endian structure; same as kCVImageBufferContentColorVolumeKey (to be added); matches payload of ITU-T-H.265:11/2019, D.2.40 Content Colour Volume SEI message
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_AlternativeTransferCharacteristics // CFString (usually kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG when used); corresponds to D.2.38 Alternative Transfer Characteristics SEI message
- API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(6.0));
+ API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_AuxiliaryTypeInfo
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0)); // CFString (Auxiliary type URN)
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0)); // CFString (Auxiliary type URN)
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_AlphaChannelMode // one of:
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionAlphaChannelMode_StraightAlpha
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionAlphaChannelMode_PremultipliedAlpha
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ContainsAlphaChannel // CFBoolean; used to signal the presence of alpha channel in the bitstream.
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_BitsPerComponent // CFNumber (such as 8, 10, 12, 16, etc). Bit-depth per component -- if there are components with different bit depths this should be the deepest. Do not rely on this extension always being present, as it often isn't.
- API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+ API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HorizontalFieldOfView // CFNumber; horizontal field of view in thousandths of a degree (i.e., 123456 is 123.456 degrees).
- API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+ API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0));
/*!
@constant kCMFormatDescriptionExtension_LogTransferFunction
@@ -925,9 +925,9 @@
@discussion
The value is a CFString holding one of the kCMFormatDescriptionHeroEye_* constants.
*/
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HeroEye API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos); // CFString, one of
-CM_EXPORT const CFStringRef kCMFormatDescriptionHeroEye_Left API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos);
-CM_EXPORT const CFStringRef kCMFormatDescriptionHeroEye_Right API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos);
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HeroEye API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFString, one of
+CM_EXPORT const CFStringRef kCMFormatDescriptionHeroEye_Left API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
+CM_EXPORT const CFStringRef kCMFormatDescriptionHeroEye_Right API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos);
/*!
@constant kCMFormatDescriptionExtension_StereoCameraBaseline
@@ -937,7 +937,7 @@
The value is a CFNumber holding an unsigned 32-bit integer that is interpreted in micrometers or thousandths of a millimeter (e.g., 63123 is 63.123 millimeters).
This property is optional and should only be specified if the distance is known.
*/
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_StereoCameraBaseline API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos); // CFNumber(uint32) as micrometers
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_StereoCameraBaseline API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFNumber(uint32) as micrometers
/*!
@constant kCMFormatDescriptionExtension_HorizontalDisparityAdjustment
@@ -948,7 +948,7 @@
The default value of 0 is interpreted if this property is not set. If the property is not set, NULL may be set and retrieved. The NULL value should be interpreted as meaning 0.
This property is optional and should only be specified if a disparity adjustment including 0 is known.
*/
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HorizontalDisparityAdjustment API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos); // CFNumber(int32) from -10000 to 10000 for the uniform range [-1.0...1.0]
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HorizontalDisparityAdjustment API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFNumber(int32) from -10000 to 10000 for the uniform range [-1.0...1.0]
/*!
@constant kCMFormatDescriptionExtension_HasLeftStereoEyeView
@@ -957,7 +957,7 @@
@discussion
The value is a CFBoolean holding presence of left eye view in the stream.
*/
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HasLeftStereoEyeView API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HasLeftStereoEyeView API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean
/*!
@constant kCMFormatDescriptionExtension_HasRightStereoEyeView
@@ -966,7 +966,7 @@
@discussion
The value is a CFBoolean holding presence of right eye view in the stream.
*/
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HasRightStereoEyeView API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HasRightStereoEyeView API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean
/*!
@constant kCMFormatDescriptionExtension_HasAdditionalViews
@@ -975,8 +975,34 @@
@discussion
The value is a CFBoolean holding presence of additional eye views in the stream.
*/
-CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HasAdditionalViews API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_HasAdditionalViews API_AVAILABLE(macos(14.0), ios(17.0), visionos(1.0)) API_UNAVAILABLE(tvos, watchos); // CFBoolean
+/*!
+ @constant `kCMFormatDescriptionExtension_ProjectionKind`
+ @abstract Indicates the projection that should be applied to presented decoded video frames.
+ @constant `kCMFormatDescriptionProjectionKind_Rectilinear`
+ Indicates rectilinear projection. Generally less than 90 degree field of view with no barrel distortion.
+ @discussion
+ The value is a CFString holding one of the kCMFormatDescriptionProjectionKind_* constants.
+*/
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ProjectionKind
+ API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
+ CM_EXPORT const CFStringRef kCMFormatDescriptionProjectionKind_Rectilinear API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
+
+/*!
+ @constant `kCMFormatDescriptionExtension_ViewPackingKind`
+ @abstract Indicates the packing type of stereoscopic video frames.
+ @constant `kCMFormatDescriptionViewPackingKind_SideBySide`
+ Indicates that frames are packed side-by-side.
+ @constant `kCMFormatDescriptionViewPackingKind_OverUnder`
+ Indicates that frames are packed over under.
+ @discussion
+ The value is a CFString holding one of the kCMFormatDescriptionViewPackingKind_* constants.
+*/
+CM_EXPORT const CFStringRef kCMFormatDescriptionExtension_ViewPackingKind API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
+ CM_EXPORT const CFStringRef kCMFormatDescriptionViewPackingKind_SideBySide API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
+ CM_EXPORT const CFStringRef kCMFormatDescriptionViewPackingKind_OverUnder API_AVAILABLE(macos(15.0), ios(18.0), visionos(2.0)) API_UNAVAILABLE(tvos, watchos);
+
CM_ASSUME_NONNULL_END
CF_IMPLICIT_BRIDGING_DISABLED
@@ -997,7 +1023,7 @@
Values are always property list objects (ie. CFData, CFString, CFArray,
CFDictionary, CFDate, CFBoolean, or CFNumber). Can be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMVideoFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created video CMFormatDescription */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionCreateForImageBuffer
@@ -1022,7 +1048,7 @@
Image buffer for which we are creating the format description. */
CM_RETURNS_RETAINED_PARAMETER CMVideoFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut
Returned newly-created video CMFormatDescription */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionCreateFromH264ParameterSets
@@ -1045,7 +1071,7 @@
Size, in bytes, of the NALUnitLength field in an AVC video sample or AVC parameter set sample. Pass 1, 2 or 4. */
CM_RETURNS_RETAINED_PARAMETER CMFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut ) /*! @param formatDescriptionOut
Returned newly-created video CMFormatDescription */
- API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionCreateFromHEVCParameterSets
@@ -1071,7 +1097,7 @@
CFDictionary, CFDate, CFBoolean, or CFNumber). Can be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut ) /*! @param formatDescriptionOut
Returned newly-created video CMFormatDescription */
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -1097,7 +1123,7 @@
Number of parameter sets in the AVC decoder configuration record contained in videoDesc. Pass NULL if you do not want this information. */
int * CM_NULLABLE NALUnitHeaderLengthOut ) /*! @param NALUnitHeaderLengthOut
Points to an int to receive the size, in bytes, of the NALUnitLength field in an AVC video sample or AVC parameter set sample. Pass NULL if you do not want this information. */
- API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionGetHEVCParameterSetAtIndex
@@ -1121,7 +1147,7 @@
Number of parameter sets in the HEVC decoder configuration record contained in videoDesc. Pass NULL if you do not want this information. */
int * CM_NULLABLE NALUnitHeaderLengthOut ) /*! @param NALUnitHeaderLengthOut
Points to an int to receive the size, in bytes, of the NALUnitLength field in an HEVC video sample or HEVC parameter set sample. Pass NULL if you do not want this information. */
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
#define CMVideoFormatDescriptionGetCodecType(desc) CMFormatDescriptionGetMediaSubType(desc)
@@ -1134,7 +1160,7 @@
CMVideoDimensions CMVideoFormatDescriptionGetDimensions(
CMVideoFormatDescriptionRef CM_NONNULL videoDesc) /*! @param videoDesc
FormatDescription being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionGetPresentationDimensions
@@ -1150,7 +1176,7 @@
Compute the dimensions maintaining pixel aspect ratio */
Boolean useCleanAperture ) /*! @param useCleanAperture
Compute the dimensions using the clean aperture */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionGetCleanAperture
@@ -1170,7 +1196,7 @@
Pass false if the CGRect will be used in an environment
where (0,0) is at the bottom-left corner of an enclosing rectangle
and y coordinates increase as you go up. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers
@@ -1201,7 +1227,7 @@
*/
CM_EXPORT
CFArrayRef CM_NONNULL CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers(void)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionMatchesImageBuffer
@@ -1215,7 +1241,7 @@
Boolean CMVideoFormatDescriptionMatchesImageBuffer(
CMVideoFormatDescriptionRef CM_NONNULL desc, /*! @param desc format description to validate. */
CVImageBufferRef CM_NONNULL imageBuffer) /*! @param imageBuffer image buffer validate against. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionCopyTagCollectionArray
@@ -1230,7 +1256,7 @@
*/
CM_EXPORT OSStatus CMVideoFormatDescriptionCopyTagCollectionArray(
CMVideoFormatDescriptionRef CM_NONNULL formatDescription,
- CM_RETURNS_RETAINED_PARAMETER CFArrayRef CM_NULLABLE *tagCollectionsOut) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ CM_RETURNS_RETAINED_PARAMETER CFArrayRef CM_NULLABLE *tagCollectionsOut) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark CMTaggedBufferGroupFormatDescription
@@ -1253,7 +1279,7 @@
#endif
{
kCMTaggedBufferGroupFormatType_TaggedBufferGroup = 'tbgr',
-} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
// See CMTaggedBufferGroup.h for CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup and CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup
@@ -1267,7 +1293,7 @@
@typedef CMMuxedFormatDescriptionRef
Synonym type used for manipulating muxed media CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMMuxedFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMMuxedFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMMuxedStreamType
@@ -1279,7 +1305,7 @@
@constant kCMMuxedStreamType_EmbeddedDeviceScreenRecording Screen capture on an embedded device
@abstract Contains interleaved sample buffers from multiple media types. The receiver should query the media type of each CMSampleBuffer’s format description to discover if it’s video or audio, and process it accordingly.
*/
-typedef FourCharCode CMMuxedStreamType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMMuxedStreamType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMMuxedStreamType
#else
@@ -1290,8 +1316,8 @@
kCMMuxedStreamType_MPEG2Transport = 'mp2t',
kCMMuxedStreamType_MPEG2Program = 'mp2p',
kCMMuxedStreamType_DV = 'dv ',
- kCMMuxedStreamType_EmbeddedDeviceScreenRecording API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0)) = 'isr '
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ kCMMuxedStreamType_EmbeddedDeviceScreenRecording API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0)) = 'isr '
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define CMMuxedFormatDescriptionGetStreamType(desc) CMFormatDescriptionGetMediaSubType(desc)
@@ -1318,7 +1344,7 @@
Values are always property list objects (ie. CFData, CFString, CFArray,
CFDictionary, CFDate, CFBoolean, or CFNumber). Can be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMMuxedFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created muxed CMFormatDescription */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -1332,7 +1358,7 @@
@typedef CMClosedCaptionFormatDescriptionRef
Synonym type used for manipulating closed-caption media CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMClosedCaptionFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMClosedCaptionFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMClosedCaptionFormatType
@@ -1342,7 +1368,7 @@
@constant kCMClosedCaptionFormatType_CEA708 CEA 708-compliant samples
@constant kCMClosedCaptionFormatType_ATSC ATSC/52 part-4 compliant samples
*/
-typedef FourCharCode CMClosedCaptionFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMClosedCaptionFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMClosedCaptionFormatType
#else
@@ -1352,7 +1378,7 @@
kCMClosedCaptionFormatType_CEA608 = 'c608',
kCMClosedCaptionFormatType_CEA708 = 'c708',
kCMClosedCaptionFormatType_ATSC = 'atcc'
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define CMClosedCaptionFormatDescriptionGetFormatType(desc) CMFormatDescriptionGetMediaSubType(desc)
@@ -1367,7 +1393,7 @@
@typedef CMTextFormatDescriptionRef
Synonym type used for manipulating Text media CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMTextFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMTextFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMTextFormatType
@@ -1375,7 +1401,7 @@
@constant kCMTextFormatType_QTText QuickTime Text media
@constant kCMTextFormatType_3GText 3GPP Text media
*/
-typedef FourCharCode CMTextFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMTextFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMTextFormatType
#else
@@ -1384,7 +1410,7 @@
{
kCMTextFormatType_QTText = 'text',
kCMTextFormatType_3GText = 'tx3g',
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMTextDisplayFlags
@@ -1403,7 +1429,7 @@
@constant kCMTextDisplayFlag_forcedSubtitlesPresent There are forced subtitles present, e.g., a subtitle which only displays during foreign language sections of the video. Check individual samples to determine what type of subtitle is contained.
@constant kCMTextDisplayFlag_allSubtitlesForced Treat all subtitle samples as if they contain forced subtitles.
*/
-typedef uint32_t CMTextDisplayFlags API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef uint32_t CMTextDisplayFlags API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMTextDisplayFlags
#else
@@ -1423,7 +1449,7 @@
kCMTextDisplayFlag_obeySubtitleFormatting = 0x20000000,
kCMTextDisplayFlag_forcedSubtitlesPresent = 0x40000000,
kCMTextDisplayFlag_allSubtitlesForced = 0x80000000,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMTextJustificationValue
@@ -1432,7 +1458,7 @@
@constant kCMTextJustification_centered Center justification (both horizontal and vertical justification).
@constant kCMTextJustification_bottom_right Bottom justification when specified for vertical justification, right justification for horizontal justification.
*/
-typedef int8_t CMTextJustificationValue API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef int8_t CMTextJustificationValue API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMTextJustificationValue
#else
@@ -1442,69 +1468,69 @@
kCMTextJustification_left_top = 0,
kCMTextJustification_centered = 1,
kCMTextJustification_bottom_right = -1
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
// Extension keys and values common to kCMTextFormatType_QTText and kCMTextFormatType_3GText format descriptions
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_DisplayFlags // CFNumber (SInt32 holding CMTextDisplayFlags)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_BackgroundColor // CFDictionary
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionColor_Red // CFNumber (SInt8 for 3G), (SInt16 for QT)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionColor_Green // CFNumber (SInt8 for 3G), (SInt16 for QT)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionColor_Blue // CFNumber (SInt8 for 3G), (SInt16 for QT)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionColor_Alpha // CFNumber (SInt8 for 3G), not applicable for QT text.
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_DefaultTextBox // CFDictionary
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionRect_Top // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionRect_Left // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionRect_Bottom // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionRect_Right // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_DefaultStyle // CFDictionary
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_StartChar // CFNumber (SInt16 for 3G), (SInt32 for QT)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_Font // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_FontFace // CFNumber (SInt8)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_ForegroundColor // CFDictionary (kCMTextFormatDescriptionColor_Red, kCMTextFormatDescriptionColor_Green, etc)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_FontSize // CFNumber (SInt8 for 3G), (SInt16 for QT)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Extension keys and values specific to kCMTextFormatType_3GText
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_HorizontalJustification // CFNumber (SInt8 holding a CMTextJustificationValue)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_VerticalJustification // CFNumber (SInt8 holding a CMTextJustificationValue)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Extension keys and values specific to the kCMTextFormatType_3GText kCMTextFormatDescriptionExtension_DefaultStyle dictionary
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_EndChar // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_FontTable // CFDictionary (Keys are FontIDs as CFStrings, vals are font names as CFStrings)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Extension keys and values specific to kCMTextFormatType_QTText
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_TextJustification // CFNumber (SInt32 holding a CMTextJustificationValue)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Extension keys and values specific to the kCMTextFormatType_QTText kCMTextFormatDescriptionExtension_DefaultStyle dictionary
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_Height // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionStyle_Ascent // CFNumber (SInt16)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTextFormatDescriptionExtension_DefaultFontName // CFString
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef CM_NONNULL kCMFormatDescriptionExtension_AmbientViewingEnvironment // CFData(8 bytes); big-endian structure; same as kCVImageBufferAmbientViewingEnvironmentKey; matches payload of ISO/IEC 23008-2:2017, D.2.39 ambient viewing environment SEI message
- API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+ API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -1521,7 +1547,7 @@
FormatDescription being interrogated. */
CMTextDisplayFlags * CM_NONNULL displayFlagsOut) /*! @param displayFlagsOut
Receives the display flags. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTextFormatDescriptionGetJustification
@@ -1537,7 +1563,7 @@
Horizontal justification mode. May be NULL. */
CMTextJustificationValue * CM_NULLABLE verticalJustificationOut) /*! @param verticalJustificationOut
Vertical justification mode. May be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTextFormatDescriptionGetDefaultTextBox
@@ -1562,7 +1588,7 @@
Ignored if originIsAtTopLeft is true. */
CGRect * CM_NONNULL defaultTextBoxOut) /*! @param defaultTextBoxOut
Receives the default text box. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTextFormatDescriptionGetDefaultStyle
@@ -1586,7 +1612,7 @@
FontSize in points. May be NULL. */
CGFloat colorComponentsOut[CM_NULLABLE 4]) /*! @param colorComponentsOut
Components are in order red, green, blue, alpha. May be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
@@ -1604,13 +1630,13 @@
Font number, local to the FormatDescription. */
CM_RETURNS_NOT_RETAINED_PARAMETER CFStringRef CM_NULLABLE * CM_NONNULL fontNameOut) /*! @param fontNameOut
Name of the font. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
#pragma mark CMSubtitleFormatDescription
-typedef FourCharCode CMSubtitleFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMSubtitleFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMSubtitleFormatType
@@ -1620,7 +1646,7 @@
{
kCMSubtitleFormatType_3GText = 'tx3g',
kCMSubtitleFormatType_WebVTT = 'wvtt',
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define CMSubtitleFormatDescriptionGetFormatType(desc) CMFormatDescriptionGetMediaSubType(desc)
@@ -1634,7 +1660,7 @@
@typedef CMTimeCodeFormatDescriptionRef
SYnonym type used for manipulating TimeCode media CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMTimeCodeFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMTimeCodeFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMTimeCodeFormatType
@@ -1644,7 +1670,7 @@
@constant kCMTimeCodeFormatType_Counter32 32-bit counter-mode sample.
@constant kCMTimeCodeFormatType_Counter64 64-bit counter-mode sample.
*/
-typedef FourCharCode CMTimeCodeFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMTimeCodeFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMTimeCodeFormatType
@@ -1656,7 +1682,7 @@
kCMTimeCodeFormatType_TimeCode64 = 'tc64',
kCMTimeCodeFormatType_Counter32 = 'cn32',
kCMTimeCodeFormatType_Counter64 = 'cn64'
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define CMTimeCodeFormatDescriptionGetFormatType(desc) CMFormatDescriptionGetMediaSubType(desc)
@@ -1676,7 +1702,7 @@
kCMTimeCodeFlag_DropFrame = 1 << 0,
kCMTimeCodeFlag_24HourMax = 1 << 1,
kCMTimeCodeFlag_NegTimesOK = 1 << 2
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
@@ -1702,7 +1728,7 @@
Keys are always CFStrings. Values are always property list objects (ie. CFData). May be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMTimeCodeFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut
Receives the newly-created CMFormatDescription. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -1714,7 +1740,7 @@
CMTime CMTimeCodeFormatDescriptionGetFrameDuration(
CMTimeCodeFormatDescriptionRef CM_NONNULL timeCodeFormatDescription) /*! @param timeCodeFormatDescription
FormatDescription being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeCodeFormatDescriptionGetFrameQuanta
@@ -1724,7 +1750,7 @@
uint32_t CMTimeCodeFormatDescriptionGetFrameQuanta(
CMTimeCodeFormatDescriptionRef CM_NONNULL timeCodeFormatDescription) /*! @param timeCodeFormatDescription
FormatDescription being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeCodeFormatDescriptionGetTimeCodeFlags
@@ -1734,16 +1760,16 @@
uint32_t CMTimeCodeFormatDescriptionGetTimeCodeFlags(
CMTimeCodeFormatDescriptionRef CM_NONNULL desc) /*! @param desc
FormatDescription being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
CM_EXPORT const CFStringRef kCMTimeCodeFormatDescriptionExtension_SourceReferenceName // CFDictionary containing the following two keys
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTimeCodeFormatDescriptionKey_Value // CFString
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMTimeCodeFormatDescriptionKey_LangCode // CFNumber
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -1757,7 +1783,7 @@
@typedef CMMetadataFormatDescriptionRef
SYnonym type used for manipulating Metadata media CMFormatDescriptions
*/
-typedef CMFormatDescriptionRef CMMetadataFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE;
+typedef CMFormatDescriptionRef CMMetadataFormatDescriptionRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE;
/*!
@enum CMMetadataFormatType
@@ -1767,7 +1793,7 @@
@constant kCMMetadataFormatType_Boxed Boxed format.
@constant kCMMetadataFormatType_EMSG EMSG format.
*/
-typedef FourCharCode CMMetadataFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef FourCharCode CMMetadataFormatType API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
enum : CMMetadataFormatType
#else
@@ -1778,44 +1804,44 @@
kCMMetadataFormatType_ID3 = 'id3 ',
kCMMetadataFormatType_Boxed = 'mebx',
kCMMetadataFormatType_EMSG = 'emsg',
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
CM_EXPORT const CFStringRef kCMFormatDescriptionExtensionKey_MetadataKeyTable
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_Namespace // CFNumber(OSType) native endian
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_Value // CFData
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_LocalID // CFNumber(OSType) native endian
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_DataType // CFData
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_DataTypeNamespace // CFNumber(SInt32) native endian
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_ConformingDataTypes // CFArray(CFDictionary) of DataType and DataTypeNamespace
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_LanguageTag // CFString
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_StructuralDependency // CFDictionary
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionKey_SetupData // CFData
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescription_StructuralDependencyKey_DependencyIsInvalidFlag // CFBoolean
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionMetadataSpecificationKey_Identifier // CFString
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionMetadataSpecificationKey_DataType // CFString
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionMetadataSpecificationKey_ExtendedLanguageTag // CFString in BCP 47 format
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionMetadataSpecificationKey_StructuralDependency // CFDictionary
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataFormatDescriptionMetadataSpecificationKey_SetupData // CFData
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
CF_IMPLICIT_BRIDGING_DISABLED
@@ -1832,7 +1858,7 @@
kCMMetadataFormatDescriptionKey_Value
kCMMetadataFormatDescriptionKey_LocalID */
CM_RETURNS_RETAINED_PARAMETER CMMetadataFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created metadata CMFormatDescription */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT
OSStatus CMMetadataFormatDescriptionCreateWithMetadataSpecifications(
@@ -1840,7 +1866,7 @@
CMMetadataFormatType metadataType, /*! @param metadataType Currently the type must be kCMMetadataFormatType_Boxed. */
CFArrayRef CM_NONNULL metadataSpecifications, /*! @param metadataSpecifications An array of dictionaries, each dictionary supplies a metadata identifier, a datatype, and an optional language tag. */
CM_RETURNS_RETAINED_PARAMETER CMMetadataFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created metadata CMFormatDescription */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT
OSStatus CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications(
@@ -1848,7 +1874,7 @@
CMMetadataFormatDescriptionRef CM_NONNULL sourceDescription, /*! @param sourceDescription Source metadata format description being extended */
CFArrayRef CM_NONNULL metadataSpecifications, /*! @param metadataSpecifications An array of dictionaries, each dictionary supplies a metadata identifier, a datatype, and an optional language tag. */
CM_RETURNS_RETAINED_PARAMETER CMMetadataFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created metadata CMFormatDescription */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT
OSStatus CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions(
@@ -1856,17 +1882,17 @@
CMMetadataFormatDescriptionRef CM_NONNULL sourceDescription, /*! @param sourceDescription Metadata format description being merged */
CMMetadataFormatDescriptionRef CM_NONNULL otherSourceDescription, /*! @param otherSourceDescription Metadata format description being merged */
CM_RETURNS_RETAINED_PARAMETER CMMetadataFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) /*! @param formatDescriptionOut Returned newly created metadata CMFormatDescription */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
CM_EXPORT
CFDictionaryRef CM_NULLABLE CMMetadataFormatDescriptionGetKeyWithLocalID( CMMetadataFormatDescriptionRef CM_NONNULL desc, OSType localKeyID)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT
CFArrayRef CM_NULLABLE CMMetadataFormatDescriptionGetIdentifiers( CMMetadataFormatDescriptionRef CM_NONNULL desc)
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h 2024-04-08 10:07:22
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescriptionBridge.h 2024-05-30 05:17:38
@@ -52,38 +52,38 @@
kCMFormatDescriptionBridgeError_IncompatibleFormatDescription = -12716,
kCMFormatDescriptionBridgeError_UnsupportedSampleDescriptionFlavor = -12717,
kCMFormatDescriptionBridgeError_InvalidSlice = -12719,
-} API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
-typedef CFStringRef CMImageDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+typedef CFStringRef CMImageDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMImageDescriptionFlavor_QuickTimeMovie
@abstract Chooses the QuickTime Movie Image Description format.
@discussion Passing NULL is equivalent to passing this constant.
*/
-CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_QuickTimeMovie API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // equivalent to NULL
+CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_QuickTimeMovie API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // equivalent to NULL
/*!
@constant kCMImageDescriptionFlavor_ISOFamily
@abstract Chooses the ISO family sample description format, used in MP4
*/
-CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_ISOFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // MP4, etc
+CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_ISOFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // MP4, etc
/*!
@constant kCMImageDescriptionFlavor_3GPFamily
@abstract Chooses the 3GP family sample description format.
@discussion This implies kCMImageDescriptionFlavor_ISOFamily and adds additional rules specific to the 3GP family.
*/
-CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_3GPFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // 3GPP (implies ISO)
+CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_3GPFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // 3GPP (implies ISO)
/*!
@constant kCMImageDescriptionFlavor_ISOFamilyWithAppleExtensions
@abstract Chooses the ISO family sample description format with use of Apple extensions where appropriate for M4V and M4A.
@discussion This implies kCMImageDescriptionFlavor_ISOFamily and adds additional rules specific to the .m4a, .m4b, and .m4v file formats.
*/
-CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_ISOFamilyWithAppleExtensions API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)); // M4A, M4V, etc (implies ISO)
+CM_EXPORT const CMImageDescriptionFlavor kCMImageDescriptionFlavor_ISOFamilyWithAppleExtensions API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0), visionos(1.0)); // M4A, M4V, etc (implies ISO)
CM_ASSUME_NONNULL_END
@@ -109,7 +109,7 @@
CFStringEncoding stringEncoding,
CMImageDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMVideoFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer
@@ -127,7 +127,7 @@
CFStringEncoding stringEncoding,
CMImageDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMVideoFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer
@@ -149,7 +149,7 @@
CFStringEncoding stringEncoding,
CMImageDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -165,7 +165,7 @@
CM_EXPORT OSStatus CMSwapBigEndianImageDescriptionToHost(
uint8_t * CM_NONNULL imageDescriptionData,
size_t imageDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSwapHostEndianImageDescriptionToBig
@@ -177,7 +177,7 @@
CM_EXPORT OSStatus CMSwapHostEndianImageDescriptionToBig(
uint8_t * CM_NONNULL imageDescriptionData,
size_t imageDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#else // TARGET_RT_BIG_ENDIAN
@@ -190,7 +190,7 @@
CM_ASSUME_NONNULL_BEGIN
-typedef CFStringRef CMSoundDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+typedef CFStringRef CMSoundDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSoundDescriptionFlavor_QuickTimeMovie
@@ -198,7 +198,7 @@
@discussion A V1 sound description will be written if possible.
If a V1 sound description is written for CBR or PCM audio, the sample tables will need to use the legacy CBR layout.
*/
-CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_QuickTimeMovie API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // equivalent to NULL
+CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_QuickTimeMovie API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // equivalent to NULL
/*!
@constant kCMSoundDescriptionFlavor_QuickTimeMovieV2
@@ -206,20 +206,20 @@
@discussion A V2 sound description will be written.
V2 Sound Descriptions contain no legacy CBR layout, and use 'lpcm' for all flavors of PCM.
*/
-CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_QuickTimeMovieV2 API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_QuickTimeMovieV2 API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSoundDescriptionFlavor_ISOFamily
@abstract Chooses the ISO family sample description format, used in MP4, M4A, etc.
*/
-CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_ISOFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // MP4, etc
+CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_ISOFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // MP4, etc
/*!
@constant kCMSoundDescriptionFlavor_3GPFamily
@abstract Chooses the 3GP family sample description format.
@discussion This implies kCMSoundDescriptionFlavor_ISOFamily and adds additional rules specific to the 3GP family.
*/
-CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_3GPFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // 3GPP (implies ISO)
+CM_EXPORT const CMSoundDescriptionFlavor kCMSoundDescriptionFlavor_3GPFamily API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // 3GPP (implies ISO)
CM_ASSUME_NONNULL_END
@@ -243,7 +243,7 @@
size_t size,
CMSoundDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMAudioFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer
@@ -259,7 +259,7 @@
CMBlockBufferRef CM_NONNULL soundDescriptionBlockBuffer,
CMSoundDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMAudioFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer
@@ -279,7 +279,7 @@
CMAudioFormatDescriptionRef CM_NONNULL audioFormatDescription,
CMSoundDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -293,7 +293,7 @@
CM_EXPORT Boolean CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout(
CMBlockBufferRef CM_NONNULL soundDescriptionBlockBuffer,
CMSoundDescriptionFlavor CM_NULLABLE flavor )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if TARGET_RT_LITTLE_ENDIAN
@@ -307,7 +307,7 @@
CM_EXPORT OSStatus CMSwapBigEndianSoundDescriptionToHost(
uint8_t * CM_NONNULL soundDescriptionData,
size_t soundDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSwapHostEndianSoundDescriptionToBig
@@ -319,7 +319,7 @@
CM_EXPORT OSStatus CMSwapHostEndianSoundDescriptionToBig(
uint8_t * CM_NONNULL soundDescriptionData,
size_t soundDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#else // TARGET_RT_BIG_ENDIAN
@@ -330,7 +330,7 @@
CF_IMPLICIT_BRIDGING_DISABLED
-typedef CFStringRef CMTextDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+typedef CFStringRef CMTextDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup CMTextFormatDescription and TextDescription bridge functions
@@ -354,7 +354,7 @@
CMTextDescriptionFlavor CM_NULLABLE flavor,
CMMediaType mediaType,
CM_RETURNS_RETAINED_PARAMETER CMTextFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer
@@ -372,7 +372,7 @@
CMTextDescriptionFlavor CM_NULLABLE flavor,
CMMediaType mediaType,
CM_RETURNS_RETAINED_PARAMETER CMTextFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer
@@ -392,7 +392,7 @@
CMTextFormatDescriptionRef CM_NONNULL textFormatDescription,
CMTextDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -408,7 +408,7 @@
CM_EXPORT OSStatus CMSwapBigEndianTextDescriptionToHost(
uint8_t * CM_NONNULL textDescriptionData,
size_t textDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSwapHostEndianTextDescriptionToBig
@@ -420,7 +420,7 @@
CM_EXPORT OSStatus CMSwapHostEndianTextDescriptionToBig(
uint8_t * CM_NONNULL textDescriptionData,
size_t textDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#else // TARGET_RT_BIG_ENDIAN
@@ -431,7 +431,7 @@
CF_IMPLICIT_BRIDGING_DISABLED
-typedef CFStringRef CMClosedCaptionDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+typedef CFStringRef CMClosedCaptionDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup CMClosedCaptionFormatDescription and ClosedCaptionDescription bridge functions
@@ -453,7 +453,7 @@
size_t size,
CMClosedCaptionDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMClosedCaptionFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer
@@ -469,7 +469,7 @@
CMBlockBufferRef CM_NONNULL closedCaptionDescriptionBlockBuffer,
CMClosedCaptionDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMClosedCaptionFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer
@@ -489,7 +489,7 @@
CMClosedCaptionFormatDescriptionRef CM_NONNULL closedCaptionFormatDescription,
CMClosedCaptionDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -505,7 +505,7 @@
CM_EXPORT OSStatus CMSwapBigEndianClosedCaptionDescriptionToHost(
uint8_t * CM_NONNULL closedCaptionDescriptionData,
size_t closedCaptionDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSwapHostEndianClosedCaptionDescriptionToBig
@@ -517,7 +517,7 @@
CM_EXPORT OSStatus CMSwapHostEndianClosedCaptionDescriptionToBig(
uint8_t * CM_NONNULL closedCaptionDescriptionData,
size_t closedCaptionDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#else // TARGET_RT_BIG_ENDIAN
@@ -528,7 +528,7 @@
CF_IMPLICIT_BRIDGING_DISABLED
-typedef CFStringRef CMTimeCodeDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+typedef CFStringRef CMTimeCodeDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup CMTimeCodeFormatDescription and TimeCodeDescription bridge functions
@@ -550,7 +550,7 @@
size_t size,
CMTimeCodeDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMTimeCodeFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer
@@ -566,7 +566,7 @@
CMBlockBufferRef CM_NONNULL timeCodeDescriptionBlockBuffer,
CMTimeCodeDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMTimeCodeFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer
@@ -586,7 +586,7 @@
CMTimeCodeFormatDescriptionRef CM_NONNULL timeCodeFormatDescription,
CMTimeCodeDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -602,7 +602,7 @@
CM_EXPORT OSStatus CMSwapBigEndianTimeCodeDescriptionToHost(
uint8_t * CM_NONNULL timeCodeDescriptionData,
size_t timeCodeDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSwapHostEndianTimeCodeDescriptionToBig
@@ -614,7 +614,7 @@
CM_EXPORT OSStatus CMSwapHostEndianTimeCodeDescriptionToBig(
uint8_t * CM_NONNULL timeCodeDescriptionData,
size_t timeCodeDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#else // TARGET_RT_BIG_ENDIAN
@@ -625,7 +625,7 @@
CF_IMPLICIT_BRIDGING_DISABLED
-typedef CFStringRef CMMetadataDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+typedef CFStringRef CMMetadataDescriptionFlavor CF_EXTENSIBLE_STRING_ENUM API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@functiongroup CMMetadataFormatDescription and MetadataDescription bridge functions
@@ -647,7 +647,7 @@
size_t size,
CMMetadataDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMMetadataFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer
@@ -663,7 +663,7 @@
CMBlockBufferRef CM_NONNULL metadataDescriptionBlockBuffer,
CMMetadataDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMMetadataFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer
@@ -683,7 +683,7 @@
CMMetadataFormatDescriptionRef CM_NONNULL metadataFormatDescription,
CMMetadataDescriptionFlavor CM_NULLABLE flavor,
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NONNULL blockBufferOut )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -699,7 +699,7 @@
CM_EXPORT OSStatus CMSwapBigEndianMetadataDescriptionToHost(
uint8_t * CM_NONNULL metadataDescriptionData,
size_t metadataDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSwapHostEndianMetadataDescriptionToBig
@@ -711,7 +711,7 @@
CM_EXPORT OSStatus CMSwapHostEndianMetadataDescriptionToBig(
uint8_t * CM_NONNULL metadataDescriptionData,
size_t metadataDescriptionSize )
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#else // TARGET_RT_BIG_ENDIAN
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h 2024-04-17 06:36:28
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMemoryPool.h 2024-05-30 05:17:37
@@ -49,7 +49,7 @@
CFAllocatorDeallocate methods.
*/
-typedef struct CM_BRIDGED_TYPE(id) OpaqueCMMemoryPool *CMMemoryPoolRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE; // a CF type; use CFRetain and CFRelease.
+typedef struct CM_BRIDGED_TYPE(id) OpaqueCMMemoryPool *CMMemoryPoolRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE; // a CF type; use CFRetain and CFRelease.
/*!
@enum CMMemoryPool Errors
@@ -65,10 +65,10 @@
{
kCMMemoryPoolError_AllocationFailed = -15490,
kCMMemoryPoolError_InvalidParameter = -15491,
-} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT CFTypeID CMMemoryPoolGetTypeID(void)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMMemoryPoolOption_AgeOutPeriod
@@ -76,28 +76,28 @@
@discussion Pass this in the options dictionary to CMMemoryPoolCreate.
*/
CM_EXPORT const CFStringRef CM_NONNULL kCMMemoryPoolOption_AgeOutPeriod // CFNumber (seconds)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMemoryPoolCreate
@abstract Creates a new CMMemoryPool.
*/
CM_EXPORT CMMemoryPoolRef CM_NONNULL CMMemoryPoolCreate( CFDictionaryRef CM_NULLABLE options ) // pass NULL for defaults
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMemoryPoolGetAllocator
@abstract Returns the pool's CFAllocator.
*/
CM_EXPORT CFAllocatorRef CM_NONNULL CMMemoryPoolGetAllocator( CMMemoryPoolRef CM_NONNULL pool )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMemoryPoolFlush
@abstract Deallocates all memory the pool was holding for recycling.
*/
CM_EXPORT void CMMemoryPoolFlush( CMMemoryPoolRef CM_NONNULL pool )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMemoryPoolInvalidate
@@ -109,7 +109,7 @@
except that under GC it may be delayed.
*/
CM_EXPORT void CMMemoryPoolInvalidate( CMMemoryPoolRef CM_NONNULL pool )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h 2024-04-08 10:07:22
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMMetadata.h 2024-05-30 04:47:57
@@ -3,7 +3,7 @@
Framework: CoreMedia
- Copyright © 2013-2015 Apple Inc. All rights reserved.
+ Copyright © 2013-2023 Apple Inc. All rights reserved.
*/
@@ -74,7 +74,7 @@
kCMMetadataIdentifierError_BadKeySpace = -16306,
kCMMetadataIdentifierError_BadIdentifier = -16307,
kCMMetadataIdentifierError_NoKeyValueAvailable = -16308,
-} API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMMetadata DataType Registry Errors
@@ -99,7 +99,7 @@
kCMMetadataDataTypeRegistryError_DataTypeAlreadyRegistered = -16313,
kCMMetadataDataTypeRegistryError_RequiresConformingBaseType = -16314,
kCMMetadataDataTypeRegistryError_MultipleConformingBaseTypes = -16315,
-} API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -125,19 +125,19 @@
CM_ASSUME_NONNULL_BEGIN
CM_EXPORT const CFStringRef kCMMetadataKeySpace_QuickTimeUserData
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataKeySpace_ISOUserData
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataKeySpace_QuickTimeMetadata
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataKeySpace_iTunes
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataKeySpace_ID3
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataKeySpace_Icy
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataKeySpace_HLSDateRange
- API_AVAILABLE(macos(10.11.3), ios(9.3), tvos(9.3), watchos(6.0));
+ API_AVAILABLE(macos(10.11.3), ios(9.3), tvos(9.3), watchos(6.0), visionos(1.0));
/*!
@const kCMMetadataIdentifier_QuickTimeMetadataLocation_ISO6709
@@ -146,9 +146,9 @@
Direction the observer is facing.
*/
CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataLocation_ISO6709
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataDirection_Facing
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform
@@ -159,7 +159,7 @@
will allow a player to adjust its rendering at the time the rotation occurred.
*/
CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMMetadataIdentifier_QuickTimeMetadataVideoOrientation
@@ -167,7 +167,7 @@
(see <ImageIO/CGImageProperties.h>).
*/
CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataVideoOrientation
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransform
@@ -175,7 +175,7 @@
Expected data type is kCMMetadataBaseDataType_PerspectiveTransformF64.
*/
CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransform
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
/*!
@const kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransformReferenceDimensions
@@ -183,8 +183,23 @@
Expected data type is kCMMetadataBaseDataType_DimensionsF32.
*/
CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransformReferenceDimensions
- API_AVAILABLE(macos(10.15.1), ios(13.2), tvos(13.2), watchos(6.1));
+ API_AVAILABLE(macos(10.15.1), ios(13.2), tvos(13.2), watchos(6.1), visionos(1.0));
+/*!
+ @const kCMMetadataIdentifier_QuickTimeMetadataSegmentIdentifier
+ A segment identifier, used to support movies where pause/resume has been used.
+ Expected data type is kCMMetadataDataType_QuickTimeMetadataUUID.
+*/
+CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataSegmentIdentifier
+ API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));
+
+/*!
+ @const kCMMetadataIdentifier_QuickTimeMetadataSceneIlluminance
+ Scene illuminance measured in units of Lux.
+ Expected data type is kCMMetadataDataType_QuickTimeMetadataMilliLux.
+*/
+CM_EXPORT const CFStringRef kCMMetadataIdentifier_QuickTimeMetadataSceneIlluminance
+ API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));
CM_ASSUME_NONNULL_END
@@ -252,7 +267,7 @@
ASCII characters. */
CM_RETURNS_RETAINED_PARAMETER CFStringRef CM_NULLABLE * CM_NONNULL identifierOut) /*! @param identifierOut
The created identifier. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataCreateKeyFromIdentifier
@@ -276,7 +291,7 @@
Identifier being inspected. */
CM_RETURNS_RETAINED_PARAMETER CFTypeRef CM_NULLABLE * CM_NONNULL keyOut) /*! @param keyOut
The key data that was used create the identifier. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataCreateKeyFromIdentifierAsCFData
@@ -291,7 +306,7 @@
Identifier being inspected. */
CM_RETURNS_RETAINED_PARAMETER CFDataRef CM_NULLABLE * CM_NONNULL keyOut) /*! @param keyOut
The key data that was used create the identifier, as a CFData. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataCreateKeySpaceFromIdentifier
@@ -305,7 +320,7 @@
Identifier being inspected. */
CM_RETURNS_RETAINED_PARAMETER CFStringRef CM_NULLABLE * CM_NONNULL keySpaceOut) /*! @param keySpaceOut
The key space that was used to create the identifier. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -370,55 +385,55 @@
CM_ASSUME_NONNULL_BEGIN
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_RawData
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_UTF8
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_UTF16
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_GIF
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_JPEG
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_PNG
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_BMP
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_Float32
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_Float64
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_SInt8
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_SInt16
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_SInt32
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_SInt64
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_UInt8
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_UInt16
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_UInt32
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_UInt64
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_PointF32
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_DimensionsF32
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_RectF32
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_AffineTransformF64
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_PolygonF32
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_PolylineF32
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_JSON
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataBaseDataType_PerspectiveTransformF64
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
/*!
@const kCMMetadataDataType_Location_ISO6709
@@ -429,10 +444,26 @@
kCMMetadataBaseDataType_UTF8.
*/
CM_EXPORT const CFStringRef kCMMetadataDataType_QuickTimeMetadataLocation_ISO6709
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMMetadataDataType_QuickTimeMetadataDirection
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
+/*!
+ @const kCMMetadataDataType_QuickTimeMetadataUUID
+ A string supplying a universally unique identifier. Conforms to
+ kCMMetadataBaseDataType_UTF8.
+*/
+CM_EXPORT const CFStringRef kCMMetadataDataType_QuickTimeMetadataUUID
+ API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));
+
+/*!
+ @const kCMMetadataDataType_QuickTimeMetadataMilliLux
+ 1/1000 of a Lux. An unsigned value between 0 - 100,000,000. Conforms to
+ kCMMetadataBaseDataType_UInt32.
+*/
+CM_EXPORT const CFStringRef kCMMetadataDataType_QuickTimeMetadataMilliLux
+ API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));
+
CM_ASSUME_NONNULL_END
/*!
@@ -458,7 +489,7 @@
(for aiding debugging operations) */
CFArrayRef CM_NONNULL conformingDataTypes) /*! @param conformingDataTypes
Data types that this data type conforms to. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryDataTypeIsRegistered
@@ -468,7 +499,7 @@
Boolean CMMetadataDataTypeRegistryDataTypeIsRegistered(
CFStringRef CM_NONNULL dataType) /*! @param dataType
Identifier of data type being checked. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryGetDataTypeDescription
@@ -478,7 +509,7 @@
CFStringRef CM_NONNULL CMMetadataDataTypeRegistryGetDataTypeDescription(
CFStringRef CM_NONNULL dataType) /*! @param dataType
Identifier of data type being interrogated. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryGetConformingDataTypes
@@ -491,7 +522,7 @@
CFArrayRef CM_NONNULL CMMetadataDataTypeRegistryGetConformingDataTypes(
CFStringRef CM_NONNULL dataType) /*! @param dataType
Identifier of data type being interrogated. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryDataTypeConformsToDataType
@@ -512,7 +543,7 @@
CFStringRef CM_NONNULL conformsToDataType) /*! @param conformsToDataType
Identifier of data type being checked as as
conforming data type. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryGetBaseDataTypes
@@ -523,7 +554,7 @@
*/
CM_EXPORT
CFArrayRef CM_NULLABLE CMMetadataDataTypeRegistryGetBaseDataTypes(void)
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryDataTypeIsBaseDataType
@@ -536,7 +567,7 @@
Boolean CMMetadataDataTypeRegistryDataTypeIsBaseDataType(
CFStringRef CM_NONNULL dataType) /*! @param dataType
Identifier of data type being checked. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType
@@ -550,7 +581,7 @@
CFStringRef CM_NONNULL CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType(
CFStringRef CM_NONNULL dataType) /*! @param dataType
Identifier of data type being interrogated. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h 2024-04-17 07:15:37
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSampleBuffer.h 2024-05-30 02:57:53
@@ -107,7 +107,7 @@
kCMSampleBufferError_Invalidated = -12744,
kCMSampleBufferError_DataFailed = -16750,
kCMSampleBufferError_DataCanceled = -16751,
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMSampleBuffer Flags
@@ -121,7 +121,7 @@
#endif
{
kCMSampleBufferFlag_AudioBufferList_Assure16ByteAlignment = (1L<<0)
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMSampleBufferRef
@@ -129,7 +129,7 @@
samples of a particular media type (audio, video, muxed, etc).
*/
-typedef struct CM_BRIDGED_TYPE(id) opaqueCMSampleBuffer *CMSampleBufferRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0)) CM_SWIFT_NONSENDABLE;
+typedef struct CM_BRIDGED_TYPE(id) opaqueCMSampleBuffer *CMSampleBufferRef API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_NONSENDABLE;
/*!
@typedef CMSampleTimingInfo
@@ -148,12 +148,12 @@
CMTime decodeTimeStamp; /*!< The time at which the sample will be decoded. If the samples
are in presentation order (eg. audio samples, or video samples from a codec
that doesn't support out-of-order samples), this can be set to kCMTimeInvalid. */
-} CMSampleTimingInfo API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} CMSampleTimingInfo API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CMSampleTimingInfo kCMTimingInfoInvalid /*! @constant kCMTimingInfoInvalid
Use this constant to initialize an invalid CMSampleTimingInfo struct.
All fields are set to kCMTimeInvalid */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMSampleBufferMakeDataReadyCallback
@@ -168,7 +168,7 @@
Client refcon provided to CMSampleBufferCreate.
For example, it could point at info about the
scheduled read that needs to be forced to finish. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -180,7 +180,7 @@
typedef OSStatus (^CMSampleBufferMakeDataReadyHandler)
(CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
The CMSampleBuffer to make ready. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
CF_IMPLICIT_BRIDGING_DISABLED
@@ -304,7 +304,7 @@
values for a single sample are scattered through the buffer). */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -351,7 +351,7 @@
/*! @param makeDataReadyHandler
Block that CMSampleBufferMakeDataReady should call to make the
data ready. Can be NULL. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -460,7 +460,7 @@
values for a single sample are scattered through the buffer). */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMAudioSampleBufferCreateWithPacketDescriptions
@@ -499,7 +499,7 @@
packet and a constant size. */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -537,7 +537,7 @@
/*! @param makeDataReadyHandler
Block that CMSampleBufferMakeDataReady should call to make the
data ready. Can be NULL. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -568,7 +568,7 @@
packet and a constant size. */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferCreateForImageBuffer
@@ -618,7 +618,7 @@
represented by the CVImageBuffer. */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -651,7 +651,7 @@
/*! @param makeDataReadyHandler
Block that CMSampleBufferMakeDataReady should call to make the
data ready. Can be NULL. */
- API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0));
+ API_AVAILABLE(macos(10.14.4), ios(12.2), tvos(12.2), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@function CMSampleBufferCreateReadyWithImageBuffer
@@ -694,7 +694,7 @@
represented by the CVImageBuffer. */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -714,7 +714,7 @@
CMSampleBuffer being copied. */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferCreateCopyWithNewTiming
@@ -747,7 +747,7 @@
buffers in the same stream) have the same presentationTimeStamp. Can be NULL. */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferCopySampleBufferForRange
@@ -766,7 +766,7 @@
The range of samples to copy from sbuf, where sample 0 is the first sample in the sbuf */
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sampleBufferOut) /*! @param sampleBufferOut
Returned newly created CMSampleBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -778,7 +778,7 @@
*/
CM_EXPORT
CFTypeID CMSampleBufferGetTypeID(void)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -802,7 +802,7 @@
CMSampleBuffer being modified. */
CMBlockBufferRef CM_NONNULL dataBuffer) /*! @param dataBuffer
CMBlockBuffer of data being associated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetDataBuffer
@@ -815,7 +815,7 @@
CMBlockBufferRef CM_NULLABLE CMSampleBufferGetDataBuffer(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetImageBuffer
@@ -828,7 +828,7 @@
CVImageBufferRef CM_NULLABLE CMSampleBufferGetImageBuffer(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferSetDataBufferFromAudioBufferList
@@ -849,7 +849,7 @@
Flags controlling operation. */
const AudioBufferList * CM_NONNULL bufferList) /*! @param bufferList
Buffer list whose data will be copied into the new CMBlockBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
@@ -886,7 +886,7 @@
Flags controlling operation. */
CM_RETURNS_RETAINED_PARAMETER CMBlockBufferRef CM_NULLABLE * CM_NULLABLE blockBufferOut) /*! @param blockBufferOut
The retained CMBlockBuffer. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_ENABLED
@@ -913,7 +913,7 @@
is returned. */
size_t * CM_NULLABLE packetDescriptionsSizeNeededOut ) /*! @param packetDescriptionsSizeNeededOut
Used to query for the correct size required for packetDescriptionsOut. May be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -934,7 +934,7 @@
CMSampleBufferRef CM_NONNULL sbuf, /*! @param sbuf CMSampleBuffer being modified. */
const AudioStreamPacketDescription * CM_NULLABLE * CM_NULLABLE packetDescriptionsPointerOut, /*! @param packetDescriptionsPointerOut returned pointer to constant array of AudioStreamPacketDescriptions. May be NULL. */
size_t * CM_NULLABLE packetDescriptionsSizeOut ) /*! @param packetDescriptionsSizeOut size in bytes of constant array of AudioStreamPacketDescriptions. May be NULL. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferCopyPCMDataIntoAudioBufferList
@@ -955,7 +955,7 @@
int32_t frameOffset, /*! @param frameOffset (zero-based) starting frame number to copy from. */
int32_t numFrames, /*! @param numFrames number of frames to copy */
AudioBufferList * CM_NONNULL bufferList) /*! @param Pre-populated bufferlist */
- API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferSetDataReady
@@ -968,7 +968,7 @@
OSStatus CMSampleBufferSetDataReady(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being modified. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferDataIsReady
@@ -980,7 +980,7 @@
Boolean CMSampleBufferDataIsReady(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferSetDataFailed
@@ -992,7 +992,7 @@
CMSampleBuffer being modified. */
OSStatus status) /*! @param status
Describes the failure. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferHasDataFailed
@@ -1005,7 +1005,7 @@
OSStatus * CM_NULLABLE statusOut) /*! @param statusOut
Points to an OSStatus to receive a status code describing the failure.
Pass NULL if you do not want this information. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferMakeDataReady
@@ -1022,7 +1022,7 @@
OSStatus CMSampleBufferMakeDataReady(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being modified. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferTrackDataReadiness
@@ -1039,7 +1039,7 @@
CMSampleBuffer being modified. */
CMSampleBufferRef CM_NONNULL sampleBufferToTrack) /*! @param sampleBufferToTrack
CMSampleBuffer being tracked. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferInvalidate
@@ -1052,7 +1052,7 @@
OSStatus CMSampleBufferInvalidate(
CMSampleBufferRef CM_NONNULL sbuf ) /*! @param sbuf
CMSampleBuffer being modified. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMSampleBufferInvalidateCallback
@@ -1063,7 +1063,7 @@
The CMSampleBuffer being invalidated. */
uint64_t invalidateRefCon) /*! @param invalidateRefCon
Reference constant provided when the callback was set up. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferSetInvalidateCallback
@@ -1079,7 +1079,7 @@
Pointer to function to be called during CMSampleBufferInvalidate. */
uint64_t invalidateRefCon ) /*! @param invalidateRefCon
Reference constant to be passed to invalidateCallback. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -1089,7 +1089,7 @@
typedef void (^CMSampleBufferInvalidateHandler)
(CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
The CMSampleBuffer being invalidated. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferSetInvalidateHandler
@@ -1103,7 +1103,7 @@
The CMSampleBuffer being modified. */
CMSampleBufferInvalidateHandler CM_NONNULL invalidateHandler ) /*! @param invalidateCallback
Block to be called during CMSampleBufferInvalidate. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
/*!
@@ -1116,7 +1116,7 @@
Boolean CMSampleBufferIsValid(
CMSampleBufferRef CM_NONNULL sbuf ) /*! @param sbuf
The CMSampleBuffer being interrogated. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
@@ -1125,16 +1125,16 @@
@abstract Posted on a CMSampleBuffer by CMSampleBufferSetDataReady when the buffer becomes ready.
*/
CM_EXPORT const CFStringRef kCMSampleBufferNotification_DataBecameReady
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferNotification_DataFailed
@abstract Posted on a CMSampleBuffer by CMSampleBufferSetDataFailed to report that the buffer will never become ready.
*/
CM_EXPORT const CFStringRef kCMSampleBufferNotification_DataFailed
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferNotificationParameter_OSStatus
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferConduitNotification_InhibitOutputUntil
@@ -1149,29 +1149,29 @@
received, the last one indicates the tag to trigger resuming.
*/
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotification_InhibitOutputUntil // payload: CFDictionary containing:
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotificationParameter_ResumeTag // payload: CFNumber
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferConduitNotification_ResetOutput
@abstract Posted on a conduit of CMSampleBuffers (eg, a CMBufferQueue) to request invalidation of pending output data.
*/
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotification_ResetOutput
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged
@abstract Posted on a conduit of video CMSampleBuffers (eg, a CMBufferQueue) to report information about the range of upcoming CMSampleBuffer output presentation timestamps.
*/
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged // payload: CFDictionary containing:
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotificationParameter_UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRange // payload: CFBoolean
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotificationParameter_MinUpcomingOutputPTS // payload: CFDictionary(CMTime)
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferConduitNotificationParameter_MaxUpcomingOutputPTS // payload: CFDictionary(CMTime)
- API_AVAILABLE(macos(10.8), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferConsumerNotification_BufferConsumed
@@ -1185,7 +1185,7 @@
Note that a NULL refcon cannot be attached to a CMSampleBuffer.
*/
CM_EXPORT const CFStringRef kCMSampleBufferConsumerNotification_BufferConsumed // payload: CFDictionary
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -1202,7 +1202,7 @@
CMItemCount CMSampleBufferGetNumSamples(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetDuration
@@ -1215,7 +1215,7 @@
CMTime CMSampleBufferGetDuration(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetPresentationTimeStamp
@@ -1229,7 +1229,7 @@
CMTime CMSampleBufferGetPresentationTimeStamp(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetDecodeTimeStamp
@@ -1242,7 +1242,7 @@
CMTime CMSampleBufferGetDecodeTimeStamp(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetOutputDuration
@@ -1255,7 +1255,7 @@
CMTime CMSampleBufferGetOutputDuration(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetOutputPresentationTimeStamp
@@ -1279,7 +1279,7 @@
CMTime CMSampleBufferGetOutputPresentationTimeStamp(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferSetOutputPresentationTimeStamp
@@ -1301,7 +1301,7 @@
CMTime outputPresentationTimeStamp) /*! @param outputPresentationTimeStamp
New value for OutputPresentationTimeStamp.
Pass kCMTimeInvalid to go back to the default calculation. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetOutputDecodeTimeStamp
@@ -1314,7 +1314,7 @@
CMTime CMSampleBufferGetOutputDecodeTimeStamp(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetSampleTimingInfoArray
@@ -1344,7 +1344,7 @@
to receive the timing info. */
CMItemCount * CM_NULLABLE timingArrayEntriesNeededOut) /*! @param timingArrayEntriesNeededOut
Number of entries needed for the result. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetOutputSampleTimingInfoArray
@@ -1374,7 +1374,7 @@
to receive the timing info. */
CMItemCount * CM_NULLABLE timingArrayEntriesNeededOut) /*! @param timingArrayEntriesNeededOut
Number of entries needed for the result. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetSampleTimingInfo
@@ -1395,7 +1395,7 @@
CMSampleTimingInfo * CM_NONNULL timingInfoOut) /*! @param timingInfoOut
Points to a single CMSampleTimingInfo
struct to receive the timing info. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetSampleSizeArray
@@ -1428,7 +1428,7 @@
to receive the sample sizes. */
CMItemCount * CM_NULLABLE sizeArrayEntriesNeededOut) /*! @param sizeArrayEntriesNeededOut
Number of entries needed for the result. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetSampleSize
@@ -1448,7 +1448,7 @@
CMSampleBuffer being interrogated */
CMItemIndex sampleIndex) /*! @param sampleIndex
Sample index (0 is first sample in sbuf) */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetTotalSampleSize
@@ -1460,7 +1460,7 @@
size_t CMSampleBufferGetTotalSampleSize(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetFormatDescription
@@ -1472,7 +1472,7 @@
CM_NULLABLE CMFormatDescriptionRef CMSampleBufferGetFormatDescription(
CMSampleBufferRef CM_NONNULL sbuf) /*! @param sbuf
CMSampleBuffer being interrogated */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSampleBufferGetSampleAttachmentsArray
@@ -1495,39 +1495,39 @@
Boolean createIfNecessary) /*! @param createIfNecessary
Specifies whether an empty array should be
created (if there are no sample attachments yet). */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
// The following keys may be attached to individual samples via the CMSampleBufferGetSampleAttachmentsArray() interface:
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_NotSync // CFBoolean (absence of this key implies Sync)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_PartialSync // CFBoolean (absence of this key implies not Partial Sync. If NotSync is false, PartialSync should be ignored.)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_HasRedundantCoding // kCFBooleanTrue, kCFBooleanFalse, or absent if unknown
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_IsDependedOnByOthers // kCFBooleanTrue, kCFBooleanFalse, or absent if unknown
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_DependsOnOthers // kCFBooleanTrue (e.g., non-I-frame), kCFBooleanFalse (e.g. I-frame), or absent if unknown
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_EarlierDisplayTimesAllowed // CFBoolean
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// A frame is considered droppable if and only if kCMSampleAttachmentKey_IsDependedOnByOthers is present and set to kCFBooleanFalse.
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_DisplayImmediately // CFBoolean
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_DoNotDisplay // CFBoolean
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
// The following keys may be attached to sample buffers using CMSetAttachment():
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding // CFBoolean
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_DrainAfterDecoding // CFBoolean
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_PostNotificationWhenConsumed // CFDictionary (client-defined)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_ResumeOutput // CFNumber (ResumeTag)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleAttachmentKey_HEVCTemporalLevelInfo
@@ -1539,36 +1539,36 @@
*/
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_HEVCTemporalLevelInfo // CFDictionary(kCMHEVCTemporalLevelInfoKey_*), optional. Corresponds to 'tscl' sample group.
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_TemporalLevel // CFNumber(Int)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_ProfileSpace // CFNumber(Int)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_TierFlag // CFNumber(Int)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_ProfileIndex // CFNumber(Int)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_ProfileCompatibilityFlags // CFData(4 bytes)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_ConstraintIndicatorFlags // CFData(6 bytes)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMHEVCTemporalLevelInfoKey_LevelIndex // CFNumber(Int)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_HEVCTemporalSubLayerAccess // CFBoolean, optional. Corresponds to 'tsas' sample group.
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess // CFBoolean, optional. Corresponds to 'stsa' sample group.
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_HEVCSyncSampleNALUnitType // CFNumber(Int), optional. Corresponds to 'sync' sample group.
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
// The kCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount sample attachment
// is only present if the audio sample is an IndependentFrame (IF, value is non-zero) or ImmediatePlayoutFrame (IPF, value is zero).
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount // CFNumber(Int), optional.
- API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0));
+ API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_TransitionID
@@ -1581,7 +1581,7 @@
identifiable. A CFNumberRef counter that increments with each transition is a simple example.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_TransitionID
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_TrimDurationAtStart
@@ -1598,7 +1598,7 @@
a sample buffer will not adjust an explicitly-set OutputPresentationTimeStamp.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_TrimDurationAtStart // CFDictionary/CMTime, default 0
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_TrimDurationAtEnd
@@ -1609,7 +1609,7 @@
use CMTimeMakeFromDictionary to convert to CMTime.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_TrimDurationAtEnd // CFDictionary/CMTime, default 0
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_SpeedMultiplier
@@ -1625,7 +1625,7 @@
to clarify when each should be output.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_SpeedMultiplier // CFNumber, positive, default 1
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_Reverse
@@ -1635,7 +1635,7 @@
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_Reverse // CFBoolean, default false
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilence
@@ -1646,7 +1646,7 @@
discontinuity by generating silence for the time difference.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilence // CFBoolean, default false
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_EmptyMedia
@@ -1656,7 +1656,7 @@
Marker sample buffers with this attachment are used to announce the arrival of empty edits.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_EmptyMedia // CFBoolean, default false
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_PermanentEmptyMedia
@@ -1666,7 +1666,7 @@
are used to indicate that no further samples are expected.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_PermanentEmptyMedia // CFBoolean, default false
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediately
@@ -1678,7 +1678,7 @@
attachment.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediately
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_EndsPreviousSampleDuration
@@ -1690,7 +1690,7 @@
to provide the timestamp for calculating the final sample buffer's duration.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_EndsPreviousSampleDuration // CFBoolean, default false
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_SampleReferenceURL
@@ -1705,7 +1705,7 @@
- have numSampleTimingEntries > 0 and numSampleSizeEntries > 0
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_SampleReferenceURL // CFURL
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_SampleReferenceByteOffset
@@ -1720,7 +1720,7 @@
- have numSampleTimingEntries > 0 and numSampleSizeEntries > 0
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_SampleReferenceByteOffset // CFNumber, byte offset from beginning of URL to contiguous data
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_GradualDecoderRefresh
@@ -1729,7 +1729,7 @@
Sample buffers with this attachment may be used to identify the audio decoder refresh count.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_GradualDecoderRefresh // CFNumber, audio decoder refresh count
- API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.3), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_DroppedFrameReason
@@ -1739,7 +1739,7 @@
frame. This attachment identifies the reason for the droppage.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_DroppedFrameReason // CFString, frame drop reason
- API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferDroppedFrameReason_FrameWasLate
@@ -1750,7 +1750,7 @@
caused by the client's processing taking too long.
*/
CM_EXPORT const CFStringRef kCMSampleBufferDroppedFrameReason_FrameWasLate
- API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferDroppedFrameReason_OutOfBuffers
@@ -1761,7 +1761,7 @@
buffers for too long and can be alleviated by returning buffers to the provider.
*/
CM_EXPORT const CFStringRef kCMSampleBufferDroppedFrameReason_OutOfBuffers
- API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferDroppedFrameReason_Discontinuity
@@ -1772,7 +1772,7 @@
typically caused by the system being too busy.
*/
CM_EXPORT const CFStringRef kCMSampleBufferDroppedFrameReason_Discontinuity
- API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_DroppedFrameReasonInfo
@@ -1782,7 +1782,7 @@
frame. If present, this attachment provides additional information about the kCMSampleBufferAttachmentKey_DroppedFrameReason.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_DroppedFrameReasonInfo
- API_AVAILABLE(macos(10.10), ios(7.0), tvos(9.0), watchos(6.0)); // CFString, dropped frame reason additional information
+ API_AVAILABLE(macos(10.10), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0)); // CFString, dropped frame reason additional information
/*!
@constant kCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitch
@@ -1793,7 +1793,7 @@
session is configured for still image capture on some devices.
*/
CM_EXPORT const CFStringRef kCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitch
- API_AVAILABLE(macos(10.10), ios(7.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
@@ -1806,14 +1806,14 @@
during the capture. This key will not be present in CMSampleBuffers coming from cameras without a lens stabilization module.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo // CFString, one of kCMSampleBufferLensStabilizationInfo_*
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferLensStabilizationInfo_Active
@abstract The lens stabilization module was active for the duration this buffer.
*/
CM_EXPORT const CFStringRef kCMSampleBufferLensStabilizationInfo_Active // CFString
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferLensStabilizationInfo_OutOfRange
@@ -1823,7 +1823,7 @@
compensate for the movement.
*/
CM_EXPORT const CFStringRef kCMSampleBufferLensStabilizationInfo_OutOfRange // CFString
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferLensStabilizationInfo_Unavailable
@@ -1833,7 +1833,7 @@
to compensate for the motion of the device. The module may be available at a later time.
*/
CM_EXPORT const CFStringRef kCMSampleBufferLensStabilizationInfo_Unavailable // CFString
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferLensStabilizationInfo_Off
@@ -1842,7 +1842,7 @@
The value of kCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo if the lens stabilization module was not used for this capture.
*/
CM_EXPORT const CFStringRef kCMSampleBufferLensStabilizationInfo_Off // CFString
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix
@@ -1856,7 +1856,7 @@
ox and oy are the coordinates of the principal point. The origin is the upper left of the frame.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix // CFData (matrix_float3x3)
- API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0));
+ API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMSampleBufferAttachmentKey_ForceKeyFrame
@@ -1868,7 +1868,7 @@
Usual care should be taken when setting attachments on sample buffers whose orgins and destinations are ambiguous. For example, CMSetAttachment() is not thread-safe, and CMSampleBuffers may be used in multiple sample buffer streams in a given system. This can lead to crashes during concurrent access and/or unexpected behavior on alternate sample buffer streams. Therefore, unless the orgin and destination of a sample buffer is known, the general recommended practice is to synthesize an empty sample buffer with this attachment alone and insert it into the sample buffer stream ahead of the concrete sample buffer rather than setting this attachment on the concrete sample buffer itself.
*/
CM_EXPORT const CFStringRef kCMSampleBufferAttachmentKey_ForceKeyFrame
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0)); // CFBoolean
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0)); // CFBoolean
/*!
@constant kCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData
@@ -1877,7 +1877,7 @@
The attachment is CFData containing one or more "BytesOfClearData"/"BytesOfProtectedData" pairs as appears in the 'senc' box (see ISO/IEC 23001-7 section 7.2.2). The "BytesOfClearData” and the "BytesOfProtectedData” fields are 32-bit integers. Both are native endian in the CFData. This attachment is not present if the CMSampleBuffer contains unprotected content.
*/
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData // CFData
- API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+ API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0));
/*!
@constant kCMSampleAttachmentKey_HDR10PlusPerFrameData
@@ -1886,7 +1886,7 @@
The attachment is CFData containing HDR10+ metadata within an User Data Registered ITU-T T-35 SEI message (see ISO/IEC 23008-2-2020 section D.3.6) as little endian in the CFData. This attachment will override any HDR10+ metadata stored within the compressed data. The data shall start with the field itu_t_t35_country_code with the value 0xb5.
*/
CM_EXPORT const CFStringRef kCMSampleAttachmentKey_HDR10PlusPerFrameData // CFData
- API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0));
+ API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -1914,7 +1914,7 @@
Function to be called for each individual sample. */
void * CM_NULLABLE refcon ) /*! @param refcon
Refcon to be passed to the callback function. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#if __BLOCKS__
/*!
@@ -1936,7 +1936,7 @@
OSStatus (^ CM_NONNULL CF_NOESCAPE handler)( CMSampleBufferRef CM_NONNULL sampleBuffer, CMItemCount index ) )
/*! @param handler
Block to be called for each individual sample. */
- API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(8.0), tvos(9.0), watchos(6.0), visionos(1.0));
#endif // __BLOCKS__
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h 2024-04-08 10:07:22
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSimpleQueue.h 2024-05-30 05:17:38
@@ -64,7 +64,7 @@
kCMSimpleQueueError_RequiredParameterMissing = -12771,
kCMSimpleQueueError_ParameterOutOfRange = -12772,
kCMSimpleQueueError_QueueIsFull = -12773,
-} API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
//=============================================================================
// Types
@@ -75,7 +75,7 @@
@abstract A reference to a CMSimpleQueue, a CF object that implements a simple lockless queue of (void *) elements.
*/
-typedef struct CM_BRIDGED_TYPE(id) opaqueCMSimpleQueue *CMSimpleQueueRef API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0)) CM_SWIFT_NONSENDABLE;
+typedef struct CM_BRIDGED_TYPE(id) opaqueCMSimpleQueue *CMSimpleQueueRef API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_NONSENDABLE;
//=============================================================================
@@ -88,7 +88,7 @@
*/
CM_EXPORT
CFTypeID CMSimpleQueueGetTypeID(void)
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueCreate
@@ -106,7 +106,7 @@
given time). Required (must not be 0). Must be a positive value. */
CM_RETURNS_RETAINED_PARAMETER CMSimpleQueueRef CM_NULLABLE * CM_NONNULL queueOut) /*! @param queueOut Returned newly created queue is written to this address.
Must not be NULL. */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueEnqueue
@@ -121,7 +121,7 @@
const void * CM_NONNULL element) /*! @param element
Element to enqueue. Must not be NULL (NULL is returned from Dequeue
to indicate an empty queue). */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueDequeue
@@ -133,7 +133,7 @@
const void * CM_NULLABLE CMSimpleQueueDequeue(
CMSimpleQueueRef CM_NONNULL queue) /*! @param queue
The queue from which to dequeue an element. Must not be NULL. */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueGetHead
@@ -145,7 +145,7 @@
const void * CM_NULLABLE CMSimpleQueueGetHead(
CMSimpleQueueRef CM_NONNULL queue) /*! @param queue
The queue from which to get the head element. Must not be NULL. */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueReset
@@ -160,7 +160,7 @@
OSStatus CMSimpleQueueReset(
CMSimpleQueueRef CM_NONNULL queue) /*! @param queue
The queue to reset. Must not be NULL. */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueGetCapacity
@@ -172,7 +172,7 @@
int32_t CMSimpleQueueGetCapacity(
CMSimpleQueueRef CM_NONNULL queue) /*! @param queue
The queue being interrogated. Must not be NULL. */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSimpleQueueGetCount
@@ -183,7 +183,7 @@
int32_t CMSimpleQueueGetCount(
CMSimpleQueueRef CM_NONNULL queue) /*! @param queue
The queue being interrogated. Must not be NULL. */
- API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(5.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@define CMSimpleQueueGetFullness
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h 2024-04-08 10:26:26
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMSync.h 2024-05-30 02:28:08
@@ -37,7 +37,7 @@
Additionally, the CMSync infrastructure monitors relative drift between CMClocks.
*/
-typedef struct CM_BRIDGED_TYPE(id) OpaqueCMClock* CMClockRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE; // a CF type; use CFRetain and CFRelease
+typedef struct CM_BRIDGED_TYPE(id) OpaqueCMClock* CMClockRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE; // a CF type; use CFRetain and CFRelease
/*!
@typedef CMTimebase
@@ -57,9 +57,9 @@
the timebase's time changes relative to the ultimate source clock.
*/
-typedef struct CM_BRIDGED_TYPE(id) OpaqueCMTimebase* CMTimebaseRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE; // a CF type; use CFRetain and CFRelease
+typedef struct CM_BRIDGED_TYPE(id) OpaqueCMTimebase* CMTimebaseRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE; // a CF type; use CFRetain and CFRelease
-typedef CM_BRIDGED_TYPE(id) CFTypeRef CMClockOrTimebaseRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0)) CM_SWIFT_SENDABLE; // used in argument lists and function results to indicate that either may be passed
+typedef CM_BRIDGED_TYPE(id) CFTypeRef CMClockOrTimebaseRef API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0)) CM_SWIFT_SENDABLE; // used in argument lists and function results to indicate that either may be passed
#ifndef CMTIMEBASE_USE_SOURCE_TERMINOLOGY
#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= __MAC_12_0) || (__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= __IPHONE_15_0) || (__ENVIRONMENT_TV_OS_VERSION_MIN_REQUIRED__ >= __TVOS_15_0) || (__ENVIRONMENT_WATCH_OS_VERSION_MIN_REQUIRED__ >= __WATCHOS_8_0) || 0
@@ -81,7 +81,7 @@
kCMClockError_InvalidParameter = -12746,
kCMClockError_AllocationFailed = -12747,
kCMClockError_UnsupportedOperation = -12756,
-} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
// CMTimebase error codes
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
@@ -95,7 +95,7 @@
kCMTimebaseError_AllocationFailed = -12750,
kCMTimebaseError_TimerIntervalTooShort = -12751,
kCMTimebaseError_ReadOnly = -12757,
-} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
// CMSync error codes
#if COREMEDIA_USE_DERIVED_ENUMS_FOR_CONSTANTS
@@ -108,7 +108,7 @@
kCMSyncError_InvalidParameter = -12753,
kCMSyncError_AllocationFailed = -12754,
kCMSyncError_RateMustBeNonZero = -12755,
-} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockGetTypeID
@@ -116,7 +116,7 @@
*/
CM_EXPORT CFTypeID
CMClockGetTypeID( void )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockGetHostTimeClock
@@ -127,7 +127,7 @@
*/
CM_EXPORT CMClockRef CM_NONNULL
CMClockGetHostTimeClock( void )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockConvertHostTimeToSystemUnits
@@ -140,7 +140,7 @@
*/
CM_EXPORT uint64_t
CMClockConvertHostTimeToSystemUnits( CMTime hostTime )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockMakeHostTimeFromSystemUnits
@@ -153,7 +153,7 @@
*/
CM_EXPORT CMTime
CMClockMakeHostTimeFromSystemUnits( uint64_t hostTime )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockGetTime
@@ -162,7 +162,7 @@
CM_EXPORT CMTime
CMClockGetTime(
CMClockRef CM_NONNULL clock )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockGetAnchorTime
@@ -174,7 +174,7 @@
CMClockRef CM_NONNULL clock,
CMTime * CM_NONNULL clockTimeOut,
CMTime * CM_NONNULL referenceClockTimeOut )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockMightDrift
@@ -184,7 +184,7 @@
CMClockMightDrift(
CMClockRef CM_NONNULL clock,
CMClockRef CM_NONNULL otherClock )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMClockInvalidate
@@ -197,7 +197,7 @@
CM_EXPORT void
CMClockInvalidate(
CMClockRef CM_NONNULL clock )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -206,7 +206,7 @@
*/
CM_EXPORT CFTypeID
CMTimebaseGetTypeID( void )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
@@ -223,14 +223,14 @@
CFAllocatorRef CM_NULLABLE allocator,
CMClockRef CM_NONNULL sourceClock,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline OSStatus
CMTimebaseCreateWithMasterClock(
CFAllocatorRef CM_NULLABLE allocator,
CMClockRef CM_NONNULL masterClock,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0, 1.0))
{
return CMTimebaseCreateWithSourceClock(allocator, masterClock, timebaseOut);
}
@@ -240,13 +240,13 @@
CFAllocatorRef CM_NULLABLE allocator,
CMClockRef CM_NONNULL masterClock,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline OSStatus
CMTimebaseCreateWithSourceClock(
CFAllocatorRef CM_NULLABLE allocator,
CMClockRef CM_NONNULL sourceClock,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseCreateWithMasterClock(allocator, sourceClock, timebaseOut);
}
@@ -264,14 +264,14 @@
CFAllocatorRef CM_NULLABLE allocator,
CMTimebaseRef CM_NONNULL sourceTimebase,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline OSStatus
CMTimebaseCreateWithMasterTimebase(
CFAllocatorRef CM_NULLABLE allocator,
CMTimebaseRef CM_NONNULL masterTimebase,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseCreateWithSourceTimebase(allocator, masterTimebase, timebaseOut);
}
@@ -281,13 +281,13 @@
CFAllocatorRef CM_NULLABLE allocator,
CMTimebaseRef CM_NONNULL masterTimebase,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCreateWithSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline OSStatus
CMTimebaseCreateWithSourceTimebase(
CFAllocatorRef CM_NULLABLE allocator,
CMTimebaseRef CM_NONNULL sourceTimebase,
CM_RETURNS_RETAINED_PARAMETER CMTimebaseRef CM_NULLABLE * CM_NONNULL timebaseOut )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseCreateWithMasterTimebase(allocator, sourceTimebase, timebaseOut);
}
@@ -305,11 +305,11 @@
CM_EXPORT CMTimebaseRef CM_NULLABLE
CMTimebaseCopySourceTimebase(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline CMTimebaseRef CM_NULLABLE
CMTimebaseCopyMasterTimebase(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceTimebase", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceTimebase", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseCopySourceTimebase(timebase);
}
@@ -317,11 +317,11 @@
CM_EXPORT CMTimebaseRef CM_NULLABLE
CMTimebaseCopyMasterTimebase(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceTimebase", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceTimebase", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline CMTimebaseRef CM_NULLABLE
CMTimebaseCopySourceTimebase(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseCopyMasterTimebase(timebase);
}
@@ -337,11 +337,11 @@
CM_EXPORT CMClockRef CM_NULLABLE
CMTimebaseCopySourceClock(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline CMClockRef CM_NULLABLE
CMTimebaseCopyMasterClock(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseCopySourceClock(timebase);
}
@@ -349,11 +349,11 @@
CM_EXPORT CMClockRef CM_NULLABLE
CMTimebaseCopyMasterClock(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline CMClockRef CM_NULLABLE
CMTimebaseCopySourceClock(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseCopyMasterClock(timebase);
}
@@ -369,11 +369,11 @@
CM_EXPORT CMClockOrTimebaseRef CM_NONNULL
CMTimebaseCopySource(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline CMClockOrTimebaseRef CM_NONNULL
CMTimebaseCopyMaster(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySource", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySource", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseCopySource(timebase);
}
@@ -381,11 +381,11 @@
CM_EXPORT CMClockOrTimebaseRef CM_NONNULL
CMTimebaseCopyMaster(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySource", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySource", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline CMClockOrTimebaseRef CM_NONNULL
CMTimebaseCopySource(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseCopyMaster(timebase);
}
@@ -399,11 +399,11 @@
CM_EXPORT CMClockRef CM_NONNULL
CMTimebaseCopyUltimateSourceClock(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline CMClockRef CM_NONNULL
CMTimebaseCopyUltimateMasterClock(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopyUltimateSourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopyUltimateSourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseCopyUltimateSourceClock(timebase);
}
@@ -411,11 +411,11 @@
CM_EXPORT CMClockRef CM_NONNULL
CMTimebaseCopyUltimateMasterClock(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopyUltimateSourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopyUltimateSourceClock", macos(10.11,10.11), ios(9.0,9.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline CMClockRef CM_NONNULL
CMTimebaseCopyUltimateSourceClock(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseCopyUltimateMasterClock(timebase);
}
@@ -431,7 +431,7 @@
CM_EXPORT CMTimebaseRef CM_NULLABLE
CMTimebaseGetMasterTimebase(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceTimebase", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0)) API_UNAVAILABLE(watchos);
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceTimebase", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
/*!
@function CMTimebaseGetMasterClock
@@ -443,7 +443,7 @@
CM_EXPORT CMClockRef CM_NULLABLE
CMTimebaseGetMasterClock(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceClock", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0)) API_UNAVAILABLE(watchos);
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySourceClock", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
/*!
@function CMTimebaseGetMaster
@@ -456,7 +456,7 @@
CM_EXPORT CMClockOrTimebaseRef CM_NULLABLE
CMTimebaseGetMaster(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySource", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0)) API_UNAVAILABLE(watchos);
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopySource", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
/*!
@function CMTimebaseGetUltimateMasterClock
@@ -467,7 +467,7 @@
CM_EXPORT CMClockRef CM_NULLABLE
CMTimebaseGetUltimateMasterClock(
CMTimebaseRef CM_NONNULL timebase )
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopyUltimateSourceClock", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0)) API_UNAVAILABLE(watchos);
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseCopyUltimateSourceClock", macos(10.8, 10.11), ios(6.0, 9.0), tvos(9.0, 9.0), visionos(1.0, 1.0)) API_UNAVAILABLE(watchos);
/*!
@function CMTimebaseSetSourceClock
@@ -484,11 +484,11 @@
CM_EXPORT OSStatus CMTimebaseSetSourceClock(
CMTimebaseRef CM_NONNULL timebase,
CMClockRef CM_NONNULL newSourceClock)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline OSStatus CMTimebaseSetMasterClock(
CMTimebaseRef CM_NONNULL timebase,
CMClockRef CM_NONNULL newMasterClock)
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseSetSourceClock(timebase, newMasterClock);
}
@@ -496,11 +496,11 @@
CM_EXPORT OSStatus CMTimebaseSetMasterClock(
CMTimebaseRef CM_NONNULL timebase,
CMClockRef CM_NONNULL newMasterClock)
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceClock", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline OSStatus CMTimebaseSetSourceClock(
CMTimebaseRef CM_NONNULL timebase,
CMClockRef CM_NONNULL newSourceClock)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseSetMasterClock(timebase, newSourceClock);
}
@@ -521,11 +521,11 @@
CM_EXPORT OSStatus CMTimebaseSetSourceTimebase(
CMTimebaseRef CM_NONNULL timebase,
CMTimebaseRef CM_NONNULL newSourceTimebase)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
static inline OSStatus CMTimebaseSetMasterTimebase(
CMTimebaseRef CM_NONNULL timebase,
CMTimebaseRef CM_NONNULL newMasterTimebase)
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0))
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0))
{
return CMTimebaseSetSourceTimebase(timebase, newMasterTimebase);
}
@@ -533,11 +533,11 @@
CM_EXPORT OSStatus CMTimebaseSetMasterTimebase(
CMTimebaseRef CM_NONNULL timebase,
CMTimebaseRef CM_NONNULL newMasterTimebase)
- API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0));
+ API_DEPRECATED_WITH_REPLACEMENT("CMTimebaseSetSourceTimebase", macos(10.8,10.10), ios(6.0,8.0), tvos(9.0,9.0), watchos(6.0,6.0), visionos(1.0,1.0));
static inline OSStatus CMTimebaseSetSourceTimebase(
CMTimebaseRef CM_NONNULL timebase,
CMTimebaseRef CM_NONNULL newSourceTimebase)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0))
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0))
{
return CMTimebaseSetMasterTimebase(timebase, newSourceTimebase);
}
@@ -550,7 +550,7 @@
CM_EXPORT CMTime
CMTimebaseGetTime(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseGetTimeWithTimeScale
@@ -561,7 +561,7 @@
CMTimebaseRef CM_NONNULL timebase,
CMTimeScale timescale,
CMTimeRoundingMethod method)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetTime
@@ -571,7 +571,7 @@
CMTimebaseSetTime(
CMTimebaseRef CM_NONNULL timebase,
CMTime time )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetAnchorTime
@@ -588,7 +588,7 @@
CMTimebaseRef CM_NONNULL timebase,
CMTime timebaseTime,
CMTime immediateSourceTime)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseGetRate
@@ -600,7 +600,7 @@
CM_EXPORT Float64
CMTimebaseGetRate(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseGetTimeAndRate
@@ -614,7 +614,7 @@
CMTimebaseRef CM_NONNULL timebase,
CMTime * CM_NULLABLE timeOut,
Float64 * CM_NULLABLE rateOut )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetRate
@@ -624,7 +624,7 @@
CMTimebaseSetRate(
CMTimebaseRef CM_NONNULL timebase,
Float64 rate )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetRateAndAnchorTime
@@ -645,7 +645,7 @@
Float64 rate,
CMTime timebaseTime,
CMTime immediateSourceTime)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseGetEffectiveRate
@@ -659,7 +659,7 @@
CM_EXPORT Float64
CMTimebaseGetEffectiveRate(
CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseAddTimer
@@ -680,7 +680,7 @@
CMTimebaseRef CM_NONNULL timebase,
CFRunLoopTimerRef CM_NONNULL timer,
CFRunLoopRef CM_NONNULL runloop )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMTimebaseVeryLongCFTimeInterval (CFTimeInterval)(256.0 * 365.0 * 24.0 * 60.0 * 60.0) // quite a while
#define kCMTimebaseFarFutureCFAbsoluteTime ((CFAbsoluteTime)kCMTimebaseVeryLongCFTimeInterval) // quite a while from 2001
@@ -698,7 +698,7 @@
CMTimebaseRemoveTimer(
CMTimebaseRef CM_NONNULL timebase,
CFRunLoopTimerRef CM_NONNULL timer )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetTimerNextFireTime
@@ -725,7 +725,7 @@
CFRunLoopTimerRef CM_NONNULL timer,
CMTime fireTime,
uint32_t flags ) // reserved, pass zero
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetTimerToFireImmediately
@@ -741,7 +741,7 @@
CMTimebaseSetTimerToFireImmediately(
CMTimebaseRef CM_NONNULL timebase,
CFRunLoopTimerRef CM_NONNULL timer )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -766,7 +766,7 @@
CMTimebaseAddTimerDispatchSource(
CMTimebaseRef CM_NONNULL timebase,
dispatch_source_t CM_NONNULL timerSource )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -782,7 +782,7 @@
CMTimebaseRemoveTimerDispatchSource(
CMTimebaseRef CM_NONNULL timebase,
dispatch_source_t CM_NONNULL timerSource )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetTimerDispatchSourceNextFireTime
@@ -809,7 +809,7 @@
dispatch_source_t CM_NONNULL timerSource,
CMTime fireTime,
uint32_t flags ) // reserved, pass zero
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseSetTimerDispatchSourceToFireImmediately
@@ -826,7 +826,7 @@
CMTimebaseSetTimerDispatchSourceToFireImmediately(
CMTimebaseRef CM_NONNULL timebase,
dispatch_source_t CM_NONNULL timerSource )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
@@ -848,7 +848,7 @@
CMSyncGetRelativeRate(
CMClockOrTimebaseRef CM_NONNULL ofClockOrTimebase,
CMClockOrTimebaseRef CM_NONNULL relativeToClockOrTimebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSyncGetRelativeRateAndAnchorTime
@@ -867,7 +867,7 @@
Float64* CM_NULLABLE outRelativeRate,
CMTime* CM_NULLABLE outOfClockOrTimebaseAnchorTime,
CMTime* CM_NULLABLE outRelativeToClockOrTimebaseAnchorTime)
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSyncConvertTime
@@ -884,7 +884,7 @@
CMTime time,
CMClockOrTimebaseRef CM_NONNULL fromClockOrTimebase,
CMClockOrTimebaseRef CM_NONNULL toClockOrTimebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSyncMightDrift
@@ -897,7 +897,7 @@
CMSyncMightDrift(
CMClockOrTimebaseRef CM_NONNULL clockOrTimebase1,
CMClockOrTimebaseRef CM_NONNULL clockOrTimebase2 )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMSyncGetTime
@@ -912,28 +912,28 @@
CM_EXPORT CMTime
CMSyncGetTime(
CMClockOrTimebaseRef CM_NONNULL clockOrTimebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimebaseNotificationBarrier
@abstract Requests that the timebase wait until it is not posting any notifications.
*/
CM_EXPORT OSStatus CMTimebaseNotificationBarrier(CMTimebaseRef CM_NONNULL timebase )
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
// Posted by a timebase after a change in effective rate.
CM_EXPORT const CFStringRef kCMTimebaseNotification_EffectiveRateChanged
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Posted by a timebase after a discontinuous time jump.
CM_EXPORT const CFStringRef kCMTimebaseNotification_TimeJumped
- API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.8), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
// Payload key for the time at which a change in effective rate or a discontinuous time jump occurred.
CM_EXPORT const CFStringRef kCMTimebaseNotificationKey_EventTime
- API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTag.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTag.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTag.h 2024-04-17 07:06:45
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTag.h 2024-05-30 10:44:39
@@ -36,7 +36,7 @@
{
kCMTagError_ParamErr = -15730,
kCMTagError_AllocationFailed = -15731,
-} CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTagCategory enums
@@ -69,7 +69,7 @@
kCMTagCategory_ProjectionType = 'proj',
kCMTagCategory_StereoView = 'eyes',
kCMTagCategory_StereoViewInterpretation = 'eyip',
-} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTagDataType enums
@@ -88,7 +88,7 @@
kCMTagDataType_Float64 = 3,
kCMTagDataType_OSType = 5,
kCMTagDataType_Flags = 7,
-} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTagValue
@@ -97,7 +97,7 @@
@abstract 64-bit value interpreted within the context of the CMTagCategory.
@discussion The 64-bit value can be one of several data types fitting within that range and holding a category-specific value. Data types include numeric and non-numeric types. Examples of numeric include a signed 64-bit integer and a 64-bit floating point value. Non-numeric types include a single OSType and an OSType pair. The value may hold values including discrete values, bit flags, enums representable as a signed 64-bit integer or float and values encoding any of these.
*/
-typedef uint64_t CMTagValue CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+typedef uint64_t CMTagValue CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag
@@ -113,8 +113,8 @@
CMTagCategory category;
CMTagDataType dataType;
CMTagValue value;
-} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
-typedef struct CMTag CMTag CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
+typedef struct CMTag CMTag CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag data type and value accessors
@@ -124,7 +124,7 @@
@param tag The CMTag to evaluate.
@result Returns false if the tag's dataType is kCMTagDataType_Invalid, true otherwise.
*/
-CM_INLINE Boolean CMTagIsValid( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_INLINE Boolean CMTagIsValid( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagGetValueDataType
@@ -132,7 +132,7 @@
@param tag CMTag from which to extract the data type.
@result kCMTagDataType_* value.
*/
-CM_EXPORT CMTagDataType CMTagGetValueDataType( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTagDataType CMTagGetValueDataType( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag constants
@@ -140,7 +140,7 @@
@constant kCMTagInvalid
@abstract CMTag with an unspecified or "null" value.
*/
-CM_EXPORT const CMTag kCMTagInvalid CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagInvalid CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - MediaType convenience tags
@@ -148,25 +148,25 @@
@constant kCMTagMediaTypeVideo
@abstract A CMTag of category kCMTagCategory_MediaType and the value kCMMediaType_Video (OSType).
*/
-CM_EXPORT const CMTag kCMTagMediaTypeVideo CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagMediaTypeVideo CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagMediaSubTypeMebx
@abstract A CMTag of category kCMTagCategory_MediaType and the value kCMMetadataFormatType_Boxed (OSType).
*/
-CM_EXPORT const CMTag kCMTagMediaSubTypeMebx CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagMediaSubTypeMebx CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagMediaTypeAudio
@abstract A CMTag of category kCMTagCategory_MediaType and the value kCMMediaType_Audio (OSType).
*/
-CM_EXPORT const CMTag kCMTagMediaTypeAudio CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagMediaTypeAudio CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagMediaTypeMetadata
@abstract A CMTag of category kCMTagCategory_MediaType and the value kCMMediaType_Metadata (OSType).
*/
-CM_EXPORT const CMTag kCMTagMediaTypeMetadata CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagMediaTypeMetadata CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - StereoView data types and convenience tags
@@ -186,31 +186,31 @@
kCMStereoView_None = 0,
kCMStereoView_LeftEye = 1UL << 0,
kCMStereoView_RightEye = 1UL << 1
-} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagStereoLeftEye
@abstract A CMTag of category kCMTagCategory_StereoView and the value kCMTagStereoViewComponent_LeftEye (Flags).
*/
-CM_EXPORT const CMTag kCMTagStereoLeftEye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagStereoLeftEye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagStereoRightEye
@abstract A CMTag of category kCMTagCategory_StereoView and the value kCMTagStereoViewComponent_RightEye (Flags).
*/
-CM_EXPORT const CMTag kCMTagStereoRightEye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagStereoRightEye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagStereoLeftAndRightEye
@abstract A CMTag of category kCMTagCategory_StereoView and the value of the bitwise OR of kCMTagStereoViewComponent_LeftEye and kCMTagStereoViewComponent_RightEye (Flags).
*/
-CM_EXPORT const CMTag kCMTagStereoLeftAndRightEye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagStereoLeftAndRightEye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagStereoNone
@abstract A CMTag of category kCMTagCategory_StereoView and the value of kCMTagStereoViewComponent_None. (Flags)
*/
-CM_EXPORT const CMTag kCMTagStereoNone CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagStereoNone CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - StereoViewInterpretation data types and convenience tags
@@ -226,13 +226,13 @@
kCMStereoViewInterpretation_Default = 0,
kCMStereoViewInterpretation_StereoOrderReversed = 1UL << 0,
kCMStereoViewInterpretation_AdditionalViews = 1UL << 1
-} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagStereoInterpretationOrderReversed
@abstract A CMTag of category kCMTagCategory_StereoViewInterpretation and the value of kCMStereoViewInterpretation_StereoOrderReversed (Flags).
*/
-CM_EXPORT const CMTag kCMTagStereoInterpretationOrderReversed CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagStereoInterpretationOrderReversed CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - ProjectionType data types and convenience tags
@@ -250,25 +250,32 @@
kCMProjectionType_Equirectangular = 'equi',
kCMProjectionType_HalfEquirectangular = 'hequ',
kCMProjectionType_Fisheye = 'fish',
-} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagProjectionTypeRectangular
@abstract A CMTag of category kCMTagCategory_ProjectionType and the value kCMTagProjectionType_Rectangular (OSType).
*/
-CM_EXPORT const CMTag kCMTagProjectionTypeRectangular CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagProjectionTypeRectangular CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagProjectionTypeEquirectangular
@abstract A CMTag of category kCMTagCategory_ProjectionType and the value kCMTagProjectionType_Equirectangular (OSType).
*/
-CM_EXPORT const CMTag kCMTagProjectionTypeEquirectangular CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagProjectionTypeEquirectangular CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
+ @constant kCMTagProjectionTypeHalfEquirectangular
+ @abstract A CMTag of category kCMTagCategory_ProjectionType and the value kCMProjectionType_HalfEquirectangular (OSType).
+ */
+CM_EXPORT const CMTag kCMTagProjectionTypeHalfEquirectangular
+ API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), watchos(11.0), visionos(2.0));
+
+/*!
@constant kCMTagProjectionTypeFisheye
@abstract A CMTag of category kCMTagCategory_ProjectionType and the value kCMTagProjectionType_Fisheye (OSType).
*/
-CM_EXPORT const CMTag kCMTagProjectionTypeFisheye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagProjectionTypeFisheye CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - PackingType data types and convenience tags
@@ -284,25 +291,25 @@
kCMPackingType_None = 'none',
kCMPackingType_SideBySide = 'side',
kCMPackingType_OverUnder = 'over',
-} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagPackingTypeNone
@abstract A CMTag of category kCMTagCategory_PackingType and the value kCMTagPackingType_None (OStype).
*/
-CM_EXPORT const CMTag kCMTagPackingTypeNone CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagPackingTypeNone CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagPackingTypeSideBySide
@abstract A CMTag of category kCMTagCategory_PackingType and the value kCMTagPackingType_SideBySide (OStype).
*/
-CM_EXPORT const CMTag kCMTagPackingTypeSideBySide CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagPackingTypeSideBySide CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagPackingTypeOverUnder
@abstract A CMTag of category kCMTagCategory_PackingType and the value kCMTagPackingType_OverUnder (OStype).
*/
-CM_EXPORT const CMTag kCMTagPackingTypeOverUnder CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CMTag kCMTagPackingTypeOverUnder CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag accessors and creation
@@ -312,7 +319,7 @@
@param tag CMTag to access.
@result CMTagCategory of the tag.
*/
-CM_INLINE CMTagCategory CMTagGetCategory( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_INLINE CMTagCategory CMTagGetCategory( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCategoryEqualToTagCategory
@@ -322,7 +329,7 @@
@param tag2 Second CMTag to test.
@result Boolean indicating if the tag categories are equal.
*/
-CM_INLINE Boolean CMTagCategoryEqualToTagCategory( CMTag tag1, CMTag tag2 ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_INLINE Boolean CMTagCategoryEqualToTagCategory( CMTag tag1, CMTag tag2 ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagGetValue
@@ -331,7 +338,7 @@
@param tag CMTag to access.
@result CMTagValue of the tag.
*/
-CM_INLINE CMTagValue CMTagGetValue( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_INLINE CMTagValue CMTagGetValue( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagHasCategory
@@ -340,7 +347,7 @@
@param category CMTagCategory to check for.
@result CMTagCategory of the tag.
*/
-CM_INLINE Boolean CMTagHasCategory( CMTag tag, CMTagCategory category ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_INLINE Boolean CMTagHasCategory( CMTag tag, CMTagCategory category ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagHasSInt64Value
@@ -348,7 +355,7 @@
@param tag CMTag to evaluate.
@result Returns true if the CMTag carries a signed 64-bit value indicated by a data type of kCMTagDataType_SInt64, false otherwise.
*/
-CM_EXPORT Boolean CMTagHasSInt64Value( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagHasSInt64Value( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagGetSInt64Value
@@ -357,7 +364,7 @@
@param tag CMTag to evaluate.
@result Signed 64-bit integer.
*/
-CM_EXPORT int64_t CMTagGetSInt64Value( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT int64_t CMTagGetSInt64Value( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagHasFloat64Value
@@ -365,7 +372,7 @@
@param tag CMTag to evaluate.
@result Returns true if the CMTag carries a 64-bit float indicated by a data type of kCMTagDataType_Float64, false otherwise.
*/
-CM_EXPORT Boolean CMTagHasFloat64Value( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagHasFloat64Value( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagGetFloat64Value
@@ -374,7 +381,7 @@
@param tag CMTag to evaluate.
@result 64-bit float.
*/
-CM_EXPORT Float64 CMTagGetFloat64Value( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Float64 CMTagGetFloat64Value( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagHasOSTypeValue
@@ -382,7 +389,7 @@
@param tag CMTag to evaluate.
@result Returns true if the CMTag carries an OSType indicated by a data type of kCMTagDataType_OSType, false otherwise.
*/
-CM_EXPORT Boolean CMTagHasOSTypeValue( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagHasOSTypeValue( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagGetOSTypeValue
@@ -391,7 +398,7 @@
@param tag CMTag to evaluate.
@result OSType.
*/
-CM_EXPORT OSType CMTagGetOSTypeValue( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT OSType CMTagGetOSTypeValue( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagHasFlagsValue
@@ -399,7 +406,7 @@
@param tag CMTag to evaluate.
@result Returns true if the CMTag carries 64 bits of flags indicated by a data type of kCMTagDataType_Flags, false otherwise.
*/
-CM_EXPORT Boolean CMTagHasFlagsValue( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagHasFlagsValue( CMTag tag ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagGetFlagsValue
@@ -408,7 +415,7 @@
@param tag CMTag to evaluate.
@result Unsigned 64-bit integer holding the flags value.
*/
-CM_EXPORT uint64_t CMTagGetFlagsValue( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT uint64_t CMTagGetFlagsValue( CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag creation functions
@@ -420,7 +427,7 @@
@param value A signed 64-bit integer to encode in the returned CMTag.
@result A CMTag.
*/
-CM_EXPORT CMTag CMTagMakeWithSInt64Value( CMTagCategory category, int64_t value ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTag CMTagMakeWithSInt64Value( CMTagCategory category, int64_t value ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagMakeWithFloat64Value
@@ -430,7 +437,7 @@
@param value A 64-bit float to encode in the returned CMTag.
@result A CMTag.
*/
-CM_EXPORT CMTag CMTagMakeWithFloat64Value( CMTagCategory category, Float64 value ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTag CMTagMakeWithFloat64Value( CMTagCategory category, Float64 value ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagMakeWithOSTypeValue
@@ -440,7 +447,7 @@
@param value An OSType to encode in the returned CMTag.
@result A CMTag.
*/
-CM_EXPORT CMTag CMTagMakeWithOSTypeValue( CMTagCategory category, OSType value ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTag CMTagMakeWithOSTypeValue( CMTagCategory category, OSType value ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@@ -451,7 +458,7 @@
@param flagsForTag An unsigned 64-bit integer to encode in the returned CMTag.
@result A CMTag.
*/
-CM_EXPORT CMTag CMTagMakeWithFlagsValue( CMTagCategory category, uint64_t flagsForTag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTag CMTagMakeWithFlagsValue( CMTagCategory category, uint64_t flagsForTag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag equality
@@ -467,7 +474,7 @@
@param tag2 Second CMTag to test for equality.
@result Returns true if the two tags are equal, false otherwise.
*/
-CM_EXPORT Boolean CMTagEqualToTag( CMTag tag1, CMTag tag2 ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagEqualToTag( CMTag tag1, CMTag tag2 ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCompare
@@ -477,7 +484,7 @@
@param tag2 Second CMTag to compare in ordered fashion.
@result The CFComparisonResult indicating the order of tag1 compared to tag2.
*/
-CM_EXPORT CFComparisonResult CMTagCompare( CMTag tag1, CMTag tag2 ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CFComparisonResult CMTagCompare( CMTag tag1, CMTag tag2 ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCategoryValueEqualToValue
@@ -487,7 +494,7 @@
@param tag2 Second CMTag to test for equality.
@result Boolean indicating if the tag values are equal.
*/
-CM_INLINE Boolean CMTagCategoryValueEqualToValue( CMTag tag1, CMTag tag2 ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_INLINE Boolean CMTagCategoryValueEqualToValue( CMTag tag1, CMTag tag2 ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagHash
@@ -495,7 +502,7 @@
@param tag CMTag to hash.
@result The created CFHashCode.
*/
-CM_EXPORT CFHashCode CMTagHash( CMTag tag) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CFHashCode CMTagHash( CMTag tag) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCopyDescription
@@ -508,7 +515,7 @@
CM_EXPORT CFStringRef CM_NULLABLE CMTagCopyDescription(
CFAllocatorRef CM_NULLABLE allocator,
CMTag tag ) CF_REFINED_FOR_SWIFT
-API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag serialization
@@ -523,7 +530,7 @@
CM_EXPORT CFDictionaryRef CM_NULLABLE CMTagCopyAsDictionary(
CMTag tag,
CFAllocatorRef CM_NULLABLE allocator) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagMakeFromDictionary
@abstract Reconstitutes a CMTag struct from a CFDictionary previously created by CMTagCopyAsDictionary.
@@ -533,7 +540,7 @@
*/
CM_EXPORT CMTag CMTagMakeFromDictionary(
CFDictionaryRef CM_NONNULL dict) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Tag Dictionary Keys
@@ -541,19 +548,19 @@
@constant kCMTagValueKey
@discussion CFDictionary key for value field of a CMTag.
*/
-CM_EXPORT const CFStringRef kCMTagValueKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CFStringRef kCMTagValueKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagCategoryKey
@discussion CFDictionary key for category field of a CMTag.
*/
-CM_EXPORT const CFStringRef kCMTagCategoryKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CFStringRef kCMTagCategoryKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@constant kCMTagDataTypeKey
@discussion CFDictionary key for dataType field of a CMTag.
*/
-CM_EXPORT const CFStringRef kCMTagDataTypeKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CFStringRef kCMTagDataTypeKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTag Inline Routine Definitions
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTagCollection.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTagCollection.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTagCollection.h 2024-04-17 06:36:28
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTagCollection.h 2024-05-30 02:28:08
@@ -53,7 +53,7 @@
kCMTagCollectionError_InvalidTagCollectionDataVersion = -15747,
kCMTagCollectionError_ExhaustedBufferSize = -15748,
kCMTagCollectionError_NotYetImplemented = -15749
-} CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTagCollectionRef
@@ -61,9 +61,9 @@
@typedef CMTagCollectionRef
@discussion A reference to a CMTagCollection, a CF object that adheres to retain/release semantics. This value type represents an unordered collection of zero or more CMTags. This type is roughly analogous to CFSetRef in that it is unordered and has operations for Boolean set math. It is however optimized for the storage of CMTag structures.
*/
-typedef const struct CM_BRIDGED_TYPE(id) OpaqueCMTagCollection * CMTagCollectionRef CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+typedef const struct CM_BRIDGED_TYPE(id) OpaqueCMTagCollection * CMTagCollectionRef CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
-typedef struct CM_BRIDGED_TYPE(id) OpaqueCMTagCollection * CMMutableTagCollectionRef CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+typedef struct CM_BRIDGED_TYPE(id) OpaqueCMTagCollection * CMMutableTagCollectionRef CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionGetTypeID
@@ -71,7 +71,7 @@
@discussion Obtains the CoreFoundation type ID for the CMTagCollection type.
@result Returns the CFTypeID corresponding to CMTagCollection.
*/
-CM_EXPORT CFTypeID CMTagCollectionGetTypeID(void) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CFTypeID CMTagCollectionGetTypeID(void) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Tag collection related struct constants
@@ -81,7 +81,7 @@
@param tag The CMTag to evaluate.
@param context A valid pointer or NULL used by the callback implementation.
*/
-typedef void (*CMTagCollectionApplierFunction)(CMTag tag, void * CM_NULLABLE context) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+typedef void (*CMTagCollectionApplierFunction)(CMTag tag, void * CM_NULLABLE context) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@typedef CMTagCollectionTagFilterFunction
@@ -90,7 +90,7 @@
@param context A valid pointer or NULL used by the callback implementation.
@result A Boolean indicating if the tag passed the callback test.
*/
-typedef Boolean (*CMTagCollectionTagFilterFunction)(CMTag tag, void * CM_NULLABLE context) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+typedef Boolean (*CMTagCollectionTagFilterFunction)(CMTag tag, void * CM_NULLABLE context) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Tag collection creation
@@ -108,7 +108,7 @@
const CMTag * CM_NULLABLE tags,
CMItemCount tagCount,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL newCollectionOut ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateMutable
@@ -123,7 +123,7 @@
CM_EXPORT OSStatus CMTagCollectionCreateMutable( CFAllocatorRef CM_NULLABLE allocator,
CFIndex capacity,
CM_RETURNS_RETAINED_PARAMETER CMMutableTagCollectionRef CM_NULLABLE * CM_NONNULL newMutableCollectionOut ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateCopy
@abstract Creates a duplicate CMTagCollectionRef.
@@ -136,7 +136,7 @@
CM_EXPORT OSStatus CMTagCollectionCreateCopy( CMTagCollectionRef CM_NONNULL tagCollection,
CFAllocatorRef CM_NULLABLE allocator,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL newCollectionCopyOut ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateMutableCopy
@@ -150,7 +150,7 @@
CM_EXPORT OSStatus CMTagCollectionCreateMutableCopy( CMTagCollectionRef CM_NONNULL tagCollection,
CFAllocatorRef CM_NULLABLE allocator,
CM_RETURNS_RETAINED_PARAMETER CMMutableTagCollectionRef CM_NULLABLE * CM_NONNULL newMutableCollectionCopyOut ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Tag collection accessors
@@ -165,7 +165,7 @@
CM_EXPORT CM_RETURNS_RETAINED CFStringRef CM_NULLABLE CMTagCollectionCopyDescription(
CFAllocatorRef CM_NULLABLE allocator,
CMTagCollectionRef CM_NULLABLE tagCollection) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionGetCount
@@ -173,7 +173,7 @@
@param tagCollection CMTagCollectionRef to evaluate for the tag count.
@result CMItemCount holding the count.
*/
-CM_EXPORT CMItemCount CMTagCollectionGetCount( CMTagCollectionRef CM_NONNULL tagCollection ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMItemCount CMTagCollectionGetCount( CMTagCollectionRef CM_NONNULL tagCollection ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionContainsTag
@@ -182,7 +182,7 @@
@param tag CMTag to find.
@result Returns true if the indicated CMTag is contained within the CMTagCollection, false otherwise.
*/
-CM_EXPORT Boolean CMTagCollectionContainsTag( CMTagCollectionRef CM_NONNULL tagCollection, CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagCollectionContainsTag( CMTagCollectionRef CM_NONNULL tagCollection, CMTag tag ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionContainsTagsOfCollection
@@ -194,7 +194,7 @@
*/
CM_EXPORT Boolean CMTagCollectionContainsTagsOfCollection( CMTagCollectionRef CM_NONNULL tagCollection,
CMTagCollectionRef CM_NONNULL containedTagCollection ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionContainsSpecifiedTags
@@ -207,7 +207,7 @@
*/
CM_EXPORT Boolean CMTagCollectionContainsSpecifiedTags( CMTagCollectionRef CM_NONNULL tagCollection,
const CMTag * CM_NONNULL containedTags, CMItemCount containedTagCount ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionContainsCategory
@@ -216,7 +216,7 @@
@param category CMTagCategory whose value should be checked for containment in tagCollection.
@result Returns true if tagCollection contains at least one CMTag with the specified category, false otherwise.
*/
-CM_EXPORT Boolean CMTagCollectionContainsCategory( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCategory category ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagCollectionContainsCategory( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCategory category ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionGetCountOfCategory
@@ -226,7 +226,7 @@
@param category CMTagCategory to check for.
@result Returns the count of tags having the specified category.
*/
-CM_EXPORT CMItemCount CMTagCollectionGetCountOfCategory( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCategory category ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMItemCount CMTagCollectionGetCountOfCategory( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCategory category ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionGetTags
@@ -238,7 +238,7 @@
@param numberOfTagsCopied The address of a CMItemCount that is filled with the number of tags retrieved, may be NULL.
@result OSStatus with an error or noErr if successful.
*/
-CM_EXPORT OSStatus CMTagCollectionGetTags( CMTagCollectionRef CM_NONNULL tagCollection, CMTag * CM_NONNULL tagBuffer, CMItemCount tagBufferCount, CMItemCount * CM_NULLABLE numberOfTagsCopied ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT OSStatus CMTagCollectionGetTags( CMTagCollectionRef CM_NONNULL tagCollection, CMTag * CM_NONNULL tagBuffer, CMItemCount tagBufferCount, CMItemCount * CM_NULLABLE numberOfTagsCopied ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionGetTagsWithCategory
@@ -251,7 +251,7 @@
@param numberOfTagsCopied The address of a CMItemCount that is filled with the number of tags retrieved, may be NULL.
@result OSStatus with an error or noErr if successful.
*/
-CM_EXPORT OSStatus CMTagCollectionGetTagsWithCategory( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCategory category, CMTag * CM_NONNULL tagBuffer, CMItemCount tagBufferCount, CMItemCount * CM_NULLABLE numberOfTagsCopied ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT OSStatus CMTagCollectionGetTagsWithCategory( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCategory category, CMTag * CM_NONNULL tagBuffer, CMItemCount tagBufferCount, CMItemCount * CM_NULLABLE numberOfTagsCopied ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCountTagsWithFilterFunction
@@ -262,7 +262,7 @@
@param context A void * or NULL to pass to applier.
@result CMItemCount indicating the number of CMTags satisfying 'filterApplier'.
*/
-CM_EXPORT CMItemCount CMTagCollectionCountTagsWithFilterFunction( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCollectionTagFilterFunction CM_NONNULL filterApplier, void * CM_NULLABLE context ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMItemCount CMTagCollectionCountTagsWithFilterFunction( CMTagCollectionRef CM_NONNULL tagCollection, CMTagCollectionTagFilterFunction CM_NONNULL filterApplier, void * CM_NULLABLE context ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionGetTagsWithFilterFunction
@@ -276,7 +276,7 @@
@param context A void * or NULL to pass to filter.
@result OSStatus with an error or noErr if successful.
*/
-CM_EXPORT OSStatus CMTagCollectionGetTagsWithFilterFunction( CMTagCollectionRef CM_NONNULL tagCollection, CMTag * CM_NONNULL tagBuffer, CMItemCount tagBufferCount, CMItemCount * CM_NULLABLE numberOfTagsCopied, CMTagCollectionTagFilterFunction CM_NONNULL filter, void * CM_NULLABLE context ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT OSStatus CMTagCollectionGetTagsWithFilterFunction( CMTagCollectionRef CM_NONNULL tagCollection, CMTag * CM_NONNULL tagBuffer, CMItemCount tagBufferCount, CMItemCount * CM_NULLABLE numberOfTagsCopied, CMTagCollectionTagFilterFunction CM_NONNULL filter, void * CM_NULLABLE context ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCopyTagsOfCategories
@@ -295,7 +295,7 @@
const CMTagCategory * CM_NONNULL categories,
CMItemCount categoriesCount,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL collectionWithTagsOfCategories ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Tag collection iteration
@@ -310,7 +310,7 @@
CM_EXPORT void CMTagCollectionApply( CMTagCollectionRef CM_NONNULL tagCollection,
CMTagCollectionApplierFunction CM_NONNULL applier,
void * CM_NULLABLE context ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionApplyUntil
@@ -324,7 +324,7 @@
CM_EXPORT CMTag CMTagCollectionApplyUntil( CMTagCollectionRef CM_NONNULL tagCollection,
CMTagCollectionTagFilterFunction CM_NONNULL applier,
void * CM_NULLABLE context ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Tag collection set like operations
@@ -335,7 +335,7 @@
@param tagCollection CMTagCollectionRef to iterate.
@result True if there are no tags, false otherwise.
*/
-CM_EXPORT Boolean CMTagCollectionIsEmpty( CMTagCollectionRef CM_NONNULL tagCollection ) CF_SWIFT_UNAVAILABLE("Use isEmpty") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT Boolean CMTagCollectionIsEmpty( CMTagCollectionRef CM_NONNULL tagCollection ) CF_SWIFT_UNAVAILABLE("Use isEmpty") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateIntersection
@@ -350,7 +350,7 @@
CMTagCollectionRef CM_NULLABLE tagCollection1,
CMTagCollectionRef CM_NULLABLE tagCollection2,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL tagCollectionOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateUnion
@@ -365,7 +365,7 @@
CMTagCollectionRef CM_NULLABLE tagCollection1,
CMTagCollectionRef CM_NULLABLE tagCollection2,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL tagCollectionOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateDifference
@@ -381,7 +381,7 @@
CMTagCollectionRef CM_NULLABLE tagCollectionMinuend,
CMTagCollectionRef CM_NULLABLE tagCollectionSubtrahend,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL tagCollectionOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateExclusiveOr
@@ -396,7 +396,7 @@
CMTagCollectionRef CM_NULLABLE tagCollection1,
CMTagCollectionRef CM_NULLABLE tagCollection2,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL tagCollectionOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMMutableTagCollection routines
@@ -411,7 +411,7 @@
CM_EXPORT OSStatus CMTagCollectionAddTag(
CMMutableTagCollectionRef CM_NONNULL tagCollection,
CMTag tagToAdd ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionRemoveTag
@@ -424,7 +424,7 @@
CM_EXPORT OSStatus CMTagCollectionRemoveTag(
CMMutableTagCollectionRef CM_NONNULL tagCollection,
CMTag tagToRemove ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionRemoveAllTags
@@ -433,7 +433,7 @@
@param tagCollection CMMutableTagCollectionRef from which to remove all tags.
@result OSStatus indicating if the operation succeeded.
*/
-CM_EXPORT OSStatus CMTagCollectionRemoveAllTags( CMMutableTagCollectionRef CM_NONNULL tagCollection ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT OSStatus CMTagCollectionRemoveAllTags( CMMutableTagCollectionRef CM_NONNULL tagCollection ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionRemoveAllTagsOfCategory
@@ -446,7 +446,7 @@
CM_EXPORT OSStatus CMTagCollectionRemoveAllTagsOfCategory(
CMMutableTagCollectionRef CM_NONNULL tagCollection,
CMTagCategory category ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionAddTagsFromCollection
@@ -458,7 +458,7 @@
CM_EXPORT OSStatus CMTagCollectionAddTagsFromCollection(
CMMutableTagCollectionRef CM_NONNULL tagCollection,
CMTagCollectionRef CM_NONNULL collectionWithTagsToAdd ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionAddTagsFromArray
@@ -472,7 +472,7 @@
CMMutableTagCollectionRef CM_NONNULL tagCollection,
CMTag * CM_NONNULL tags,
CMItemCount tagCount ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTagCollection dictionary serialization
@@ -487,7 +487,7 @@
CM_EXPORT CM_RETURNS_RETAINED CFDictionaryRef CM_NULLABLE CMTagCollectionCopyAsDictionary(
CMTagCollectionRef CM_NONNULL tagCollection,
CFAllocatorRef CM_NULLABLE allocator ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateFromDictionary
@@ -502,7 +502,7 @@
CFDictionaryRef CM_NONNULL dict,
CFAllocatorRef CM_NULLABLE allocator,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL newCollectionOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - CMTagCollection data serialization
@@ -521,7 +521,7 @@
CM_EXPORT CM_RETURNS_RETAINED CFDataRef CM_NULLABLE CMTagCollectionCopyAsData(
CMTagCollectionRef CM_NONNULL tagCollection,
CFAllocatorRef CM_NULLABLE allocator ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTagCollectionCreateFromData
@@ -537,7 +537,7 @@
CFDataRef CM_NONNULL data,
CFAllocatorRef CM_NULLABLE allocator,
CM_RETURNS_RETAINED_PARAMETER CMTagCollectionRef CM_NULLABLE * CM_NONNULL newCollectionOut) CF_SWIFT_UNAVAILABLE("Unavailable in Swift")
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark - Serialization Dictionary Keys
@@ -545,7 +545,7 @@
@constant kCMTagCollectionTagsArrayKey
@discussion CFDictionary key for a CFArray of serialized CMTag dictionaries of a CMTagCollection as used with CMTagCollectionCopyAsDictionary
*/
-CM_EXPORT const CFStringRef kCMTagCollectionTagsArrayKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT const CFStringRef kCMTagCollectionTagsArrayKey CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma pack(pop)
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTaggedBufferGroup.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTaggedBufferGroup.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTaggedBufferGroup.h 2024-04-08 10:07:22
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTaggedBufferGroup.h 2024-05-30 03:56:58
@@ -47,15 +47,15 @@
kCMTaggedBufferGroupError_ParamErr = -15780,
kCMTaggedBufferGroupError_AllocationFailed = -15781,
kCMTaggedBufferGroupError_InternalError = -15782,
-} CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+} CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@typedef CMTaggedBufferGroup
@abstract An object gathering zero or more buffers (CMSampleBuffer, CVPixelBuffer) each with a CMTagCollection.
*/
-typedef struct CM_BRIDGED_TYPE(id) OpaqueCMTaggedBufferGroup *CMTaggedBufferGroupRef CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+typedef struct CM_BRIDGED_TYPE(id) OpaqueCMTaggedBufferGroup *CMTaggedBufferGroupRef CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
-CM_EXPORT CFTypeID CMTaggedBufferGroupGetTypeID(void) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CFTypeID CMTaggedBufferGroupGetTypeID(void) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupCreate
@@ -72,7 +72,7 @@
CFArrayRef CM_NONNULL tagCollections,
CFArrayRef CM_NONNULL buffers,
CM_RETURNS_RETAINED_PARAMETER CMTaggedBufferGroupRef CM_NULLABLE * CM_NONNULL groupOut ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupCreateCombined
@@ -86,7 +86,7 @@
CFAllocatorRef CM_NULLABLE allocator,
CFArrayRef CM_NONNULL taggedBufferGroups,
CM_RETURNS_RETAINED_PARAMETER CMTaggedBufferGroupRef CM_NULLABLE * CM_NONNULL groupOut ) CF_REFINED_FOR_SWIFT
- API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCount
@@ -94,7 +94,7 @@
@param group The CMTaggedBufferGroupRef to retrieve the count from.
@result Returns the number of buffers, or 0 on failure or if the group is empty.
*/
-CM_EXPORT CMItemCount CMTaggedBufferGroupGetCount( CMTaggedBufferGroupRef CM_NONNULL group ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMItemCount CMTaggedBufferGroupGetCount( CMTaggedBufferGroupRef CM_NONNULL group ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetTagCollectionAtIndex
@@ -103,7 +103,7 @@
@param index An index from 0 to count-1.
@result Returns the tag collection, or NULL on failure.
*/
-CM_EXPORT CMTagCollectionRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetTagCollectionAtIndex( CMTaggedBufferGroupRef CM_NONNULL group, CFIndex index ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTagCollectionRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetTagCollectionAtIndex( CMTaggedBufferGroupRef CM_NONNULL group, CFIndex index ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCVPixelBufferAtIndex
@@ -112,7 +112,7 @@
@param index An index from 0 to count-1.
@result Returns the CVPixelBuffer, or NULL on failure (including if the buffer at this index is not a CVPixelBuffer).
*/
-CM_EXPORT CVPixelBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCVPixelBufferAtIndex( CMTaggedBufferGroupRef CM_NONNULL group, CFIndex index ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CVPixelBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCVPixelBufferAtIndex( CMTaggedBufferGroupRef CM_NONNULL group, CFIndex index ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCVPixelBufferForTag
@@ -122,7 +122,7 @@
@param indexOut On success, index of the returned CVPixelBuffer. May be NULL.
@result Returns the CVPixelBuffer, or NULL on failure (including if the buffer at this index is not a CVPixelBuffer).
*/
-CM_EXPORT CVPixelBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCVPixelBufferForTag( CMTaggedBufferGroupRef CM_NONNULL group, CMTag tag, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CVPixelBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCVPixelBufferForTag( CMTaggedBufferGroupRef CM_NONNULL group, CMTag tag, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCVPixelBufferForTagCollection
@@ -132,7 +132,7 @@
@param indexOut On success, index of the returned CVPixelBuffer. May be NULL.
@result Returns the CVPixelBuffer, or NULL on failure (including if the buffer at this index is not a CVPixelBuffer).
*/
-CM_EXPORT CVPixelBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCVPixelBufferForTagCollection( CMTaggedBufferGroupRef CM_NONNULL group, CMTagCollectionRef CM_NONNULL tagCollection, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CVPixelBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCVPixelBufferForTagCollection( CMTaggedBufferGroupRef CM_NONNULL group, CMTagCollectionRef CM_NONNULL tagCollection, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCMSampleBufferAtIndex
@@ -141,7 +141,7 @@
@param index An index from 0 to count-1.
@result Returns the CMSampleBuffer, or NULL on failure (including if the buffer at this index is not a CMSampleBuffer).
*/
-CM_EXPORT CMSampleBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCMSampleBufferAtIndex( CMTaggedBufferGroupRef CM_NONNULL group, CFIndex index ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMSampleBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCMSampleBufferAtIndex( CMTaggedBufferGroupRef CM_NONNULL group, CFIndex index ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCMSampleBufferForTag
@@ -151,7 +151,7 @@
@param indexOut On success, index of the returned CMSampleBuffer. May be NULL.
@result Returns the CMSampleBuffer, or NULL on failure (including if the buffer at this index is not a CMSampleBuffer).
*/
-CM_EXPORT CMSampleBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCMSampleBufferForTag( CMTaggedBufferGroupRef CM_NONNULL group, CMTag tag, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMSampleBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCMSampleBufferForTag( CMTaggedBufferGroupRef CM_NONNULL group, CMTag tag, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetCMSampleBufferForTagCollection
@@ -161,7 +161,7 @@
@param indexOut On success, index of the returned CMSampleBuffer. May be NULL.
@result Returns the CMSampleBuffer, or NULL on failure (including if the buffer at this index is not a CMSampleBuffer).
*/
-CM_EXPORT CMSampleBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCMSampleBufferForTagCollection( CMTaggedBufferGroupRef CM_NONNULL group, CMTagCollectionRef CM_NONNULL tagCollection, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMSampleBufferRef CF_RETURNS_NOT_RETAINED CM_NULLABLE CMTaggedBufferGroupGetCMSampleBufferForTagCollection( CMTaggedBufferGroupRef CM_NONNULL group, CMTagCollectionRef CM_NONNULL tagCollection, CFIndex * CM_NULLABLE indexOut ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupGetNumberOfMatchesForTagCollection
@@ -171,7 +171,7 @@
@param tagCollection The tag collection to look up.
@result Returns the number of entries in the CMTaggedBufferGroup that match tagCollection.
*/
-CM_EXPORT CMItemCount CMTaggedBufferGroupGetNumberOfMatchesForTagCollection( CMTaggedBufferGroupRef CM_NONNULL group, CMTagCollectionRef CM_NONNULL tagCollection ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMItemCount CMTaggedBufferGroupGetNumberOfMatchesForTagCollection( CMTaggedBufferGroupRef CM_NONNULL group, CMTagCollectionRef CM_NONNULL tagCollection ) CF_SWIFT_UNAVAILABLE("Unavailable in Swift") API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
#pragma mark Carriage in CMSampleBuffer
@@ -196,7 +196,7 @@
OSStatus CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup(
CFAllocatorRef CM_NULLABLE allocator,
CMTaggedBufferGroupRef CM_NONNULL taggedBufferGroup,
- CM_RETURNS_RETAINED_PARAMETER CMTaggedBufferGroupFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ CM_RETURNS_RETAINED_PARAMETER CMTaggedBufferGroupFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup
@@ -212,7 +212,7 @@
CM_EXPORT
Boolean CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup(
CMTaggedBufferGroupFormatDescriptionRef CM_NONNULL desc,
- CMTaggedBufferGroupRef CM_NONNULL taggedBufferGroup) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ CMTaggedBufferGroupRef CM_NONNULL taggedBufferGroup) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMSampleBufferCreateForTaggedBufferGroup
@@ -244,7 +244,7 @@
CMTime sbufDuration,
CMTaggedBufferGroupFormatDescriptionRef CM_NONNULL formatDescription,
CM_RETURNS_RETAINED_PARAMETER CMSampleBufferRef CM_NULLABLE * CM_NONNULL sBufOut)
- CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+ CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
/*!
@function CMSampleBufferGetTaggedBufferGroup
@@ -253,7 +253,7 @@
@discussion The caller does not own the returned CMTaggedBufferGroup, and must retain it explicitly if the caller needs to maintain a reference to it.
@result CMTaggedBufferGroup of media data. The result will be NULL if the CMSampleBuffer does not contain a CMTaggedBufferGroup, or if there is some other error.
*/
-CM_EXPORT CMTaggedBufferGroupRef CM_NULLABLE CMSampleBufferGetTaggedBufferGroup(CMSampleBufferRef CM_NONNULL sbuf) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0));
+CM_EXPORT CMTaggedBufferGroupRef CM_NULLABLE CMSampleBufferGetTaggedBufferGroup(CMSampleBufferRef CM_NONNULL sbuf) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h 2024-04-17 07:17:17
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTextMarkup.h 2024-05-30 10:44:39
@@ -42,7 +42,7 @@
red, green and blue components are interpreted in the sRGB color space. The alpha indicates the opacity from 0.0 for transparent to
1.0 for 100% opaque.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_ForegroundColorARGB API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_ForegroundColorARGB API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_BackgroundColorARGB
@@ -59,7 +59,7 @@
If used, this attribute must be applied to the entire attributed string (i.e.,
CFRangeMake(0, CFAttributedStringGetLength(...))).
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_BackgroundColorARGB API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_BackgroundColorARGB API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_CharacterBackgroundColorARGB
@@ -69,7 +69,7 @@
red, green and blue components are interpreted in the sRGB color space. The alpha indicates the opacity from 0.0 for transparent to
1.0 for 100% opaque.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_CharacterBackgroundColorARGB API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_CharacterBackgroundColorARGB API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_BoldStyle
@@ -80,7 +80,7 @@
with a bold style. Other styles such as italic may or may
not be used as well.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_BoldStyle API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_BoldStyle API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_ItalicStyle
@@ -91,7 +91,7 @@
with an italic style. Other styles such as bold may or may not
be used as well.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_ItalicStyle API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_ItalicStyle API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_UnderlineStyle
@@ -103,7 +103,7 @@
with an underline. Other styles such as bold may or may not
be used as well.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_UnderlineStyle API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_UnderlineStyle API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_FontFamilyName
@@ -115,7 +115,7 @@
When vended by legible output, an attributed string will have at most one of kCMTextMarkupAttribute_FontFamilyName or
kCMTextMarkupAttribute_GenericFontFamilyName associated with each character.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_FontFamilyName API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_FontFamilyName API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_FontFamilyNameList
@@ -126,7 +126,7 @@
The CFArray value can hold multiple font names as a fallback where the author prefers specific fonts. If the renderer does not support the first font entry, it tries the following.
For example, the array includes InexistantFont and Times New Roman font names, it is expected the renderer to select the "Times New Roman" font for drawing caption.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_FontFamilyNameList API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_FontFamilyNameList API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_GenericFontFamilyName
@@ -170,7 +170,7 @@
Concrete fonts are specified using the kCMTextMarkupAttribute_FontFamilyName attribute also defined in this header.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_GenericFontFamilyName API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_GenericFontFamilyName API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@abstract Values for kCMTextMarkupAttribute_GenericFontFamilyName.
@@ -212,18 +212,18 @@
@const kCMTextMarkupGenericFontName_SmallCapital
The generic font name indicating a font with lowercase letters set as small capitals. E.g., Engravers Gothic
*/
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Default API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Serif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_SansSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Monospace API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_ProportionalSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_ProportionalSansSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_MonospaceSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_MonospaceSansSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Casual API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Cursive API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Fantasy API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_SmallCapital API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Default API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Serif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_SansSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Monospace API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_ProportionalSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_ProportionalSansSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_MonospaceSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_MonospaceSansSerif API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Casual API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Cursive API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_Fantasy API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupGenericFontName_SmallCapital API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -232,7 +232,7 @@
@discussion Value must be a non-negative CFNumber. This is a number holding a percentage of the height of the video frame. For example, a value of 5 indicates that the base font size should be 5% of the height of the video.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeight API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeight API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_RelativeFontSize
@@ -244,7 +244,7 @@
indicates 80% of the default font size. The value 100 indicates no size
difference and is the default.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_RelativeFontSize API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_RelativeFontSize API_AVAILABLE(macos(10.9), ios(6.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_VerticalLayout
@@ -259,7 +259,7 @@
If used, this attribute must be applied to the entire attributed string (i.e.,
CFRangeMake(0, CFAttributedStringGetLength(...))).
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_VerticalLayout API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_VerticalLayout API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@abstract Values for kCMTextMarkupAttribute_VerticalLayout.
@@ -270,8 +270,8 @@
@const kCMTextVerticalLayout_RightToLeft
Newly added vertical lines are added from the right toward the left.
*/
-CM_EXPORT const CFStringRef kCMTextVerticalLayout_LeftToRight API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextVerticalLayout_RightToLeft API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextVerticalLayout_LeftToRight API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextVerticalLayout_RightToLeft API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -290,7 +290,7 @@
If used, this attribute must be applied to the entire attributed string (i.e.,
CFRangeMake(0, CFAttributedStringGetLength(...))).
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_Alignment API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_Alignment API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@abstract Values for kCMTextMarkupAttribute_Alignment.
@@ -320,11 +320,11 @@
kCMTextMarkupAlignmentType_End for vertical text, authors are discouraged from using kCMTextMarkupAlignmentType_Right
for vertical text.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Start API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Middle API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_End API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Left API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Right API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Start API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Middle API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_End API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Left API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAlignmentType_Right API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -342,7 +342,7 @@
If used, this attribute must be applied to the entire attributed string (i.e.,
CFRangeMake(0, CFAttributedStringGetLength(...))).
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_TextPositionPercentageRelativeToWritingDirection API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_TextPositionPercentageRelativeToWritingDirection API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection
@@ -362,7 +362,7 @@
If used, this attribute must be applied to the entire attributed string (i.e.,
CFRangeMake(0, CFAttributedStringGetLength(...))).
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_WritingDirectionSizePercentage
@@ -378,7 +378,7 @@
If used, this attribute must be applied to the entire attributed string (i.e.,
CFRangeMake(0, CFAttributedStringGetLength(...))).
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_WritingDirectionSizePercentage API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_WritingDirectionSizePercentage API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@const kCMTextMarkupAttribute_CharacterEdgeStyle
@@ -394,7 +394,7 @@
The absence of this attribute should be treated as though kCMTextMarkupCharacterEdgeStyle_None
is specified.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupAttribute_CharacterEdgeStyle API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupAttribute_CharacterEdgeStyle API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@abstract Values for kCMTextMarkupAttribute_CharacterEdgeStyle.
@@ -414,11 +414,11 @@
@const kCMTextMarkupCharacterEdgeStyle_DropShadow
The character edge style indicating a drop shadow should be drawn.
*/
-CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_None API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_Raised API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_Depressed API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_Uniform API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
-CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_DropShadow API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0));
+CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_None API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_Raised API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_Depressed API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_Uniform API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
+CM_EXPORT const CFStringRef kCMTextMarkupCharacterEdgeStyle_DropShadow API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h 2024-04-17 07:11:11
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h 2024-05-30 04:39:46
@@ -42,7 +42,7 @@
@typedef CMTimeValue
@abstract Numerator of rational CMTime.
*/
-typedef int64_t CMTimeValue API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef int64_t CMTimeValue API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMTimeScale
@@ -51,14 +51,14 @@
Note: kCMTimeMaxTimescale is NOT a good choice of timescale for movie files.
(Recommended timescales for movie files range from 600 to 90000.)
*/
-typedef int32_t CMTimeScale API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef int32_t CMTimeScale API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
#define kCMTimeMaxTimescale 0x7fffffffL
/*!
@typedef CMTimeEpoch
@abstract Epoch (eg, loop number) to which a CMTime refers.
*/
-typedef int64_t CMTimeEpoch API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+typedef int64_t CMTimeEpoch API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMTimeFlags
@@ -80,7 +80,7 @@
kCMTimeFlags_NegativeInfinity = 1UL<<3,
kCMTimeFlags_Indefinite = 1UL<<4,
kCMTimeFlags_ImpliedValueFlagsMask = kCMTimeFlags_PositiveInfinity | kCMTimeFlags_NegativeInfinity | kCMTimeFlags_Indefinite
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMTime
@@ -96,7 +96,7 @@
Will be used during comparison: greater epochs happen after lesser ones.
Additions/subtraction is only possible within a single epoch,
however, since epoch length may be unknown/variable */
-} CMTime API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} CMTime API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTIME_IS_VALID
@@ -164,31 +164,31 @@
Do not test against this using (time == kCMTimeInvalid), there are many
CMTimes other than this that are also invalid.
Use !CMTIME_IS_VALID(time) instead. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CMTime kCMTimeIndefinite /*! @constant kCMTimeIndefinite
Use this constant to initialize an indefinite CMTime (eg. duration of a live
broadcast). Do not test against this using (time == kCMTimeIndefinite),
there are many CMTimes other than this that are also indefinite.
Use CMTIME_IS_INDEFINITE(time) instead. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CMTime kCMTimePositiveInfinity /*! @constant kCMTimePositiveInfinity
Use this constant to initialize a CMTime to +infinity.
Do not test against this using (time == kCMTimePositiveInfinity),
there are many CMTimes other than this that are also +infinity.
Use CMTIME_IS_POSITIVEINFINITY(time) instead. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CMTime kCMTimeNegativeInfinity /*! @constant kCMTimeNegativeInfinity
Use this constant to initialize a CMTime to -infinity.
Do not test against this using (time == kCMTimeNegativeInfinity),
there are many CMTimes other than this that are also -infinity.
Use CMTIME_IS_NEGATIVEINFINITY(time) instead. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CMTime kCMTimeZero /*! @constant kCMTimeZero
Use this constant to initialize a CMTime to 0.
Do not test against this using (time == kCMTimeZero),
there are many CMTimes other than this that are also 0.
Use CMTimeCompare(time, kCMTimeZero) instead. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMake
@@ -199,7 +199,7 @@
CMTime CMTimeMake(
int64_t value, /*! @param value Initializes the value field of the resulting CMTime. */
int32_t timescale) /*! @param timescale Initializes the timescale field of the resulting CMTime. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMakeWithEpoch
@@ -211,7 +211,7 @@
int64_t value, /*! @param value Initializes the value field of the resulting CMTime. */
int32_t timescale, /*! @param timescale Initializes the scale field of the resulting CMTime. */
int64_t epoch) /*! @param epoch Initializes the epoch field of the resulting CMTime. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -229,7 +229,7 @@
CMTime CMTimeMakeWithSeconds(
Float64 seconds,
int32_t preferredTimescale)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeGetSeconds
@@ -242,7 +242,7 @@
CM_EXPORT
Float64 CMTimeGetSeconds(
CMTime time)
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@enum CMTimeRoundingMethod
@@ -272,7 +272,7 @@
kCMTimeRoundingMethod_RoundTowardNegativeInfinity = 6,
kCMTimeRoundingMethod_Default = kCMTimeRoundingMethod_RoundHalfAwayFromZero
-} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeConvertScale
@@ -287,7 +287,7 @@
CMTime time, /*! @param time Source CMTime. */
int32_t newTimescale, /*! @param newTimescale The requested timescale for the converted result CMTime. */
CMTimeRoundingMethod method) /*! @param method The requested rounding method. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeAdd
@@ -332,7 +332,7 @@
CMTime CMTimeAdd(
CMTime lhs, /*! @param lhs A CMTime to be added. */
CMTime rhs) /*! @param rhs Another CMTime to be added. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -378,7 +378,7 @@
CMTime CMTimeSubtract(
CMTime lhs, /*! @param lhs The CMTime from which the rhs will be subtracted. */
CMTime rhs) /*! @param rhs The CMTime that will be subtracted from the lhs. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@@ -406,7 +406,7 @@
CMTime CMTimeMultiply(
CMTime time, /*! @param time The CMTime that will be multiplied. */
int32_t multiplier) /*! @param multiplier The integer it will be multiplied by. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMultiplyByFloat64
@@ -435,7 +435,7 @@
CMTime CMTimeMultiplyByFloat64(
CMTime time, /*! @param time The CMTime that will be multiplied. */
Float64 multiplier) /*! @param multiplier The Float64 it will be multiplied by. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMultiplyByRatio
@@ -463,7 +463,7 @@
CMTime time, /*! @param time The CMTime to be multiplied then divided. */
int32_t multiplier, /*! @param multiplier The value by which to multiply. */
int32_t divisor) /*! @param divisor The value by which to divide. */
- API_AVAILABLE(macos(10.10), ios(7.1), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.10), ios(7.1), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeCompare
@@ -493,7 +493,7 @@
int32_t CMTimeCompare(
CMTime time1, /*! @param time1 First CMTime in comparison. */
CMTime time2) /*! @param time2 Second CMTime in comparison. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTIME_COMPARE_INLINE
@@ -517,7 +517,7 @@
CMTime CMTimeMinimum(
CMTime time1, /*! @param time1 A CMTime */
CMTime time2) /*! @param time2 Another CMTime */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMaximum
@@ -528,7 +528,7 @@
CMTime CMTimeMaximum(
CMTime time1, /*! @param time1 A CMTime */
CMTime time2) /*! @param time2 Another CMTime */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeAbsoluteValue
@@ -538,7 +538,7 @@
CM_EXPORT
CMTime CMTimeAbsoluteValue(
CMTime time) /*! @param time A CMTime */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeCopyAsDictionary
@@ -552,7 +552,7 @@
CFAllocatorRef CM_NULLABLE allocator) /*! @param allocator CFAllocator with which to create dictionary.
Pass kCFAllocatorDefault to use the default
allocator. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMakeFromDictionary
@abstract Reconstitutes a CMTime struct from a CFDictionary previously created by CMTimeCopyAsDictionary.
@@ -563,7 +563,7 @@
CM_EXPORT
CMTime CMTimeMakeFromDictionary(
CFDictionaryRef CM_NULLABLE dictionaryRepresentation) /*! @param dictionaryRepresentation CFDictionary from which to create CMTime. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
@@ -572,28 +572,28 @@
@discussion CFDictionary key for value field of CMTime (CFNumber containing int64_t)
*/
CM_EXPORT const CFStringRef kCMTimeValueKey
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMTimeScaleKey
@discussion CFDictionary key for timescale field of CMTime (CFNumber containing int32_t)
*/
CM_EXPORT const CFStringRef kCMTimeScaleKey
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMTimeEpochKey
@discussion CFDictionary key for epoch field of CMTime (CFNumber containing int64_t)
*/
CM_EXPORT const CFStringRef kCMTimeEpochKey
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMTimeFlagsKey
@discussion CFDictionary key for flags field of CMTime (CFNumber containing uint32_t)
*/
CM_EXPORT const CFStringRef kCMTimeFlagsKey
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -610,7 +610,7 @@
CFAllocatorRef CM_NULLABLE allocator, /*! @param allocator CFAllocator with which to create description. Pass
kCFAllocatorDefault to use the default allocator. */
CMTime time) /*! @param time CMTime to describe. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeShow
@@ -620,7 +620,7 @@
CM_EXPORT
void CMTimeShow(
CMTime time) /*! @param time CMTime to show. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h 2024-04-17 06:50:35
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h 2024-05-30 05:17:37
@@ -52,7 +52,7 @@
{
CMTime start; /*!< The start time of the time range. */
CMTime duration; /*!< The duration of the time range. */
-} CMTimeRange API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} CMTimeRange API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTIMERANGE_IS_VALID
@@ -88,11 +88,11 @@
CM_EXPORT const CMTimeRange kCMTimeRangeZero /*! @constant kCMTimeRangeZero
Use this constant to generate an empty CMTimeRange at 0. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_EXPORT const CMTimeRange kCMTimeRangeInvalid /*! @constant kCMTimeRangeInvalid
Use this constant to generate an invalid CMTimeRange. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeMake
@@ -103,7 +103,7 @@
CM_EXPORT CMTimeRange CMTimeRangeMake(
CMTime start, /*! @param start Initializes the start field of the resulting CMTimeRange. */
CMTime duration) /*! @param duration Initializes the duration field of the resulting CMTimeRange. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeGetUnion
@@ -115,7 +115,7 @@
CM_EXPORT CMTimeRange CMTimeRangeGetUnion(
CMTimeRange range, /*! @param range A CMTimeRange to be unioned. */
CMTimeRange otherRange) /*! @param otherRange Another CMTimeRange to be unioned. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeGetIntersection
@@ -127,7 +127,7 @@
CM_EXPORT CMTimeRange CMTimeRangeGetIntersection(
CMTimeRange range, /*! @param range A CMTimeRange to be intersected. */
CMTimeRange otherRange) /*! @param otherRange Another CMTimeRange to be intersected. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeEqual
@@ -138,7 +138,7 @@
CM_EXPORT Boolean CMTimeRangeEqual(
CMTimeRange range1, /*! @param range1 A CMTimeRange to be compared for equality. */
CMTimeRange range2) /*! @param range2 Another CMTimeRange to be compared for equality. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeContainsTime
@@ -150,7 +150,7 @@
CM_EXPORT Boolean CMTimeRangeContainsTime(
CMTimeRange range, /*! @param range A CMTimeRange to be tested for inclusion. */
CMTime time) /*! @param time A CMTime to be tested for inclusion. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeContainsTimeRange
@@ -162,7 +162,7 @@
CM_EXPORT Boolean CMTimeRangeContainsTimeRange(
CMTimeRange range, /*! @param range A CMTimeRange. */
CMTimeRange otherRange) /*! @param otherRange Another CMTimeRange to be tested for inclusion. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeGetEnd
@@ -173,7 +173,7 @@
*/
CM_EXPORT CMTime CMTimeRangeGetEnd(
CMTimeRange range) /*! @param range A CMTimeRange. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMapTimeFromRangeToRange
@@ -191,7 +191,7 @@
CMTime t,
CMTimeRange fromRange,
CMTimeRange toRange )
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeClampToRange
@@ -206,7 +206,7 @@
CM_EXPORT CMTime CMTimeClampToRange(
CMTime time,
CMTimeRange range )
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMapDurationFromRangeToRange
@@ -220,7 +220,7 @@
CMTime dur,
CMTimeRange fromRange,
CMTimeRange toRange )
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeFoldIntoRange
@@ -233,7 +233,7 @@
CMTimeFoldIntoRange(
CMTime time, /*! @param time The CMTime to fold. */
CMTimeRange foldRange ) /*! @param foldRange The CMTimeRange into which to fold it. */
- API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(6.0));
+ API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeFromTimeToTime
@@ -243,7 +243,7 @@
CM_EXPORT CMTimeRange CMTimeRangeFromTimeToTime(
CMTime start,
CMTime end )
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeCopyAsDictionary
@@ -254,7 +254,7 @@
CM_EXPORT CFDictionaryRef CM_NULLABLE CMTimeRangeCopyAsDictionary(
CMTimeRange range, /*! @param range The CMTimeRange from which to create a dictionary. */
CFAllocatorRef CM_NULLABLE allocator) /*! @param allocator CFAllocator with which to create a dictionary. Pass kCFAllocatorDefault to use the default allocator. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeMakeFromDictionary
@@ -265,7 +265,7 @@
*/
CM_EXPORT CMTimeRange CMTimeRangeMakeFromDictionary(
CFDictionaryRef CM_NONNULL dictionaryRepresentation) /*! @param dictionaryRepresentation A CFDictionary from which to create a CMTimeRange. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
@@ -274,14 +274,14 @@
@discussion CFDictionary key for start field of a CMTimeRange (CMTime)
*/
CM_EXPORT const CFStringRef kCMTimeRangeStartKey
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMTimeRangeDurationKey
@discussion CFDictionary key for timescale field of a CMTimeRange (CMTime)
*/
CM_EXPORT const CFStringRef kCMTimeRangeDurationKey
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
@@ -295,7 +295,7 @@
CM_EXPORT CFStringRef CM_NULLABLE CMTimeRangeCopyDescription(
CFAllocatorRef CM_NULLABLE allocator, /*! @param allocator CFAllocator with which to create description. Pass kCFAllocatorDefault to use the default allocator. */
CMTimeRange range) /*! @param range The CMTimeRange to describe. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeRangeShow
@@ -304,7 +304,7 @@
*/
CM_EXPORT void CMTimeRangeShow(
CMTimeRange range) /*! @param range The CMTimeRange to show. */
- API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@typedef CMTimeMapping
@@ -325,7 +325,7 @@
{
CMTimeRange source; // eg, media. source.start is kCMTimeInvalid for empty edits.
CMTimeRange target; // eg, track.
-} CMTimeMapping API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0));
+} CMTimeMapping API_AVAILABLE(macos(10.7), ios(4.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTIMEMAPPING_IS_VALID
@@ -353,7 +353,7 @@
CM_EXPORT const CMTimeMapping kCMTimeMappingInvalid /*! @constant kCMTimeMappingInvalid
Use this constant to generate an invalid CMTimeMapping. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMappingMake
@@ -364,7 +364,7 @@
CM_EXPORT CMTimeMapping CMTimeMappingMake(
CMTimeRange source, /*! @param source Initializes the source field of the resulting CMTimeMapping. */
CMTimeRange target) /*! @param target Initializes the target field of the resulting CMTimeMapping. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMappingMakeEmpty
@@ -374,7 +374,7 @@
*/
CM_EXPORT CMTimeMapping CMTimeMappingMakeEmpty(
CMTimeRange target) /*! @param target Initializes the target field of the resulting CMTimeMapping. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMappingCopyAsDictionary
@@ -385,7 +385,7 @@
CM_EXPORT CFDictionaryRef CM_NULLABLE CMTimeMappingCopyAsDictionary(
CMTimeMapping mapping, /*! @param mapping The CMTimeMapping from which to create a dictionary. */
CFAllocatorRef CM_NULLABLE allocator) /*! @param allocator CFAllocator with which to create a dictionary. Pass kCFAllocatorDefault to use the default allocator. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMappingMakeFromDictionary
@@ -396,21 +396,21 @@
*/
CM_EXPORT CMTimeMapping CMTimeMappingMakeFromDictionary(
CFDictionaryRef CM_NONNULL dictionaryRepresentation) /*! @param dictionaryRepresentation A CFDictionary from which to create a CMTimeMapping. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_BEGIN
/*!
@constant kCMTimeMappingSourceKey
@discussion CFDictionary key for source field of a CMTimeMapping (CMTimeRange)
*/
CM_EXPORT const CFStringRef kCMTimeMappingSourceKey
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@constant kCMTimeMappingTargetKey
@discussion CFDictionary key for target field of a CMTimeMapping (CMTimeRange)
*/
CM_EXPORT const CFStringRef kCMTimeMappingTargetKey
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CM_ASSUME_NONNULL_END
/*!
@function CMTimeMappingCopyDescription
@@ -422,7 +422,7 @@
CM_EXPORT CFStringRef CM_NULLABLE CMTimeMappingCopyDescription(
CFAllocatorRef CM_NULLABLE allocator, /*! @param allocator CFAllocator with which to create description. Pass kCFAllocatorDefault to use the default allocator. */
CMTimeMapping mapping) /*! @param mapping The CMTimeMapping to describe. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
/*!
@function CMTimeMappingShow
@@ -431,7 +431,7 @@
*/
CM_EXPORT void CMTimeMappingShow(
CMTimeMapping mapping) /*! @param mapping The CMTimeMapping to show. */
- API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0));
+ API_AVAILABLE(macos(10.11), ios(9.0), tvos(9.0), watchos(6.0), visionos(1.0));
CF_IMPLICIT_BRIDGING_DISABLED