-
Notifications
You must be signed in to change notification settings - Fork 516
VideoToolbox tvOS xcode14.0 beta3
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-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h
--- /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h 2022-06-17 13:51:06.000000000 -0500
+++ /Applications/Xcode_14.0.0-beta3.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h 2022-06-30 08:31:19.000000000 -0500
@@ -314,6 +314,17 @@
*/
VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ConstantBitRate API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0)); // CFNumber bits per second, Optional
+/*!
+ @constant kVTCompressionPropertyKey_EstimatedAverageBytesPerFrame
+ @abstract
+ Returns the encoder's estimate of the expected size of a single encoded frame in bytes, based on current configuration.
+ @discussion
+ When supported, this option is intended to allow clients to estimate the output file size for an encoded video stream.
+ This property is not implemented by all video encoders.
+
+*/
+VT_EXPORT const CFStringRef kVTCompressionPropertyKey_EstimatedAverageBytesPerFrame API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0)); // Read Only, CFNumber (bytes per frame)
+
#pragma mark Bitstream configuration
@@ -436,6 +447,17 @@
*/
VT_EXPORT const CFStringRef kVTCompressionPropertyKey_Depth API_AVAILABLE(macosx(10.8), ios(8.0), tvos(10.2)); // Read/write, CFNumber (CMPixelFormatType), Optional
+/*!
+ @constant kVTCompressionPropertyKey_PreserveAlphaChannel
+ @abstract
+ Instructs the encoder to encode or discard the alpha channel of input video frames
+ @discussion
+ This property allows a client to specify whether or not the alpha channel in the source pixelBuffers should be encoded.
+ The client may set this to kCFBooleanFalse in cases where they are not interested in preserving alpha, or if the alpha channel is known to be fully opaque.
+ This property is not supported by all encoders.
+*/
+VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PreserveAlphaChannel API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0)); // Read/write, CFBoolean, Optional, (effectively) kCFBooleanTrue by default
+
#pragma mark Runtime restrictions
/*!
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status