-
Notifications
You must be signed in to change notification settings - Fork 518
VideoToolbox macOS xcode14.0 rc
Israel Soto edited this page Sep 7, 2022
·
1 revision
#VideoToolbox.framework
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h 2022-08-05 15:53:18.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionProperties.h 2022-08-03 21:05:45.000000000 -0500
@@ -293,39 +293,6 @@
*/
VT_EXPORT const CFStringRef kVTCompressionPropertyKey_PrioritizeEncodingSpeedOverQuality API_AVAILABLE(macosx(11.0), ios(14.0), tvos(14.0)); // CFBoolean, Optional
-/*!
- @constant kVTCompressionPropertyKey_ConstantBitRate
- @abstract
- Requires that the encoder use a Constant Bit Rate algorithm.
- @discussion
- The property kVTCompressionPropertyKey_ExpectedFrameRate should be set along with kVTCompressionPropertyKey_ConstantBitRate
- to ensure effective CBR rate control.
-
- This property is not compatible with kVTCompressionPropertyKey_DataRateLimits and
- kVTCompressionPropertyKey_AverageBitRate.
-
- The encoder will pad the frame if they are smaller than they need to be based on the Constant BitRate. This
- property is not recommended for general streaming or export scenarios. It is intended for interoperability with
- stremaing CDNs which specifically require that data rates not drop even during low motion and activity scenes.
-
- This is not supported in all encoders or in all encoder operating modes. kVTPropertyNotSupportedErr will be
- returned when this option is not supported.
-
-*/
-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
/*!
@@ -447,17 +414,6 @@
*/
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
/*!
@@ -597,16 +553,6 @@
*/
VT_EXPORT const CFStringRef kVTCompressionPropertyKey_BaseLayerFrameRate API_AVAILABLE(macosx(10.13), ios(11.0), tvos(11.0)); // Read/write, CFNumber, Optional
-/*!
- @constant kVTCompressionPropertyKey_ReferenceBufferCount
- @abstract
- The client will be able to control the the maximum allowed ReferenceBufferCount using this optional key.
- @discussion
- This is typically used to force the encoder to use lower count than allowed by the stantard for a level/profile.
- The encoder will fail and report an error if the requested value exceeds the limit set by the standard for such a level/profile.
-*/
-VT_EXPORT const CFStringRef kVTCompressionPropertyKey_ReferenceBufferCount API_AVAILABLE(macos(13.0), ios(16.0), tvos(16.0), watchos(9.0)); // CFNumber, Optional
-
#pragma mark Hardware acceleration
#if !TARGET_OS_IPHONE
@@ -728,8 +674,7 @@
kVTCompressionPropertyKey_BaseLayerBitRateFraction
kVTCompressionPropertyKey_Quality
kVTCompressionPropertyKey_MaxAllowedFrameQP
- kVTCompressionPropertyKey_MinAllowedFrameQP
-
+
If kVTEncodeFrameOptionKey_BaseFrameQP is used, it must be set for all frames in a session. The QP value specified is
frame-level but macro-block level QP may be modulated inside a frame. There will be no rate-control related frame dropping
if kVTEncodeFrameOptionKey_BaseFrameQP is used.
@@ -1003,18 +948,6 @@
VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MaxAllowedFrameQP API_AVAILABLE(macosx(12.0), ios(15.0), tvos(15.0)); // Read/write, CFNumberRef, Optional
/*!
- @constant kVTCompressionPropertyKey_MinAllowedFrameQP
- @abstract
- Specifies the minimum allowed encoded frame QP (Quantization Parameter).
- @discussion
- This is an optional parameter. Use it only when you have a specific requirement for the video quality and you are
- familiar with frame QP.
- This is not supported in all encoders or in all encoder operating modes. kVTPropertyNotSupportedErr will be
- returned when this option is not supported.
-*/
-VT_EXPORT const CFStringRef kVTCompressionPropertyKey_MinAllowedFrameQP API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0)); // Read/write, CFNumberRef, Optional
-
-/*!
@constant kVTCompressionPropertyKey_EnableLTR
@abstract
Enable Long Term Reference (LTR) frames during encoding
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h 2022-08-06 02:26:45.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTCompressionSession.h 2022-08-03 21:05:44.000000000 -0500
@@ -114,7 +114,7 @@
If the video encoder cannot support the provided width and height it may change them.
@param height
The height of frames in pixels.
- @param codecType
+ @param cType
The codec type.
@param encoderSpecification
Specifies a particular video encoder that must be used.
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h 2022-08-01 08:54:43.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTErrors.h 2022-02-14 23:09:53.000000000 -0600
@@ -3,7 +3,7 @@
Framework: VideoToolbox
- Copyright 2006-2021 Apple Inc. All rights reserved.
+ Copyright 2006-2013 Apple Inc. All rights reserved.
*/
@@ -40,8 +40,7 @@
kVTVideoDecoderMalfunctionErr = -12911, // c.f. -8960
kVTVideoEncoderMalfunctionErr = -12912,
kVTVideoDecoderNotAvailableNowErr = -12913,
- kVTImageRotationNotSupportedErr = -12914, // deprecated
- kVTPixelRotationNotSupportedErr = -12914,
+ kVTImageRotationNotSupportedErr = -12914,
kVTVideoEncoderNotAvailableNowErr = -12915,
kVTFormatDescriptionChangeNotSupportedErr = -12916,
kVTInsufficientSourceColorDataErr = -12917,
@@ -63,7 +62,6 @@
kVTVideoEncoderNeedsRosettaErr = -17693,
kVTVideoDecoderReferenceMissingErr = -17694,
kVTVideoDecoderCallbackMessagingErr = -17695,
- kVTVideoDecoderUnknownErr = -17696,
};
/*!
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h 2022-08-05 12:40:28.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationProperties.h 1969-12-31 18:00:00.000000000 -0600
@@ -1,75 +0,0 @@
-/*
- File: VTPixelRotationProperties.h
-
- Framework: VideoToolbox
-
- Copyright 2021 Apple Inc. All rights reserved.
-
- Standard properties for VTPixelRotationSession.
-*/
-
-#ifndef VTPIXELROTATIONPROPERTIES_H
-#define VTPIXELROTATIONPROPERTIES_H
-
-#include <CoreMedia/CMBase.h>
-#include <VideoToolbox/VTBase.h>
-
-#include <CoreFoundation/CoreFoundation.h>
-
-#if defined(__cplusplus)
-extern "C"
-{
-#endif
-
-#pragma pack(push, 4)
-
-CM_ASSUME_NONNULL_BEGIN
-
-/*!
- @constant kVTPixelRotationPropertyKey_Rotation
- @abstract
- Specifies the amount of rotation in degrees.
- @discussion
- Specifies the amount of rotation to apply when copying source to destination.
- Valid values: kVTRotation_0, kVTRotation_CW90, kVTRotation_180, and kVTRotation_CCW90
- default is kVTRotation_0.
-*/
-
-VT_EXPORT const CFStringRef kVTPixelRotationPropertyKey_Rotation API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-VT_EXPORT const CFStringRef kVTRotation_0 API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-VT_EXPORT const CFStringRef kVTRotation_CW90 API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-VT_EXPORT const CFStringRef kVTRotation_180 API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-VT_EXPORT const CFStringRef kVTRotation_CCW90 API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-/*!
- @constant kVTPixelRotationPropertyKey_FlipHorizontalOrientation
- @abstract
- Specifies the horizontal flip.
- @discussion
- kVTPixelRotationPropertyKey_FlipHorizontalOrientation must pass a CFBoolean as value. true will apply a horizontal flip after the rotation.
- default is false;
-*/
-
-VT_EXPORT const CFStringRef kVTPixelRotationPropertyKey_FlipHorizontalOrientation API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-/*!
- @constant kVTPixelRotationPropertyKey_FlipVerticalOrientation
- @abstract
- Specifies the vertical flip.
- @discussion
- kVTPixelRotationPropertyKey_FlipVerticalOrientation must pass a CFBoolean as value. true will apply a vertical flip after the rotation.
- default is false;
-*/
-
-VT_EXPORT const CFStringRef kVTPixelRotationPropertyKey_FlipVerticalOrientation API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-CM_ASSUME_NONNULL_END
-
-#pragma pack(pop)
-
-#if defined(__cplusplus)
-}
-#endif
-
-#endif // VTPIXELROTATIONPROPERTIES_H
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h 2022-08-05 15:55:31.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelRotationSession.h 1969-12-31 18:00:00.000000000 -0600
@@ -1,109 +0,0 @@
-/*
- File: VTPixelRotationSession.h
-
- Framework: VideoToolbox
-
- Copyright 2021 Apple Inc. All rights reserved.
-
-*/
-
-#ifndef _VT_PIXELROTATIONSESSION_H_
-#define _VT_PIXELROTATIONSESSION_H_
-
-#include <CoreFoundation/CoreFoundation.h>
-#include <CoreVideo/CoreVideo.h>
-#include <CoreMedia/CMBase.h>
-#include <VideoToolbox/VTBase.h>
-#include <VideoToolbox/VTSession.h>
-
-#if defined(__cplusplus)
-extern "C"
-{
-#endif
-
-#pragma pack(push, 4)
-
-/*!
- @typedef VTPixelRotationSessionRef
- @abstract A reference to a Video Toolbox Pixel Rotation Session.
- @discussion
- A pixel rotation session supports the rotating of images from source CVPixelBuffers to
- destination CVPixelBuffers. The session reference is a reference-counted CF object.
- To create an image rotation session, call VTPixelRotationSessionCreate;
- then you can optionally configure the session using VTSessionSetProperty;
- then to transfer pixels, call VTPixelRotationSessionRotateImage.
- When you are done with the session, you should call CFRelease to tear it down
- and release your object reference.
- */
-
-typedef struct CM_BRIDGED_TYPE(id) OpaqueVTPixelRotationSession* VTPixelRotationSessionRef;
-
-/*!
- @function VTPixelRotationSessionCreate
- @abstract Creates a session for rotating images between CVPixelBuffers.
- @param allocator
- An allocator for the session. Pass NULL to use the default allocator.
- @param pixelRotationSessionOut
- Points to a variable to receive the new pixel rotation session.
-*/
-VT_EXPORT OSStatus
-VTPixelRotationSessionCreate(
- CM_NULLABLE CFAllocatorRef allocator,
- CM_RETURNS_RETAINED_PARAMETER CM_NULLABLE VTPixelRotationSessionRef * CM_NONNULL pixelRotationSessionOut) API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-/*!
- @function VTPixelRotationSessionInvalidate
- @abstract Tears down a pixel rotation session.
- @discussion
- When you are done with an image rotation session you created, call VTPixelRotationSessionInvalidate
- to tear it down and then VTPixelRotationSessionRelease to release your object reference.
- When an pixel rotation session's retain count reaches zero, it is automatically invalidated, but
- since sessions may be retained by multiple parties, it can be hard to predict when this will happen.
- Calling VTPixelRotationSessionInvalidate ensures a deterministic, orderly teardown.
-*/
-VT_EXPORT void
-VTPixelRotationSessionInvalidate( CM_NONNULL VTPixelRotationSessionRef session ) API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-/*!
- @function VTPixelRotationSessionGetTypeID
- @abstract Returns the CFTypeID for pixel rotation sessions.
-*/
-VT_EXPORT CFTypeID
-VTPixelRotationSessionGetTypeID(void) API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-/*!
- @function VTPixelRotationSessionRotateImage
- @abstract Rotates a pixel buffer.
- @discussion
- Rotates sourceBuffer and places the output in destinationBuffer.
- For 90 and 270 degree rotations, the width and height of destinationBuffer must be the inverse
- of sourceBuffer.
- For 180 degree rotations, the width and height of destinationBuffer and sourceBuffer must match.
- By default, all existing attachments on destinationBuffer are removed and new attachments
- are set describing the transferred image. Unrecognised attachments on sourceBuffer will
- be propagated to destinationBuffer.
- Some properties may modify this behaviour; see VTPixelRotationProperties.h for more details.
- @param session
- The pixel rotation session.
- @param sourceBuffer
- The source buffer.
- @param destinationBuffer
- The destination buffer.
- @result
- If the transfer was successful, noErr; otherwise an error code, such as kVTPixelRotationNotSupportedErr.
-*/
-VT_EXPORT OSStatus
-VTPixelRotationSessionRotateImage(
- CM_NONNULL VTPixelRotationSessionRef session,
- CM_NONNULL CVPixelBufferRef sourceBuffer,
- CM_NONNULL CVPixelBufferRef destinationBuffer) API_AVAILABLE(macosx(13.0), ios(16.0), tvos(16.0), watchos(9.0));
-
-// See VTSession.h for property access APIs on VTPixelRotationSession.
-
-#pragma pack(pop)
-
-#if defined(__cplusplus)
-}
-#endif
-
-#endif // _VT_PIXELROTATIONSESSION_H_
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h 2022-08-06 02:26:45.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VTPixelTransferProperties.h 2022-08-03 21:05:45.000000000 -0500
@@ -31,8 +31,6 @@
#if (__MAC_OS_X_VERSION_MIN_REQUIRED >= 1080)
#define VT_SUPPORT_COLORSYNC_PIXEL_TRANSFER COREMEDIA_TRUE
#endif
-#elif TARGET_OS_LINUX_CLOUD
- #define VT_SUPPORT_COLORSYNC_PIXEL_TRANSFER COREMEDIA_TRUE
#endif
#endif
#ifndef VT_SUPPORT_COLORSYNC_PIXEL_TRANSFER
diff -ruN /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h
--- /Applications/Xcode_14.0.0-beta6.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h 2022-08-01 08:54:42.000000000 -0500
+++ /Applications/Xcode_14.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/VideoToolbox.framework/Headers/VideoToolbox.h 2022-02-14 23:09:53.000000000 -0600
@@ -1,6 +1,6 @@
/* VideoToolbox.h
- Copyright (c) 2008-2022 Apple Computer, Inc.
+ Copyright (c) 2008-2014 Apple Computer, Inc.
All rights reserved. */
#include <VideoToolbox/VTCompressionProperties.h>
@@ -14,11 +14,7 @@
#include <VideoToolbox/VTVideoEncoderList.h>
#include <VideoToolbox/VTUtilities.h>
#include <VideoToolbox/VTPixelTransferProperties.h>
-#include <VideoToolbox/VTPixelTransferSession.h>
-#include <VideoToolbox/VTPixelRotationProperties.h>
-#include <VideoToolbox/VTPixelRotationSession.h>
#if !TARGET_OS_IPHONE
+#include <VideoToolbox/VTPixelTransferSession.h>
#include <VideoToolbox/VTProfessionalVideoWorkflow.h>
#endif // !TARGET_OS_IPHONE
-
-
- 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