-
Notifications
You must be signed in to change notification settings - Fork 569
CoreVideo iOS xcode27.0 b1
Alex Soto edited this page Jun 9, 2026
·
1 revision
#CoreVideo.framework
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h 2026-04-18 20:54:06
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h 2026-05-21 07:35:05
@@ -74,7 +74,7 @@
#endif
-#if TARGET_OS_MAC
+#if TARGET_OS_MAC && __has_include(<IOSurface/IOSurfaceRef.h>)
#define COREVIDEO_SUPPORTS_IOSURFACE COREVIDEO_TRUE
#else
#define COREVIDEO_SUPPORTS_IOSURFACE COREVIDEO_FALSE
@@ -100,12 +100,6 @@
#define COREVIDEO_SUPPORTS_GLES_TEX_IMAGE_IOSURFACE COREVIDEO_FALSE
#else
#define COREVIDEO_SUPPORTS_GLES_TEX_IMAGE_IOSURFACE COREVIDEO_SUPPORTS_IOSURFACE
-#endif
-
-#if TARGET_OS_IPHONE
- #define COREVIDEO_USE_IOSURFACEREF COREVIDEO_TRUE
-#else
- #define COREVIDEO_USE_IOSURFACEREF COREVIDEO_FALSE
#endif
#if COREVIDEO_SUPPORTS_IOSURFACE && (TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MIN_REQUIRED >= 101100)) && (! TARGET_OS_WATCH)
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2026-04-18 19:08:55
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2026-05-22 04:39:50
@@ -22,7 +22,7 @@
#include <AvailabilityMacros.h>
// For legacy reasons CVImageBuffer.h includes CoreGraphics.h and ApplicationServices.h
-#if TARGET_OS_IPHONE || TARGET_OS_WIN32
+#if defined(__swift__) || TARGET_OS_IPHONE || TARGET_OS_WIN32
#include <CoreGraphics/CoreGraphics.h>
#else
#if __has_include(<ApplicationServices/ApplicationServices.h>)
@@ -376,6 +376,16 @@
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)
+
+/*!
+ @constant kCVImageBufferHorizontalDisparityAdjustmentKey
+ @abstract
+ Indicates a relative shift of the left and right images, which changes the zero parallax plane.
+ @discussion
+ The value encoded in normalized image space is a CFNumber holding a signed 32-bit integer measured over the range of -10000 to 10000 mapping to the uniform range [-1.0...1.0]. The interval of 0.0 to 1.0 or 0 to 10000 maps onto the stereo eye view image width. The negative interval 0.0 to -1.0 or 0 to -10000 similarly map onto the stereo eye view image width.
+ The default value of 0 is inferred if this property is not set.
+ */
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferHorizontalDisparityAdjustmentKey API_AVAILABLE(macos(14.0), ios(17.0), tvos(17.0), watchos(10.0)); // CFNumber(int32_t)
#if defined(__cplusplus)
}
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h 2026-04-18 21:32:55
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h 2026-05-21 07:24:13
@@ -335,7 +335,7 @@
#if COREVIDEO_SUPPORTS_IOSURFACE
/*!
@const kCVPixelBufferIOSurfacePurgeableKey
- @abstract Key sets the IOSurface backed memory allocation for CVPixelBuffer as purgable and volatile.
+ @abstract Key sets the IOSurface backed memory allocation for CVPixelBuffer as purgeable and non-volatile.
@discussion A purgeable IOSurface is capable of being switched between non-volatile, volatile and empty states using IOSurfaceSetPurgeable. When in the volatile state, the OS is permitted to instantly change its state to empty and remove all its memory pages. Clients should set the IOSurfaces to the non-volatile state while they are in use and the volatile state when their need and contents is optional/speculative and OK to discard in response to system memory demand. See IOSurfaceSetPurgeable for more details. This key is only effective for CVPixelBuffers that are backed by IOSurface.
*/
CV_EXPORT const CFStringRef CV_NONNULL kCVPixelBufferIOSurfacePurgeableKey API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(26.0)) ;
diff -ruN /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h
--- /Applications/Xcode_26.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h 2026-04-18 19:03:31
+++ /Applications/Xcode_27.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h 2026-05-21 07:02:03
@@ -21,17 +21,7 @@
#include <CoreVideo/CVPixelBuffer.h>
#if COREVIDEO_SUPPORTS_IOSURFACE
-#if COREVIDEO_USE_IOSURFACEREF
-#if __has_include(<IOSurface/IOSurfaceRef.h>)
#include <IOSurface/IOSurfaceRef.h>
-#define COREVIDEO_INCLUDED_IOSURFACE_HEADER_FILE 1
-#endif
-#else
-#if __has_include(<IOSurface/IOSurface.h>)
-#include <IOSurface/IOSurface.h>
-#define COREVIDEO_INCLUDED_IOSURFACE_HEADER_FILE 1
-#endif
-#endif
#endif // COREVIDEO_SUPPORTS_IOSURFACE
@@ -52,7 +42,6 @@
CV_EXPORT const CFStringRef CV_NONNULL kCVPixelBufferIOSurfaceOpenGLESFBOCompatibilityKey API_AVAILABLE(ios(5.0), tvos(9.0)) API_UNAVAILABLE(macosx) API_UNAVAILABLE(macCatalyst) API_UNAVAILABLE(visionos) __WATCHOS_PROHIBITED; // CFBoolean
#if COREVIDEO_SUPPORTS_IOSURFACE
-#if COREVIDEO_INCLUDED_IOSURFACE_HEADER_FILE
/*!
@function CVPixelBufferGetIOSurface
@@ -82,7 +71,6 @@
CFDictionaryRef CV_NULLABLE pixelBufferAttributes,
CVPixelBufferRef CV_NULLABLE * CV_NONNULL pixelBufferOut) __OSX_AVAILABLE_STARTING(__MAC_10_6,__IPHONE_4_0);
-#endif // COREVIDEO_INCLUDED_IOSURFACE_HEADER_FILE
#endif // COREVIDEO_SUPPORTS_IOSURFACE