diff --git a/src/AVFoundation/Enums.cs b/src/AVFoundation/Enums.cs index d57acd834d..44150c27e4 100644 --- a/src/AVFoundation/Enums.cs +++ b/src/AVFoundation/Enums.cs @@ -710,7 +710,9 @@ namespace AVFoundation { public enum AVCaptureColorSpace : long { Srgb = 0, - P3D65 = 1 + P3D65 = 1, + [iOS (14,1)][NoMac] + HlgBT2020 = 2, } [iOS (8,0)] diff --git a/src/avfoundation.cs b/src/avfoundation.cs index ae69ab1cc6..b9d4fb807d 100644 --- a/src/avfoundation.cs +++ b/src/avfoundation.cs @@ -9586,6 +9586,11 @@ namespace AVFoundation { [NoWatch, NoTV, NoMac, iOS (13, 0)] [Export ("autoVirtualDeviceFusionEnabled")] bool AutoVirtualDeviceFusionEnabled { [Bind ("isAutoVirtualDeviceFusionEnabled")] get; set; } + + [iOS (14,1)] + [NoMac] + [Export ("autoContentAwareDistortionCorrectionEnabled")] + bool AutoContentAwareDistortionCorrectionEnabled { [Bind ("isAutoContentAwareDistortionCorrectionEnabled")] get; set; } } #if !MONOMAC @@ -9677,6 +9682,11 @@ namespace AVFoundation { [NoWatch, NoTV, NoMac, iOS (13,0)] [Export ("virtualDeviceFusionEnabled")] bool VirtualDeviceFusionEnabled { [Bind ("isVirtualDeviceFusionEnabled")] get; } + + [iOS (14,1)] + [NoMac] + [Export ("contentAwareDistortionCorrectionEnabled")] + bool ContentAwareDistortionCorrectionEnabled { [Bind ("isContentAwareDistortionCorrectionEnabled")] get; } } @@ -9922,6 +9932,16 @@ namespace AVFoundation { [NoWatch, NoTV, NoMac, iOS (13, 0)] [Export ("virtualDeviceConstituentPhotoDeliveryEnabled")] bool VirtualDeviceConstituentPhotoDeliveryEnabled { [Bind ("isVirtualDeviceConstituentPhotoDeliveryEnabled")] get; set; } + + [iOS (14,1)] + [NoMac] + [Export ("contentAwareDistortionCorrectionSupported")] + bool ContentAwareDistortionCorrectionSupported { [Bind ("isContentAwareDistortionCorrectionSupported")] get; } + + [iOS (14,1)] + [NoMac] + [Export ("contentAwareDistortionCorrectionEnabled")] + bool ContentAwareDistortionCorrectionEnabled { [Bind ("isContentAwareDistortionCorrectionEnabled")] get; set; } } [BaseType (typeof (AVCaptureFileOutput))] @@ -11513,6 +11533,11 @@ namespace AVFoundation { [Watch (7, 0), TV (14, 0), Mac (11, 0), iOS (14, 0)] [Export ("startsOnFirstEligibleVariant")] bool StartsOnFirstEligibleVariant { get; set; } + + [iOS (14,1)] + [NoWatch][NoTV][NoMac] + [Export ("appliesPerFrameHDRDisplayMetadata")] + bool AppliesPerFrameHdrDisplayMetadata { get; set; } } [NoiOS][NoTV][NoWatch] @@ -13707,6 +13732,10 @@ namespace AVFoundation { Hair, [Field ("AVSemanticSegmentationMatteTypeTeeth")] Teeth, + [iOS (14,1)] + [NoWatch][NoTV][NoMac] + [Field ("AVSemanticSegmentationMatteTypeGlasses")] + Glasses, } [Watch (6,0), TV (13,0), Mac (10,15), iOS (13,0)] diff --git a/tests/xtro-sharpie/iOS-AVFoundation.todo b/tests/xtro-sharpie/iOS-AVFoundation.todo deleted file mode 100644 index 6d151fa2d0..0000000000 --- a/tests/xtro-sharpie/iOS-AVFoundation.todo +++ /dev/null @@ -1,9 +0,0 @@ -!missing-field! AVSemanticSegmentationMatteTypeGlasses not bound -!missing-selector! AVCapturePhotoOutput::isContentAwareDistortionCorrectionEnabled not bound -!missing-selector! AVCapturePhotoOutput::isContentAwareDistortionCorrectionSupported not bound -!missing-selector! AVCapturePhotoOutput::setContentAwareDistortionCorrectionEnabled: not bound -!missing-selector! AVCapturePhotoSettings::isAutoContentAwareDistortionCorrectionEnabled not bound -!missing-selector! AVCapturePhotoSettings::setAutoContentAwareDistortionCorrectionEnabled: not bound -!missing-selector! AVCaptureResolvedPhotoSettings::isContentAwareDistortionCorrectionEnabled not bound -!missing-selector! AVPlayerItem::appliesPerFrameHDRDisplayMetadata not bound -!missing-selector! AVPlayerItem::setAppliesPerFrameHDRDisplayMetadata: not bound