[Vision] Implement Xcode 16.0 beta 1-6 changes. (#21149)

Note: there were no changes in beta 2, beta 3 or beta 6.
This commit is contained in:
Rolf Bjarne Kvinge 2024-09-05 09:39:03 +02:00 коммит произвёл GitHub
Родитель 1f5e485c80
Коммит f0d4a30a64
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
10 изменённых файлов: 61 добавлений и 42 удалений

Просмотреть файл

@ -202,9 +202,17 @@ namespace Vision {
[Native]
enum VNDetectBarcodesRequestRevision : ulong {
Unspecified = 0,
[Deprecated (PlatformName.MacOSX, 14, 0, message: "Use 'Three' instead.")]
[Deprecated (PlatformName.iOS, 17, 0, message: "Use 'Three' instead.")]
[Deprecated (PlatformName.TvOS, 17, 0, message: "Use 'Three' instead.")]
[Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use 'Three' instead.")]
One = 1,
[TV (15, 0), Mac (12, 0), iOS (15, 0)]
[MacCatalyst (15, 0)]
[Deprecated (PlatformName.MacOSX, 15, 0, message: "Use 'Three' instead.")]
[Deprecated (PlatformName.iOS, 18, 0, message: "Use 'Three' instead.")]
[Deprecated (PlatformName.TvOS, 18, 0, message: "Use 'Three' instead.")]
[Deprecated (PlatformName.MacCatalyst, 18, 0, message: "Use 'Three' instead.")]
Two = 2,
[TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
Three = 3,
@ -449,10 +457,16 @@ namespace Vision {
[Native]
enum VNRecognizeTextRequestRevision : ulong {
Unspecified = 0,
[Deprecated (PlatformName.MacOSX, 15, 0, message: "Use 'Two' or 'Three' instead.")]
[Deprecated (PlatformName.iOS, 18, 0, message: "Use 'Two' or 'Three' instead.")]
[Deprecated (PlatformName.TvOS, 18, 0, message: "Use 'Two' or 'Three' instead.")]
[Deprecated (PlatformName.MacCatalyst, 18, 0, message: "Use 'Two' or 'Three' instead.")]
One = 1,
[TV (14, 0), Mac (11, 0), iOS (14, 0)]
[MacCatalyst (14, 0)]
Two = 2,
[TV (16, 0), Mac (13, 0), iOS (16, 0), MacCatalyst (16, 0)]
Three = 3,
}
[TV (13, 0), iOS (13, 0)]
@ -552,6 +566,12 @@ namespace Vision {
One = 1,
}
[Native]
[TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
enum VNCalculateImageAestheticsScoresRequestRevision : ulong {
One = 1,
}
[TV (14, 0), Mac (11, 0), iOS (14, 0)]
[MacCatalyst (14, 0)]
enum VNHumanBodyPoseObservationJointName {
@ -4135,6 +4155,12 @@ namespace Vision {
[Export ("qualityLevel", ArgumentSemantic.Assign)]
VNGeneratePersonSegmentationRequestQualityLevel QualityLevel { get; set; }
[TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[return: NullAllowed]
[return: BindAs (typeof (CVPixelFormatType []))]
[Export ("supportedOutputPixelFormatsAndReturnError:")]
NSNumber [] GetSupportedOutputPixelFormats (out NSError error);
[Export ("outputPixelFormat")]
uint OutputPixelFormat { get; set; }
@ -4674,4 +4700,27 @@ namespace Vision {
[return: NullAllowed]
NSDictionary<NSString, VNRecognizedPoint> GetRecognizedPoints ([BindAs (typeof (VNAnimalBodyPoseObservationJointsGroupName))] NSString jointsGroupName, [NullAllowed] out NSError error);
}
[TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[BaseType (typeof (VNImageBasedRequest))]
[DisableDefaultCtor]
interface VNCalculateImageAestheticsScoresRequest {
[NullAllowed, Export ("results", ArgumentSemantic.Copy)]
VNImageAestheticsScoresObservation [] Results { get; }
[Export ("initWithCompletionHandler:")]
[DesignatedInitializer]
NativeHandle Constructor ([NullAllowed] VNRequestCompletionHandler completionHandler);
}
[TV (18, 0), Mac (15, 0), iOS (18, 0), MacCatalyst (18, 0)]
[BaseType (typeof (VNObservation))]
[DisableDefaultCtor]
interface VNImageAestheticsScoresObservation {
[Export ("isUtility")]
bool IsUtility { get; }
[Export ("overallScore")]
float OverallScore { get; }
}
}

Просмотреть файл

@ -20848,6 +20848,7 @@ F:Vision.VNBarcodeSymbology.MsiPlessey
F:Vision.VNBarcodeSymbology.Pdf417
F:Vision.VNBarcodeSymbology.QR
F:Vision.VNBarcodeSymbology.Upce
F:Vision.VNCalculateImageAestheticsScoresRequestRevision.One
F:Vision.VNChirality.Left
F:Vision.VNChirality.Right
F:Vision.VNChirality.Unknown
@ -21049,6 +21050,7 @@ F:Vision.VNRecognizedObjectObservationRequestRevision.One
F:Vision.VNRecognizedObjectObservationRequestRevision.Two
F:Vision.VNRecognizedObjectObservationRequestRevision.Unspecified
F:Vision.VNRecognizeTextRequestRevision.One
F:Vision.VNRecognizeTextRequestRevision.Three
F:Vision.VNRecognizeTextRequestRevision.Two
F:Vision.VNRecognizeTextRequestRevision.Unspecified
F:Vision.VNRectangleObservationRequestRevision.One
@ -51602,6 +51604,7 @@ M:Vision.VNBarcodeObservation.FromBoundingBox(CoreGraphics.CGRect)
M:Vision.VNBarcodeObservation.FromBoundingBox(Vision.VNBarcodeObservationRequestRevision,CoreGraphics.CGRect)
M:Vision.VNBarcodeSymbologyExtensions.GetConstants(Vision.VNBarcodeSymbology[])
M:Vision.VNBarcodeSymbologyExtensions.GetValues(Foundation.NSString[])
M:Vision.VNCalculateImageAestheticsScoresRequest.#ctor(Vision.VNRequestCompletionHandler)
M:Vision.VNCircle.Contains(Vision.VNPoint,System.Double)
M:Vision.VNCircle.Contains(Vision.VNPoint)
M:Vision.VNCircle.Copy(Foundation.NSZone)
@ -51713,6 +51716,7 @@ M:Vision.VNGeneratePersonInstanceMaskRequest.#ctor(Vision.VNRequestCompletionHan
M:Vision.VNGeneratePersonSegmentationRequest.#ctor(CoreMedia.CMTime,Vision.VNRequestCompletionHandler)
M:Vision.VNGeneratePersonSegmentationRequest.#ctor(Vision.VNRequestCompletionHandler)
M:Vision.VNGeneratePersonSegmentationRequest.Create
M:Vision.VNGeneratePersonSegmentationRequest.GetSupportedOutputPixelFormats(Foundation.NSError@)
M:Vision.VNGeometryUtils.CalculateArea(System.Double@,Vision.VNContour,System.Boolean,Foundation.NSError@)
M:Vision.VNGeometryUtils.CalculatePerimeter(System.Double@,Vision.VNContour,Foundation.NSError@)
M:Vision.VNGeometryUtils.CreateBoundingCircle(System.Numerics.Vector2[],Foundation.NSError@)
@ -77656,6 +77660,7 @@ P:Vision.VNBarcodeObservation.SupplementalPayloadData
P:Vision.VNBarcodeObservation.SupplementalPayloadString
P:Vision.VNBarcodeObservation.Symbology
P:Vision.VNBarcodeObservation.WeakSymbology
P:Vision.VNCalculateImageAestheticsScoresRequest.Results
P:Vision.VNCircle.Center
P:Vision.VNCircle.Diameter
P:Vision.VNCircle.Radius
@ -77882,6 +77887,8 @@ P:Vision.VNHumanHandPoseObservation.AvailableJointNames
P:Vision.VNHumanHandPoseObservation.AvailableJointsGroupNames
P:Vision.VNHumanHandPoseObservation.Chirality
P:Vision.VNHumanObservation.UpperBodyOnly
P:Vision.VNImageAestheticsScoresObservation.IsUtility
P:Vision.VNImageAestheticsScoresObservation.OverallScore
P:Vision.VNImageBasedRequest.RegionOfInterest
P:Vision.VNImageHomographicAlignmentObservation.WarpTransform
P:Vision.VNImageOptions.CameraIntrinsics
@ -84754,6 +84761,7 @@ T:Vision.VNAnimalBodyPoseObservationJointsGroupName
T:Vision.VNAnimalIdentifier
T:Vision.VNBarcodeCompositeType
T:Vision.VNBarcodeObservationRequestRevision
T:Vision.VNCalculateImageAestheticsScoresRequestRevision
T:Vision.VNChirality
T:Vision.VNClassifyImageRequestRevision
T:Vision.VNComputeStage

Просмотреть файл

@ -1,6 +0,0 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound

Просмотреть файл

@ -11,6 +11,7 @@
## static const NSUInteger VNCoreMLRequestRevision1 = 1;
!unknown-native-enum! VNRequestRevision bound
!unknown-native-enum! VNBarcodeObservationRequestRevision bound
!unknown-native-enum! VNCalculateImageAestheticsScoresRequestRevision bound
!unknown-native-enum! VNCoreMLRequestRevision bound
!unknown-native-enum! VNDetectBarcodesRequestRevision bound
!unknown-native-enum! VNDetectedObjectObservationRequestRevision bound

Просмотреть файл

@ -1,6 +0,0 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound

Просмотреть файл

@ -1,6 +0,0 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound

Просмотреть файл

@ -1,6 +0,0 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound

Просмотреть файл

@ -1,6 +1 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound
!unknown-native-enum! VNCalculateImageAestheticsScoresRequestRevision bound

Просмотреть файл

@ -1,6 +1 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound
!unknown-native-enum! VNCalculateImageAestheticsScoresRequestRevision bound

Просмотреть файл

@ -1,6 +1 @@
!missing-selector! VNCalculateImageAestheticsScoresRequest::results not bound
!missing-selector! VNGeneratePersonSegmentationRequest::supportedOutputPixelFormatsAndReturnError: not bound
!missing-selector! VNImageAestheticsScoresObservation::isUtility not bound
!missing-selector! VNImageAestheticsScoresObservation::overallScore not bound
!missing-type! VNCalculateImageAestheticsScoresRequest not bound
!missing-type! VNImageAestheticsScoresObservation not bound
!unknown-native-enum! VNCalculateImageAestheticsScoresRequestRevision bound