[VideoToolbox] Update bindings up to Xcode 27 Beta 3#25990
Conversation
Bind the missing VideoToolbox APIs for Xcode 27 (SDK 27.0): * kVTCompressionPreset_ConsistentQuality * kVTCompressionPropertyKey_ConstantQualityFactor * kVTCompressionPropertyKey_LogTransferFunction * kVTProjectionKind_AppleImmersiveVideo (not available on tvOS) * +[VTLowLatencyFrameInterpolationConfiguration maximumDimensionForSpatialScaleFactor:] * +[VTLowLatencyFrameInterpolationConfiguration maximumPixelCountForSpatialScaleFactor:] Remove the resolved xtro .todo entries and add the corresponding Documentation.KnownFailures.txt entries for the new public members. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the VideoToolbox bindings to cover newly exposed SDK 27.0 (Xcode 27 beta 3) APIs, and synchronizes the repository’s annotation/documentation test baselines accordingly.
Changes:
- Added new
VTCompression*preset/property bindings (including new preset dictionaries + compression property keys). - Added the new
VTProjectionKind.AppleImmersiveVideosmart-enum value (not on tvOS) and newVTLowLatencyFrameInterpolationConfigurationstatic query APIs. - Removed now-resolved xtro-sharpie
.todoentries and added correspondingDocumentation.KnownFailures.txtentries for the new public surface area.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
src/videotoolbox.cs |
Adds the new VideoToolbox constants/properties/enum value and two new static selector bindings for SDK 27.0. |
tests/cecil-tests/Documentation.KnownFailures.txt |
Registers documentation known-failures for the newly introduced public members so cecil documentation tests stay in sync. |
tests/xtro-sharpie/api-annotations-dotnet/iOS-VideoToolbox.todo |
Removes resolved missing-binding entries for iOS. |
tests/xtro-sharpie/api-annotations-dotnet/tvOS-VideoToolbox.todo |
Removes resolved missing-binding entries for tvOS. |
tests/xtro-sharpie/api-annotations-dotnet/macOS-VideoToolbox.todo |
Removes resolved missing-binding entries for macOS. |
tests/xtro-sharpie/api-annotations-dotnet/MacCatalyst-VideoToolbox.todo |
Removes resolved missing-binding entries for Mac Catalyst. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #c660dfb] Build passed (Build packages) ✅Pipeline on Agent |
✅ [CI Build #c660dfb] Build passed (Detect API changes) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #c660dfb] Build passed (Build macOS tests) ✅Pipeline on Agent |
| [TV (27, 0), MacCatalyst (27, 0), Mac (27, 0), iOS (27, 0)] | ||
| // not strongly typed to CMFormatDescriptionLogTransferFunction because other values are allowed as well | ||
| [Export ("LogTransferFunction")] | ||
| string LogTransferFunction { get; set; } |
There was a problem hiding this comment.
I wonder if we should have a strongly typed LogTransferFunction, and then a WeakLogTransferFunction as well? NBD either way.
There was a problem hiding this comment.
Filed #26006 to track adding a strongly typed LogTransferFunction (with WeakLogTransferFunction) using CMFormatDescriptionLogTransferFunction.
This comment has been minimized.
This comment has been minimized.
🔥 [CI Build #c660dfb] Test results 🔥Test results❌ Tests failed on VSTS: test results 1 tests crashed, 0 tests failed, 191 tests passed. Failures❌ Tests on macOS Golden Gate (27) tests🔥 Failed catastrophically on VSTS: test results - mac_golden_gate (no summary found). Html Report (VSDrops) Download Successes✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Bind the missing VideoToolbox APIs for Xcode 27 (SDK 27.0):
Remove the resolved xtro .todo entries and add the corresponding Documentation.KnownFailures.txt entries for the new public members.