-
Notifications
You must be signed in to change notification settings - Fork 542
CoreVideo iOS xcode26.0 b1
Alex Soto edited this page Jun 9, 2025
·
1 revision
#CoreVideo.framework
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h 2025-04-19 02:07:04
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h 2025-05-23 05:20:26
@@ -136,8 +136,10 @@
#if (TARGET_OS_IPHONE || TARGET_OS_MAC) && defined(__has_feature) && __has_feature(attribute_cf_returns_retained)
#define CV_RETURNS_RETAINED CF_RETURNS_RETAINED
+ #define CV_RETURNS_NOT_RETAINED CF_RETURNS_NOT_RETAINED
#else
- #define CV_RETURNS_RETAINED
+ #define CV_RETURNS_RETAINED
+ #define CV_RETURNS_NOT_RETAINED
#endif
#if (TARGET_OS_IPHONE || TARGET_OS_MAC) && defined(__has_feature) && __has_feature(attribute_cf_returns_on_parameters)
@@ -196,6 +198,17 @@
#define COREVIDEO_GL_DEPRECATED(platform, from, to) API_DEPRECATED("OpenGL/OpenGLES is no longer supported. Use Metal APIs instead. (Define COREVIDEO_SILENCE_GL_DEPRECATION to silence these warnings)", platform(from, to))
#endif // COREVIDEO_SILENCE_GL_DEPRECATION
+// These defines are copied over from CFNSObjCRuntime.h
+#if __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
+ // The typedef or struct should be imported as 'Sendable' in Swift
+ #define CV_SWIFT_SENDABLE __attribute__((swift_attr("@Sendable")))
+ // The struct should *not* be imported as 'Sendable' in Swift even if it normally would be
+ #define CV_SWIFT_NONSENDABLE __attribute__((swift_attr("@_nonSendable")))
+#else
+ #define CV_SWIFT_SENDABLE
+ #define CV_SWIFT_NONSENDABLE
+#endif // __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
+
/*!
@typedef CVOptionFlags
@abstract Flags to be used for the display and render call back functions.
@@ -236,7 +249,7 @@
SInt16 minutes;
SInt16 seconds;
SInt16 frames;
-};
+} CV_SWIFT_SENDABLE;
typedef struct CVSMPTETime CVSMPTETime;
/*!
@@ -269,7 +282,7 @@
kCVSMPTETimeType2997Drop = 5,
kCVSMPTETimeType60 = 6,
kCVSMPTETimeType5994 = 7
-};
+} CV_SWIFT_SENDABLE;
/*!
@enum SMPTE State Flags
@@ -283,20 +296,23 @@
{
kCVSMPTETimeValid = (1L << 0),
kCVSMPTETimeRunning = (1L << 1)
-};
+} CV_SWIFT_SENDABLE;
-
typedef CF_OPTIONS(int32_t, CVTimeFlags) {
kCVTimeIsIndefinite = 1 << 0
-};
+} CV_SWIFT_SENDABLE;
typedef struct
{
int64_t timeValue;
int32_t timeScale;
int32_t flags;
-} CVTime;
+} CVTime CV_SWIFT_SENDABLE;
+
+CV_EXPORT const CVTime kCVZeroTime;
+CV_EXPORT const CVTime kCVIndefiniteTime;
+
/*!
@struct CVTimeStamp
@abstract CoreVideo uses a CVTimeStamp structure to store video display time stamps.
@@ -335,7 +351,7 @@
CVSMPTETime smpteTime;
uint64_t flags;
uint64_t reserved;
-} CVTimeStamp;
+} CVTimeStamp CV_SWIFT_SENDABLE;
// Flags for the CVTimeStamp structure
typedef CF_OPTIONS(uint64_t, CVTimeStampFlags)
@@ -353,24 +369,9 @@
// Some commonly used combinations of timestamp flags
kCVTimeStampVideoHostTimeValid = (kCVTimeStampVideoTimeValid | kCVTimeStampHostTimeValid),
kCVTimeStampIsInterlaced = (kCVTimeStampTopField | kCVTimeStampBottomField)
-};
+} CV_SWIFT_SENDABLE;
-CV_EXPORT const CVTime kCVZeroTime;
-CV_EXPORT const CVTime kCVIndefiniteTime;
-
-// These defines are copied over from CFNSObjCRuntime.h
-#if __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
- // The typedef or struct should be imported as 'Sendable' in Swift
- #define CV_SWIFT_SENDABLE __attribute__((swift_attr("@Sendable")))
- // The struct should *not* be imported as 'Sendable' in Swift even if it normally would be
- #define CV_SWIFT_NONSENDABLE __attribute__((swift_attr("@_nonSendable")))
-#else
- #define CV_SWIFT_SENDABLE
- #define CV_SWIFT_NONSENDABLE
-#endif // __SWIFT_ATTR_SUPPORTS_SENDABLE_DECLS
-
#if defined(__cplusplus)
}
#endif
-
-#endif
+#endif // __COREVIDEO_CVBASE_H__
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2025-04-19 03:01:39
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2025-05-23 06:04:45
@@ -127,8 +127,8 @@
// Used to attach processing metadata to buffers transferred between video decoders and RAW processors.
// Sequence metadata is expected to be invariant over the entire movie, while frame metadata can vary with each frame.
-CV_EXPORT const CFStringRef kCVImageBufferPostDecodeProcessingSequenceMetadataKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, watchos, tvos, visionos); // CFDictionary
-CV_EXPORT const CFStringRef kCVImageBufferPostDecodeProcessingFrameMetadataKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, watchos, tvos, visionos); // CFDictionary
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferPostDecodeProcessingSequenceMetadataKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, watchos, tvos, visionos); // CFDictionary
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferPostDecodeProcessingFrameMetadataKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, watchos, tvos, visionos); // CFDictionary
// Returns the standard integer code point corresponding to a given CoreVideo YCbCrMatrix constant string (in the kCVImageBufferYCbCrMatrix_... family). Returns 2 (the code point for "unknown") if the string is NULL or not recognized.
@@ -195,7 +195,7 @@
CV_EXPORT Boolean CVImageBufferIsFlipped( CVImageBufferRef CV_NONNULL imageBuffer ) __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_4_0);
-#if COREVIDEO_SUPPORTS_COLORSPACE
+#if __has_include(<CoreGraphics/CGColorSpace.h>)
/*!
@function CVImageBufferGetColorSpace
@abstract Returns the color space of a CVImageBuffer.
@@ -204,10 +204,7 @@
Returns NULL if called with a non-CVImageBufferRef type or NULL.
*/
CV_EXPORT CGColorSpaceRef CV_NULLABLE CVImageBufferGetColorSpace( CVImageBufferRef CV_NONNULL imageBuffer ) __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_4_0);
-
-#endif
-#if ! 0
/*!
@function CVImageBufferCreateColorSpaceFromAttachments
@abstract Attempts to synthesize a CGColorSpace from an image buffer's attachments.
@@ -222,8 +219,9 @@
*/
CV_EXPORT CGColorSpaceRef CV_NULLABLE CVImageBufferCreateColorSpaceFromAttachments( CFDictionaryRef CV_NONNULL attachments ) __OSX_AVAILABLE_STARTING(__MAC_10_8,__IPHONE_10_0);
-#endif
+#endif // __has_include(<CoreGraphics/CGColorSpace.h>)
+
// CFData (24 bytes) containing big-endian data matching payload of ISO/IEC 23008-2:2015(E), D.2.28 Mastering display colour volume SEI message
CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferMasteringDisplayColorVolumeKey __OSX_AVAILABLE_STARTING(__MAC_10_13,__IPHONE_11_0);
@@ -260,6 +258,111 @@
CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferLogTransferFunction_AppleLog API_AVAILABLE(macosx(14.2), ios(17.2), tvos(17.2), watchos(10.2), visionos(1.1));
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangleKey
+ @abstract
+ Specifies the rectangular display area within the image. The left, width, top and height are specified relative to a reference raster width and height that should be scaled to the image buffer dimensions.
+ @discussion
+ Value is a dictionary containing these keys for the raster rectangle:
+ kCVImageBufferDisplayMaskRectangle_ReferenceRasterWidthKey
+ kCVImageBufferDisplayMaskRectangle_ReferenceRasterHeightKey
+ kCVImageBufferDisplayMaskRectangle_RectangleLeftKey
+ kCVImageBufferDisplayMaskRectangle_RectangleWidthKey
+ kCVImageBufferDisplayMaskRectangle_RectangleTopKey
+ kCVImageBufferDisplayMaskRectangle_RectangleHeightKey
+*/
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangleKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFDictionary
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_ReferenceRasterWidthKey
+ @abstract
+ Specifies the width in pixels of the 2D coordinate system to define the rectangle. 0,0 origin is the top-left. The raster width value is a CFNumber of unsigned 16-bit integer. Usually matches the width of the video or the output device.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_ReferenceRasterWidthKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(uint16_t)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_ReferenceRasterHeightKey
+ @abstract
+ Specifies the height in pixels of the 2D coordinate system to define the rectangle. 0,0 origin is the top-left. The raster height value is a CFNumber of unsigned 16-bit integer. Usually matches the height of the video or the output device.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_ReferenceRasterHeightKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(uint16_t)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_RectangleLeftKey
+ @abstract
+ Specifies the horizontal pixel offset of the rectangle from the left of the bounding raster. The left offset value is a CFNumber of unsigned 16-bit integer that is less than the reference raster width value.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_RectangleLeftKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(uint16_t)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_RectangleWidthKey
+ @abstract
+ Specifies the width of the rectangle starting at rectangle's left offset toward the rectangle's right edge. The width value is a CFNumber of unsigned 16-bit integer.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_RectangleWidthKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(uint16_t)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_RectangleTopKey
+ @abstract
+ Specifies the vertical pixel offset of the rectangle from the top of the bounding raster. The top offset value is a CFNumber of unsigned 16-bit integer that is less than the reference raster height value.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_RectangleTopKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(uint16_t)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_RectangleHeightKey
+ @abstract
+ Specifies the height of the rectangle starting at rectangle's top offset toward the rectangle's bottom edge. The height value is a CFNumber of unsigned 16-bit integer.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_RectangleHeightKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFNumber(uint16_t)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangleStereoLeftKey
+ @abstract
+ Specifies the rectangular display area within the left eye view of stereo images, using the same keys as with kCVImageBufferDisplayMaskRectangleKey. To address window violations in stereo video, points insetting the left and right edges of the rectangle are supported through additional keys, allowing the description of the "extended raster rectangle".
+ @discussion
+ Value is a dictionary containing these keys for the extended raster rectangle:
+ kCVImageBufferDisplayMaskRectangle_ReferenceRasterWidthKey
+ kCVImageBufferDisplayMaskRectangle_ReferenceRasterHeightKey
+ kCVImageBufferDisplayMaskRectangle_RectangleLeftKey
+ kCVImageBufferDisplayMaskRectangle_RectangleWidthKey
+ kCVImageBufferDisplayMaskRectangle_RectangleTopKey
+ kCVImageBufferDisplayMaskRectangle_RectangleHeightKey
+ kCVImageBufferDisplayMaskRectangle_LeftEdgePointsKey
+ kCVImageBufferDisplayMaskRectangle_RightEdgePointsKey
+*/
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangleStereoLeftKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFDictionary
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangleStereoRightKey
+ @abstract
+ Specifies the rectangular display area within the right eye view of stereo images, using the same keys as with kCVImageBufferDisplayMaskRectangleKey. To address window violations in stereo video, points insetting the left and right edges of the rectangle are supported through additional keys, allowing the description of the "extended raster rectangle".
+ @discussion
+ Value is a dictionary containing these keys for the extended raster rectangle:
+ kCVImageBufferDisplayMaskRectangle_ReferenceRasterWidthKey
+ kCVImageBufferDisplayMaskRectangle_ReferenceRasterHeightKey
+ kCVImageBufferDisplayMaskRectangle_RectangleLeftKey
+ kCVImageBufferDisplayMaskRectangle_RectangleWidthKey
+ kCVImageBufferDisplayMaskRectangle_RectangleTopKey
+ kCVImageBufferDisplayMaskRectangle_RectangleHeightKey
+ kCVImageBufferDisplayMaskRectangle_LeftEdgePointsKey
+ kCVImageBufferDisplayMaskRectangle_RightEdgePointsKey
+*/
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangleStereoRightKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFDictionary
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_LeftEdgePointsKey
+ @abstract
+ Specifies inset points on the left vertical edge of the rectangle. The points are CFArray of unsigned 16-bit integer CFNumber pairs alternating between inset X and inset Y. Inset X is an unsigned offset from left edge (0) towards the right edge (width). Inset Y is an unsigned offset from top edge (0) towards the bottom edge (height)
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_LeftEdgePointsKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray( CFNumber(uint16_t) pairs)
+
+/*!
+ @constant kCVImageBufferDisplayMaskRectangle_RightEdgePointsKey
+ @abstract
+ Specifies inset points on the right vertical edge of the rectangle. The points are CFArray of unsigned 16-bit integer CFNumber pairs alternating between inset X and inset Y. Inset X is an unsigned offset from right edge (0) towards the left edge (width). Inset Y is an unsigned offset from top edge (0) towards the bottom edge (height)
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferDisplayMaskRectangle_RightEdgePointsKey API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0), watchos(26.0), visionos(26.0)); // CFArray( CFNumber(uint16_t) pairs)
#if defined(__cplusplus)
}
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h 2025-04-19 02:07:04
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h 2025-05-23 05:07:02
@@ -116,6 +116,7 @@
kCVPixelFormatType_444YpCbCr10BiPlanarFullRange = 'xf44', /* 2 plane YCbCr10 4:4:4, each 10 bits in the MSBs of 16bits, full-range (Y range 0-1023) */
kCVPixelFormatType_420YpCbCr8VideoRange_8A_TriPlanar = 'v0a8', /* first and second planes as per 420YpCbCr8BiPlanarVideoRange (420v), alpha 8 bits in third plane full-range. No CVPlanarPixelBufferInfo struct. */
kCVPixelFormatType_16VersatileBayer = 'bp16', /* Single plane Bayer 16-bit little-endian sensor element ("sensel") samples from full-size decoding of ProRes RAW images; Bayer pattern (sensel ordering) and other raw conversion information is described via buffer attachments */
+ kCVPixelFormatType_96VersatileBayerPacked12 = 'btp2', /* Bayer 12-bit Little-Endian, packed 12-bits per component in 96-bits; Bayer pattern (sensel ordering) and other raw conversion information is described via buffer attachments */
kCVPixelFormatType_64RGBA_DownscaledProResRAW = 'bp64', /* Single plane 64-bit RGBA (16-bit little-endian samples) from downscaled decoding of ProRes RAW images; components--which may not be co-sited with one another--are sensel values and require raw conversion, information for which is described via buffer attachments */
kCVPixelFormatType_422YpCbCr16BiPlanarVideoRange = 'sv22', /* 2 plane YCbCr16 4:2:2, video-range (luma=[4096,60160] chroma=[4096,61440]) */
kCVPixelFormatType_444YpCbCr16BiPlanarVideoRange = 'sv44', /* 2 plane YCbCr16 4:4:4, video-range (luma=[4096,60160] chroma=[4096,61440]) */
@@ -621,6 +622,15 @@
@param pixelBuffer Target PixelBuffer.
*/
CV_EXPORT CFDictionaryRef CV_NONNULL CVPixelBufferCopyCreationAttributes( CVPixelBufferRef CV_NONNULL pixelBuffer ) CV_RETURNS_RETAINED API_AVAILABLE(macosx(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
+/*!
+ @function CVPixelBufferIsCompatibleWithAttributes
+ @abstract Returns true if given pixel buffer is compatible with pixelBufferAttributes dictionary.
+ @param pixelBuffer PixelBuffer to check for compatibility.
+ @param attributes Creation attributes which pixel buffer should have.
+*/
+CV_EXPORT Boolean CVPixelBufferIsCompatibleWithAttributes( CVPixelBufferRef CV_NONNULL pixelBuffer, CFDictionaryRef CV_NULLABLE attributes )
+ API_AVAILABLE(macosx(10.4), ios(4.0), tvos(4.0), watchos(1.0), visionos(1.0));
#if defined(__cplusplus)
}
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h 2025-04-19 04:16:16
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h 2025-05-23 05:23:56
@@ -2,12 +2,12 @@
* CVPixelBufferIOSurface.h
* CoreVideo
*
- * Copyright (c) 2010-2017 Apple Inc. All rights reserved.
+ * Copyright (c) 2010-2025 Apple Inc. All rights reserved.
*
*/
/*! @header CVPixelBufferIOSurface.h
- @copyright 2010-2017 Apple Inc. All rights reserved.
+ @copyright 2010-2025 Apple Inc. All rights reserved.
@availability Mac OS X 10.4 or later; iOS 11 or later
@discussion routines for accessing and manipulating IOSurface backings for CVPixelBuffers
@@ -82,7 +82,7 @@
CFDictionaryRef CV_NULLABLE pixelBufferAttributes,
CVPixelBufferRef CV_NULLABLE * CV_NONNULL pixelBufferOut) __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_4_0);
-#endif
+#endif // COREVIDEO_INCLUDED_IOSURFACE_HEADER_FILE
#endif // COREVIDEO_SUPPORTS_IOSURFACE
diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h
--- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h 2025-04-19 03:24:56
+++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h 2025-05-23 06:02:28
@@ -141,6 +141,14 @@
CV_EXPORT void CVPixelFormatDescriptionRegisterDescriptionWithPixelFormatType(CFDictionaryRef CV_NONNULL description, OSType pixelFormat) __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_4_0);
/*!
+ @function CVPixelFormatTypeCopyFourCharCodeString
+ @abstract Creates a string with a formatted representation of a pixel format
+ @param pixelFormat The pixel format to convert
+ @result A string with a user displayable conversion of a pixel format.
+ */
+CV_EXPORT CFStringRef CV_NONNULL CVPixelFormatTypeCopyFourCharCodeString(OSType pixelFormat) CF_RETURNS_RETAINED API_AVAILABLE(macos(26.0), ios(26.0), tvos(26.0));
+
+/*!
@function CVIsCompressedPixelFormatAvailable
@abstract Checks if a compressed pixel format is supported on the current platform.
@param pixelFormatType compressed pixel format.