diff --git a/src/imageio.cs b/src/imageio.cs index 060b25b0e5d6..3e75180e1908 100644 --- a/src/imageio.cs +++ b/src/imageio.cs @@ -2101,6 +2101,18 @@ interface CGImageProperties { [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] [Field ("kCGImagePropertyGroupTypeAlternate")] NSString GroupTypeAlternate { get; } + + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + [Field ("kCGImagePropertyGroupImageBaseline")] + NSString GroupImageBaseline { get; } + + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + [Field ("kCGImagePropertyGroupImageDisparityAdjustment")] + NSString GroupImageDisparityAdjustment { get; } + + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + [Field ("kCGImagePropertyHEIFDictionary")] + NSString HeifDictionary { get; } } [iOS (7,0)] @@ -2489,4 +2501,48 @@ interface CGImageAnimationOptions { nuint StartIndex { get; set; } } + + [Static] + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + interface IOCameraExtrinsics { + [Field ("kIIOCameraExtrinsics_CoordinateSystemID")] + NSString CoordinateSystemId { get; } + + [Field ("kIIOCameraExtrinsics_Position")] + NSString Position { get; } + + [Field ("kIIOCameraExtrinsics_Rotation")] + NSString Rotation { get; } + } + + [Static] + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + interface IOCameraModel { + [Field ("kIIOCameraModel_Intrinsics")] + NSString Intrinsics { get; } + + [Mac (13, 0), iOS (16, 0)] + [Field ("kIIOCameraModel_ModelType")] + NSString ModelType { get; } + } + + [Static] + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + interface IOCameraModelType { + [Field ("kIIOCameraModelType_SimplifiedPinhole")] + NSString SimplifiedPinhole { get; } + + [Field ("kIIOCameraModelType_GenericPinhole")] + NSString GenericPinhole { get; } + } + + [Static] + [iOS (16,0), Mac (13,0), Watch (9,0), TV (16,0), MacCatalyst (16,0)] + interface IOMetadata { + [Field ("kIIOMetadata_CameraExtrinsicsKey")] + NSString CameraExtrinsicsKey { get; } + + [Field ("kIIOMetadata_CameraModelKey")] + NSString CameraModelKey { get; } + } } diff --git a/tests/xtro-sharpie/api-annotations-dotnet/iOS-ImageIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/iOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/iOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/macOS-ImageIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/macOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/macOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound diff --git a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-ImageIO.todo b/tests/xtro-sharpie/api-annotations-dotnet/tvOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/api-annotations-dotnet/tvOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound diff --git a/tests/xtro-sharpie/iOS-ImageIO.todo b/tests/xtro-sharpie/iOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/iOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound diff --git a/tests/xtro-sharpie/macOS-ImageIO.todo b/tests/xtro-sharpie/macOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/macOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound diff --git a/tests/xtro-sharpie/tvOS-ImageIO.todo b/tests/xtro-sharpie/tvOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/tvOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound diff --git a/tests/xtro-sharpie/watchOS-ImageIO.todo b/tests/xtro-sharpie/watchOS-ImageIO.todo deleted file mode 100644 index 2537c5d324f7..000000000000 --- a/tests/xtro-sharpie/watchOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageBaseline not bound -!missing-field! kCGImagePropertyGroupImageDisparityAdjustment not bound -!missing-field! kCGImagePropertyHEIFDictionary not bound -!missing-field! kIIOCameraExtrinsics_CoordinateSystemID not bound -!missing-field! kIIOCameraExtrinsics_Position not bound -!missing-field! kIIOCameraExtrinsics_Rotation not bound -!missing-field! kIIOCameraModel_Intrinsics not bound -!missing-field! kIIOCameraModel_ModelType not bound -!missing-field! kIIOCameraModelType_GenericPinhole not bound -!missing-field! kIIOCameraModelType_SimplifiedPinhole not bound -!missing-field! kIIOMetadata_CameraExtrinsicsKey not bound -!missing-field! kIIOMetadata_CameraModelKey not bound