Skip to content

VideoToolbox tvOS xcode14.0 beta2

Manuel de la Pena edited this page Sep 1, 2022 · 3 revisions

#VideoToolbox.framework https://github.com/xamarin/xamarin-macios/pull/15845

diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h	2022-06-03 18:06:54.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferSession.h	2022-06-17 15:28:59.000000000 -0400
@@ -59,16 +59,6 @@
   CM_NULLABLE CFAllocatorRef							allocator,
   CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE VTPixelTransferSessionRef * CM_NONNULL pixelTransferSessionOut) VT_AVAILABLE_STARTING(10_8);
 
-#if defined(__swift__) && __swift__
-static inline OSStatus CF_SWIFT_NAME(VTPixelTransferSessionCreate(_:_:))
-_VTPixelTransferSessionCreate_shim(
-  CM_NULLABLE CFAllocatorRef	                                                   allocator,
-  CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE VTPixelTransferSessionRef * CM_NONNULL pixelTransferSessionOut)
-{
-   return VTPixelTransferSessionCreate(allocator, pixelTransferSessionOut);
-}
-#endif
-
 CF_IMPLICIT_BRIDGING_ENABLED
 	
 /*!
@@ -115,17 +105,6 @@
   CM_NONNULL VTPixelTransferSessionRef       session,
   CM_NONNULL CVPixelBufferRef                sourceBuffer,
   CM_NONNULL CVPixelBufferRef                destinationBuffer) VT_AVAILABLE_STARTING(10_8);
-
-#if defined(__swift__) && __swift__
-static inline OSStatus CF_SWIFT_NAME(VTPixelTransferSessionTransferImage(_:_:_:))
-_VTPixelTransferSessionTransferImage_shim(
-  CM_NONNULL VTPixelTransferSessionRef       session,
-  CM_NONNULL CVPixelBufferRef                sourceBuffer,
-  CM_NONNULL CVPixelBufferRef                destinationBuffer )
-{
-   return VTPixelTransferSessionTransferImage(session, sourceBuffer, destinationBuffer);
-}
-#endif
 	
 CF_IMPLICIT_BRIDGING_DISABLED
 
Clone this wiki locally