-
Notifications
You must be signed in to change notification settings - Fork 507
CoreVideo iOS xcode13.0 beta2
Manuel de la Pena edited this page Jul 27, 2021
·
3 revisions
#CoreVideo.framework https://github.com/xamarin/xamarin-macios/pull/12257
diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h 2021-06-02 07:35:04.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h 2021-06-22 17:32:36.000000000 -0400
@@ -2,7 +2,7 @@
* CVBuffer.h
* CoreVideo
*
- * Copyright (c) 2004-2015 Apple Inc. All rights reserved.
+ * Copyright (c) 2004-2017,2021 Apple Inc. All rights reserved.
*
*/
@@ -12,7 +12,7 @@
@discussion CVBufferRef types are abstract and only define ways to attach meta data to buffers (such as timestamps,
colorspace information, etc.). CVBufferRefs do not imply any particular kind of data storage. It could
be compressed data, image data, etc.
-
+
*/
#if !defined(__COREVIDEO_CVBUFFER_H__)
@@ -103,7 +103,7 @@
@param attachmentMode. Returns the mode of the attachment, if desired. May be NULL.
@result If found the attachment object
*/
-CV_EXPORT CFTypeRef CV_NULLABLE CVBufferGetAttachment( CVBufferRef CV_NONNULL buffer, CFStringRef CV_NONNULL key, CVAttachmentMode * CV_NULLABLE attachmentMode ) __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_4_0);
+CV_EXPORT CFTypeRef CV_NULLABLE CVBufferGetAttachment( CVBufferRef CV_NONNULL buffer, CFStringRef CV_NONNULL key, CVAttachmentMode * CV_NULLABLE attachmentMode ) API_DEPRECATED_WITH_REPLACEMENT("CVBufferCopyAttachment", macos(10.4, 12.0), ios(4.0,15.0), tvos(9.0, 15.0), watchos(4.0, 8.0));
/*!
@function CVBufferRemoveAttachment
@@ -130,7 +130,7 @@
@result A CFDictionary with all buffer attachments identified by there keys. If no attachment is present, the dictionary is empty. Returns NULL
for invalid attachment mode.
*/
-CV_EXPORT CFDictionaryRef CF_RETURNS_NOT_RETAINED CV_NULLABLE CVBufferGetAttachments( CVBufferRef CV_NONNULL buffer, CVAttachmentMode attachmentMode ) __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_4_0);
+CV_EXPORT CFDictionaryRef CF_RETURNS_NOT_RETAINED CV_NULLABLE CVBufferGetAttachments( CVBufferRef CV_NONNULL buffer, CVAttachmentMode attachmentMode ) API_DEPRECATED_WITH_REPLACEMENT("CVBufferCopyAttachments", macos(10.4, 12.0), ios(4.0,15.0), tvos(9.0, 15.0), watchos(4.0, 8.0));
/*!
@function CVBufferSetAttachments
@@ -150,6 +150,26 @@
*/
CV_EXPORT void CVBufferPropagateAttachments( CVBufferRef CV_NONNULL sourceBuffer, CVBufferRef CV_NONNULL destinationBuffer ) __OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_4_0);
+/*!
+ @function CVBufferCopyAttachments
+ @abstract Returns a copy of all attachments of a CVBuffer object. It is the caller’s responsibility to release the returned dictionary.
+ @discussion CVBufferCopyAttachments is a convenience call that returns a copy of all attachments with their corresponding keys in a CFDictionary.
+ @param buffer Target CVBuffer object.
+ @result A CFDictionary with all buffer attachments identified by their keys. If no attachment is present or invalid attachment mode, returns NULL
+*/
+CV_EXPORT CFDictionaryRef CF_RETURNS_RETAINED CV_NULLABLE CVBufferCopyAttachments( CVBufferRef CV_NONNULL buffer, CVAttachmentMode attachmentMode ) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
+/*!
+ @function CVBufferCopyAttachment
+ @abstract Returns a retained specific attachment of a CVBuffer object. It is the caller’s responsibility to release the returned value.
+ @discussion You can attach any CF object to a CVBuffer object to store additional information. CVBufferCopyAttachment retrieves a retained attachment identified by a key.
+ @param buffer Target CVBuffer object.
+ @param key Key in form of a CFString identifying the desired attachment.
+ @param attachmentMode. Returns the mode of the attachment, if desired. May be NULL.
+ @result If found the attachment object, return the value; otherwize, return NULL.
+*/
+CV_EXPORT CFTypeRef CV_NULLABLE CF_RETURNS_RETAINED CVBufferCopyAttachment( CVBufferRef CV_NONNULL buffer, CFStringRef CV_NONNULL key, CVAttachmentMode * CV_NULLABLE attachmentMode ) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0));
+
#if defined(__cplusplus)
}
#endif
diff -ruN /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h
--- /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2021-06-02 12:42:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h 2021-06-17 04:14:46.000000000 -0400
@@ -2,7 +2,7 @@
* CVImageBuffer.h
* CoreVideo
*
- * Copyright (c) 2004-2015 Apple Inc. All rights reserved.
+ * Copyright (c) 2004-2021 Apple Inc. All rights reserved.
*
*/
@@ -11,7 +11,7 @@
@availability Mac OS X 10.4 or later, and iOS 4.0 or later
@discussion CVImageBufferRef types are abstract and define various attachments and convenience
calls for retreiving image related bits of data.
-
+
*/
#if !defined(__COREVIDEO_CVIMAGEBUFFER_H__)
@@ -201,7 +201,7 @@
/*!
@function CVImageBufferCreateColorSpaceFromAttachments
@abstract Attempts to synthesize a CGColorSpace from an image buffer's attachments.
- @param attachments A CFDictionary of attachments for an image buffer, obtained using CVBufferGetAttachments().
+ @param attachments A CFDictionary of attachments for an image buffer, obtained using CVBufferCopyAttachments().
@result A CGColorSpaceRef representing the color space of the buffer.
Returns NULL if the attachments dictionary does not contain the information required to synthesize a CGColorSpace.
@discussion
@@ -220,7 +220,7 @@
CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferContentLightLevelInfoKey __OSX_AVAILABLE_STARTING(__MAC_10_13,__IPHONE_11_0);
// CFData (8 bytes) containing big-endian data matching payload of Ambient Viewing Environment SEI message
-CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferAmbientViewingEnvironmentKey __OSX_AVAILABLE_STARTING(__MAC_10_15,__IPHONE_13_0);
+CV_EXPORT const CFStringRef CV_NONNULL kCVImageBufferAmbientViewingEnvironmentKey API_AVAILABLE(macosx(12.0), ios(15.0), tvos(15.0), watchos(8.0));
/*!
@constant kCVImageBufferRegionOfInterestKey
- 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