Skip to content

ImageIO tvOS xcode14.0 beta1

tj_devel709 edited this page Aug 26, 2022 · 3 revisions

#ImageIO.framework https://github.com/xamarin/xamarin-macios/pull/15779

diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h	2022-02-23 07:16:20.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h	2022-06-03 18:07:18.000000000 -0400
@@ -21,6 +21,7 @@
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyTIFFDictionary  IMAGEIO_AVAILABLE_STARTING(10.4, 4.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGIFDictionary  IMAGEIO_AVAILABLE_STARTING(10.4, 4.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyJFIFDictionary  IMAGEIO_AVAILABLE_STARTING(10.4, 4.0);
+IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEIFDictionary  IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHEICSDictionary  IMAGEIO_AVAILABLE_STARTING(10.15, 13.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyExifDictionary  IMAGEIO_AVAILABLE_STARTING(10.4, 4.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPNGDictionary  IMAGEIO_AVAILABLE_STARTING(10.4, 4.0);
@@ -848,7 +849,22 @@
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIsLeftImage IMAGEIO_AVAILABLE_STARTING(12.0, 15.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIsRightImage IMAGEIO_AVAILABLE_STARTING(12.0, 15.0);
 IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageIsAlternateImage IMAGEIO_AVAILABLE_STARTING(12.0, 15.0);
+IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageBaseline IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kCGImagePropertyGroupImageDisparityAdjustment IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
 
+// kCGImagePropertyHorizontalFOV will be removed soon
+IMAGEIO_EXTERN const CFStringRef kCGImagePropertyHorizontalFOV IMAGEIO_AVAILABLE_BUT_DEPRECATED(13.0, 16.0, 13.0, 16.0);
+
+IMAGEIO_EXTERN const CFStringRef kIIOMetadata_CameraExtrinsicsKey  IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraExtrinsics_CoordinateSystemID IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraExtrinsics_Position IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraExtrinsics_Rotation IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+
+IMAGEIO_EXTERN const CFStringRef kIIOMetadata_CameraModelKey IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraModel_ModelType IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraModelType_SimplifiedPinhole IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraModelType_GenericPinhole IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
+IMAGEIO_EXTERN const CFStringRef kIIOCameraModel_Intrinsics IMAGEIO_AVAILABLE_STARTING(13.0, 16.0);
 CF_ASSUME_NONNULL_END
 
 CF_IMPLICIT_BRIDGING_DISABLED
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h	2022-02-23 07:14:15.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h	2022-06-03 18:09:36.000000000 -0400
@@ -227,7 +227,7 @@
  */
 IMAGEIO_EXTERN size_t CGImageSourceGetPrimaryImageIndex(CGImageSourceRef _iio_Nonnull isrc)  IMAGEIO_AVAILABLE_STARTING(10.14, 12.0);
 
-/* Depth data support for JPEG, HEIF, and DNG images.
+/* Auxiliary data support for JPEG, HEIF, and DNG images (kCGImageAuxiliaryDataTypeDepth, ...)
  * The returned CFDictionary contains:
  *   - the depth data (CFDataRef) - (kCGImageAuxiliaryDataInfoData),
  *   - the depth data description (CFDictionary) - (kCGImageAuxiliaryDataInfoDataDescription)
diff -ruN /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h
--- /Applications/Xcode_13.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h	2022-02-23 07:10:19.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h	2022-05-31 15:03:46.000000000 -0400
@@ -92,10 +92,12 @@
 #   endif
 #endif
 
-#if (!IMAGEIO_bridgeOS) 
-#    define IIO_HAS_IOSURFACE 1
-#else
-#    define IIO_HAS_IOSURFACE 0
+#if !defined(IIO_HAS_IOSURFACE)
+#   if (!IMAGEIO_bridgeOS) 
+#       define IIO_HAS_IOSURFACE 1
+#   else
+#       define IIO_HAS_IOSURFACE 0
+#   endif
 #endif
 
 #if defined(__has_feature) && __has_feature(objc_bridge_id)
Clone this wiki locally