Skip to content

VideoToolbox tvOS xcode16.0 b3

Rolf Bjarne Kvinge edited this page Jul 9, 2024 · 1 revision

#VideoToolbox.framework

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.h	2024-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.h	2024-06-29 15:23:34
@@ -66,53 +66,73 @@
 	@param			formatDesc
 		The format description for the video format for which information is being requested.
 	@param			mediaExtensionPropertiesOut
-		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.
 	@result			If 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);
 
 /*!
-	@typedef		VTDecoderExtensionPropertiesKey
-	@abstract		A key in a Media Extension video decoder properties dictionary.
+	@function		VTCopyRAWProcessorExtensionProperties
+	@abstract		Returns information about the Media Extension RAW processor supporting the specified format.
+	@discussion		If 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.
+	@param			formatDesc
+		The format description for the video format for which information is being requested.
+	@param			mediaExtensionPropertiesOut
+		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.
+	@result			If 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);
 
+/*!
+	@typedef		VTExtensionPropertiesKey
+	@abstract		A 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
 
 /*!
-	@constant		kVTDecoderExtensionProperties_ExtensionIdentifierKey
+	@constant		kVTExtensionProperties_ExtensionIdentifierKey
 	@abstract		A CFDictionary key for the video decoder extension identifier.
-	@discussion		This 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.
+	@discussion		This 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);
 
 /*!
-	@constant		kVTDecoderExtensionProperties_ExtensionNameKey
-	@abstract		A CFDictionary key for the localized video decoder extension name.
-	@discussion		This key points to a CFStringRef value with the localized video decoder extension name.
+	@constant		kVTExtensionProperties_ExtensionNameKey
+	@abstract		A CFDictionary key for the localized extension name.
+	@discussion		This 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);
 
 /*!
-	@constant		kVTDecoderExtensionProperties_ContainingBundleNameKey
+	@constant		kVTExtensionProperties_ContainingBundleNameKey
 	@abstract		A CFDictionary key for the extension host application localized name.
-	@discussion		This key points to a CFStringRef value with the localized name of the application hosting the video decoder extension.
+	@discussion		This 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);
 
 /*!
-	@constant		kVTDecoderExtensionProperties_ExtensionURLKey
-	@abstract		A 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.
+	@constant		kVTExtensionProperties_ExtensionURLKey
+	@abstract		A 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);
 
 /*!
-	@constant		kVTDecoderExtensionProperties_ContainingBundleURLKey
+	@constant		kVTExtensionProperties_ContainingBundleURLKey
 	@abstract		A CFDictionary key for the URL of the extension host application.
 	@discussion		This 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);
+
+/*!
+	@constant		kVTExtensionProperties_CodecNameKey
+	@abstract		A CFDictionary key for the user readable name string of the codec.
+	@discussion		This 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
 
Clone this wiki locally