forked from xamarin/xamarin-macios
-
Notifications
You must be signed in to change notification settings - Fork 1
CoreMedia iOS xcode9 beta4
Sebastien Pouliot edited this page Jul 24, 2017
·
1 revision
#CoreMedia.framework
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h 2017-06-30 23:41:41.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMBase.h 2017-07-17 22:28:03.000000000 -0400
@@ -151,7 +151,7 @@
#endif
#ifndef COREMEDIA_USE_ALIGNED_CMBASECLASS_VERSION
-#define COREMEDIA_USE_ALIGNED_CMBASECLASS_VERSION 0
+#define COREMEDIA_USE_ALIGNED_CMBASECLASS_VERSION 1
#endif
#if ! COREMEDIA_USE_ALIGNED_CMBASECLASS_VERSION
diff -ruN /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h
--- /Applications/Xcode9-beta3.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h 2017-06-30 23:39:27.000000000 -0400
+++ /Applications/Xcode9-beta4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreMedia.framework/Headers/CMFormatDescription.h 2017-07-18 00:20:33.000000000 -0400
@@ -931,7 +931,26 @@
CM_RETURNS_RETAINED_PARAMETER CMFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut ) /*! @param formatDescriptionOut
Returned newly-created video CMFormatDescription */
__OSX_AVAILABLE_STARTING(__MAC_10_13,__IPHONE_11_0);
-
+
+CM_EXPORT
+OSStatus CMVideoFormatDescriptionCreateFromHEVCParameterSetsAndExtensions(
+ CFAllocatorRef CM_NULLABLE allocator, /*! @param allocator
+ CFAllocator to be used when creating the CMFormatDescription. Pass NULL to use the default allocator. */
+ size_t parameterSetCount, /*! @param parameterSetCount
+ The number of parameter sets to include in the format description. This parameter must be at least 3. */
+ const uint8_t * CM_NONNULL const * CM_NONNULL parameterSetPointers, /*! @param parameterSetPointers
+ Points to a C array containing parameterSetCount pointers to parameter sets. */
+ const size_t * CM_NONNULL parameterSetSizes, /*! @param parameterSetSizes
+ Points to a C array containing the size, in bytes, of each of the parameter sets. */
+ int NALUnitHeaderLength, /*! @param NALUnitHeaderLength
+ Size, in bytes, of the NALUnitLength field in a HEVC video sample or HEVC parameter set sample. Pass 1, 2 or 4. */
+ CFDictionaryRef CM_NULLABLE extensions, /*! @param extensions Dictionary of extension key/value pairs. Keys are always CFStrings.
+ Values are always property list objects (ie. CFData, CFString, CFArray,
+ CFDictionary, CFDate, CFBoolean, or CFNumber). Can be NULL. */
+ CM_RETURNS_RETAINED_PARAMETER CMFormatDescriptionRef CM_NULLABLE * CM_NONNULL formatDescriptionOut ) /*! @param formatDescriptionOut
+ Returned newly-created video CMFormatDescription */
+ __OSX_AVAILABLE_STARTING(__MAC_10_13,__IPHONE_11_0);
+
CF_IMPLICIT_BRIDGING_ENABLED
/*!