- Notifications
You must be signed in to change notification settings - Fork548
VideoToolbox tvOS xcode16.0 b3
Rolf Bjarne Kvinge edited this pageAug 30, 2024 ·3 revisions
#VideoToolbox.frameworkhttps://github.com/xamarin/xamarin-macios/pull/21157
diff -ruN /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h--- /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h2024-06-15 10:34:35+++ /Applications/Xcode_16.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTUtilities.h2024-06-29 15:23:34@@ -66,53 +66,73 @@ @paramformatDesc The format description for the video format for which information is being requested. @parammediaExtensionPropertiesOut-If a Media Extension video decoder will be used to decode the specified format, this pointer will return a dictionary with a set of properties describing the extension video decoder.+If a Media Extension video decoder will be used to decode the specified format, this pointer will return a dictionary with a set of properties describing the extension video decoder. The dictionary keys are VTExtensionPropertiesKey values. @resultIf the function succeeds and a Media Extension video decoder will be used to decode this format, the return value will be noErr. If the function succeeds but a Media Extension video decoder will not be used to decode this format, the return value will be kVTCouldNotFindExtensionErr. Otherwise, the return value will be an error code describing the failure. */-VT_EXPORT OSStatus VTCopyVideoDecoderExtensionProperties( CMFormatDescriptionRef CM_NONNULL formatDesc, CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE CFDictionaryRef * CM_NONNULL mediaExtensionPropertiesOut ) API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT OSStatus VTCopyVideoDecoderExtensionProperties( CMFormatDescriptionRef CM_NONNULL formatDesc, CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE CFDictionaryRef * CM_NONNULL mediaExtensionPropertiesOut ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos); /*!-@typedefVTDecoderExtensionPropertiesKey-@abstractA key in a Media Extension video decoder properties dictionary.+@functionVTCopyRAWProcessorExtensionProperties+@abstractReturns information about the Media Extension RAW processor supporting the specified format.+@discussionIf a Media Extension RAW processor will be used to process the specified format, this function will return information about the Media Extension that will be used.+@paramformatDesc+The format description for the video format for which information is being requested.+@parammediaExtensionPropertiesOut+If a Media Extension RAW processor will be used to process the specified format, this pointer will return a dictionary with a set of properties describing the extension RAW processor. The dictionary keys VTExtensionPropertiesKey values.+@resultIf the function succeeds and a Media Extension RAW processor will be used to process this format, the return value will be noErr. If the function succeeds but a Media Extension RAW processor will not be used to process this format, the return value will be kVTCouldNotFindExtensionErr. Otherwise, the return value will be an error code describing the failure. */-typedef CFStringRef VTDecoderExtensionPropertiesKey CF_TYPED_ENUM API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT OSStatus VTCopyRAWProcessorExtensionProperties( CMFormatDescriptionRef CM_NONNULL formatDesc, CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE CFDictionaryRef * CM_NONNULL mediaExtensionPropertiesOut ) CF_REFINED_FOR_SWIFT API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+/*!+@typedefVTExtensionPropertiesKey+@abstractA key in a Media Extension extension properties dictionary.+*/+typedef CFStringRef VTExtensionPropertiesKey CF_TYPED_ENUM API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+ CM_ASSUME_NONNULL_BEGIN /*!-@constantkVTDecoderExtensionProperties_ExtensionIdentifierKey+@constantkVTExtensionProperties_ExtensionIdentifierKey @abstractA CFDictionary key for the video decoder extension identifier.-@discussionThis key points to a CFStringRef value with the video decoder extension identifier, corresponding to the ClassImplementationID value from the EXAppExtensionAttributes dictionary in the Info.plist file.+@discussionThis key points to a CFStringRef value with the extension identifier, corresponding to the ClassImplementationID value from the EXAppExtensionAttributes dictionary in the Info.plist file. */-VT_EXPORT VTDecoderExtensionPropertiesKey const kVTDecoderExtensionProperties_ExtensionIdentifierKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT VTExtensionPropertiesKey const kVTExtensionProperties_ExtensionIdentifierKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos) CF_SWIFT_NAME(extensionIdentifier); /*!-@constantkVTDecoderExtensionProperties_ExtensionNameKey-@abstractA CFDictionary key for the localized video decoder extension name.-@discussionThis key points to a CFStringRef value with the localized video decoder extension name.+@constantkVTExtensionProperties_ExtensionNameKey+@abstractA CFDictionary key for the localized extension name.+@discussionThis key points to a CFStringRef value with the localized extension name. */-VT_EXPORT VTDecoderExtensionPropertiesKey const kVTDecoderExtensionProperties_ExtensionNameKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT VTExtensionPropertiesKey const kVTExtensionProperties_ExtensionNameKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos) CF_SWIFT_NAME(extensionName); /*!-@constantkVTDecoderExtensionProperties_ContainingBundleNameKey+@constantkVTExtensionProperties_ContainingBundleNameKey @abstractA CFDictionary key for the extension host application localized name.-@discussionThis key points to a CFStringRef value with the localized name of the application hosting the video decoder extension.+@discussionThis key points to a CFStringRef value with the localized name of the application hosting the extension. */-VT_EXPORT VTDecoderExtensionPropertiesKey const kVTDecoderExtensionProperties_ContainingBundleNameKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT VTExtensionPropertiesKey const kVTExtensionProperties_ContainingBundleNameKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos) CF_SWIFT_NAME(containingBundleName); /*!-@constantkVTDecoderExtensionProperties_ExtensionURLKey-@abstractA CFDictionary key for the URL of the video decoder extension.-@discussion This key points to a CFURLRef value with the URL for the video decoder extension.+@constantkVTExtensionProperties_ExtensionURLKey+@abstractA CFDictionary key for the URL of the extension.+@discussion This key points to a CFURLRef value with the URL for the extension. */-VT_EXPORT VTDecoderExtensionPropertiesKey const kVTDecoderExtensionProperties_ExtensionURLKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT VTExtensionPropertiesKey const kVTExtensionProperties_ExtensionURLKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos) CF_SWIFT_NAME(extensionURL); /*!-@constantkVTDecoderExtensionProperties_ContainingBundleURLKey+@constantkVTExtensionProperties_ContainingBundleURLKey @abstractA CFDictionary key for the URL of the extension host application. @discussionThis key points to a CFURLRef value with the URL of the extension host application. */-VT_EXPORT VTDecoderExtensionPropertiesKey const kVTDecoderExtensionProperties_ContainingBundleURLKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+VT_EXPORT VTExtensionPropertiesKey const kVTExtensionProperties_ContainingBundleURLKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos) CF_SWIFT_NAME(containingBundleURL);++/*!+@constantkVTExtensionProperties_CodecNameKey+@abstractA CFDictionary key for the user readable name string of the codec.+@discussionThis key points to a CFStringRef with the name of the codec from the supplied format description. This name will be the one listed in the extension CodecInfo array with the key CodecName.+*/+VT_EXPORT VTExtensionPropertiesKey const kVTExtensionProperties_CodecNameKey API_AVAILABLE(macos(15.0)) API_UNAVAILABLE(ios, tvos, watchos, visionos);+ CM_ASSUME_NONNULL_END