API Differences in CoreMedia in macOS 26.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in CoreMedia in the macOS 26.0 SDK.

Table of Contents

Protocols

CMSampleBuffer
Content
CMSampleBuffer
ContentWithFormatDescription
CMSampleBuffer
MultiSampleContent

Classes

CMMutableDataBlockBuffer
MemoryPool

Structs

CMMutableDataBlockBuffer
CMMutableDataBlockBuffer
BlockRegion
CMReadOnlyDataBlockBuffer
CMReadOnlyDataBlockBuffer
BlockRegion
CMReadySampleBuffer
CMSampleBuffer
HEVCTemporalInfo
CMSampleBuffer
SampleAttachments
CMSampleBuffer
SampleProperties
CMSampleBuffer
SamplePropertiesCollection
CMSampleDataReference
CMTaggedDynamicBuffer

Enums

CMSampleBuffer
ContentType
CMSampleBuffer
DynamicContent
CMSampleBuffer
SizePerSample
CMSampleBuffer
TimingPerSample

Typealiases

AlgorithmKind
public typealias RawValue = CoreFoundation.CFString
CMMutableDataBlockBuffer
public typealias Index = Swift.Int
CMMutableDataBlockBuffer
public typealias Indices = Swift.Range<Swift.Int>
CMReadOnlyDataBlockBuffer
public typealias Element = Swift.UInt8
CMReadOnlyDataBlockBuffer
public typealias Index = Swift.Int
CMReadOnlyDataBlockBuffer
public typealias Indices = Swift.Range<Swift.Int>
CMReadOnlyDataBlockBuffer
public typealias Iterator = Swift.IndexingIterator<CoreMedia.CMReadOnlyDataBlockBuffer>
CMReadOnlyDataBlockBuffer
public typealias Regions = [CoreMedia.CMReadOnlyDataBlockBuffer.BlockRegion]
CMReadOnlyDataBlockBuffer
public typealias SubSequence = CoreMedia.CMReadOnlyDataBlockBuffer
CMSampleBuffer.SamplePropertiesCollection
public typealias ArrayLiteralElement = CoreMedia.CMSampleBuffer.SamplePropertiesCollection.Element
CMSampleBuffer.SizePerSample
public typealias ArrayLiteralElement = Swift.Int
CMSampleBuffer.TimingPerSample
public typealias ArrayLiteralElement = CoreMedia.CMSampleTimingInfo
Calibration
public typealias RawValue = CoreFoundation.CFDictionary
ExtrinsicOriginSource
public typealias RawValue = CoreFoundation.CFString
LensDomain
public typealias RawValue = CoreFoundation.CFString
LensRole
public typealias RawValue = CoreFoundation.CFString

Functions & Methods

CMReadOnlyDataBlockBuffer
@_disfavoredOverload public func withContiguousStorageIfAvailable<R>(_ body: (Swift.UnsafeBufferPointer<Swift.UInt8>) throws -> R) rethrows -> R?
CMReadySampleBuffer
public func copyPCMData(fromRange range: Swift.Range<Swift.Int>, into bufferList: Swift.UnsafeMutablePointer<CoreAudioTypes.AudioBufferList>) throws
CMReadySampleBuffer
public func splitSamples() -> [CoreMedia.CMReadySampleBuffer<Content>]
CMSampleBuffer.SamplePropertiesCollection
public static func == (lhs: CoreMedia.CMSampleBuffer.SamplePropertiesCollection, rhs: CoreMedia.CMSampleBuffer.SamplePropertiesCollection) -> Swift.Bool
CMSampleBuffer.SizePerSample
public static func == (lhs: CoreMedia.CMSampleBuffer.SizePerSample, rhs: CoreMedia.CMSampleBuffer.SizePerSample) -> Swift.Bool
CMSampleBuffer.TimingPerSample
public static func == (lhs: CoreMedia.CMSampleBuffer.TimingPerSample, rhs: CoreMedia.CMSampleBuffer.TimingPerSample) -> Swift.Bool
CMTaggedDynamicBuffer
public func withUnsafeTaggedBuffer<R>(_ body: (CoreMedia.CMTaggedBuffer) throws -> sending R) rethrows -> sending R
CMTaggedDynamicBuffer
public func withUnsafeTaggedBuffer<R>(_ body: (CoreMedia.CMTaggedBuffer) throws -> R) rethrows -> R
Swift.Array
public func withUnsafeTaggedBuffers<R>(_ body: ([CoreMedia.CMTaggedBuffer]) throws -> sending R) rethrows -> sending R where R : ~Copyable
Swift.Array
public func withUnsafeTaggedBuffers<R>(_ body: ([CoreMedia.CMTaggedBuffer]) throws -> R) rethrows -> R where R : ~Copyable
extern OSStatus CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroupWithExtensions(CFAllocatorRef _Nullable allocator, CMTaggedBufferGroupRef _Nonnull taggedBufferGroup, CFDictionaryRef _Nullable extensions, CMTaggedBufferGroupFormatDescriptionRef _Nullable * _Nonnull formatDescriptionOut)

Properties & Constants

CMMutableDataBlockBuffer
public var endIndex: Swift.Int
CMMutableDataBlockBuffer
public var indices: CoreMedia.CMMutableDataBlockBuffer.Indices
CMMutableDataBlockBuffer
public var startIndex: Swift.Int
CMReadOnlyDataBlockBuffer
public var count: Swift.Int
CMReadOnlyDataBlockBuffer
public var endIndex: Swift.Int
CMReadOnlyDataBlockBuffer
public var indices: Swift.Range<Swift.Int>
CMReadOnlyDataBlockBuffer
public var isEmpty: Swift.Bool
CMReadOnlyDataBlockBuffer
public var regions: [CoreMedia.CMReadOnlyDataBlockBuffer.BlockRegion]
CMReadOnlyDataBlockBuffer
public var startIndex: Swift.Int
CMReadySampleBuffer
public var audioStreamPacketDescriptions: [CoreAudioTypes.AudioStreamPacketDescription]?
CMReadySampleBuffer
public var content: CoreMedia.CMSampleBuffer.DynamicContent
CMReadySampleBuffer
public var content: CoreVideo.CVReadOnlyPixelBuffer
CMReadySampleBuffer
public var content: CoreMedia.CMSampleDataReference
CMReadySampleBuffer
public var content: CoreMedia.CMReadOnlyDataBlockBuffer
CMReadySampleBuffer
public var content: Swift.Array<CoreMedia.CMTaggedDynamicBuffer>
CMReadySampleBuffer
public var duration: CoreMedia.CMTime
CMReadySampleBuffer
public var duration: CoreMedia.CMTime
CMReadySampleBuffer
public var duration: CoreMedia.CMTime
CMReadySampleBuffer
public var formatDescription: CoreMedia.CMFormatDescription
CMReadySampleBuffer
public var markerTimeStamp: CoreMedia.CMTime
CMReadySampleBuffer
public var outputSampleTimings: CoreMedia.CMSampleBuffer.TimingPerSample?
CMReadySampleBuffer
public var presentationTimeStamp: CoreMedia.CMTime
CMReadySampleBuffer
public var presentationTimeStamp: CoreMedia.CMTime
CMReadySampleBuffer
public var sampleAttachments: CoreMedia.CMSampleBuffer.SampleAttachments
CMReadySampleBuffer
public var sampleAttachments: CoreMedia.CMSampleBuffer.SampleAttachments
CMReadySampleBuffer
public var sampleCount: Swift.Int
CMReadySampleBuffer
public var sampleProperties: CoreMedia.CMSampleBuffer.SamplePropertiesCollection
CMReadySampleBuffer
public var totalSampleSize: Swift.Int
CMSampleBuffer
public var contentType: CoreMedia.CMSampleBuffer.ContentType
Key
public static let cameraCalibrationDataLensCollection: CoreMedia.CMFormatDescription.Extensions.Key
Key
public static let convertedFromExternalSphericalTags: CoreMedia.CMFormatDescription.Extensions.Key
Key
public static let viewPackingKind: CoreMedia.CMFormatDescription.Extensions.Key
extern const CMTag kCMTagProjectionTypeParametricImmersive
extern const CFStringRef _Nonnull kCMFormatDescriptionProjectionKind_ParametricImmersive
extern const CFStringRef _Nonnull kCMFormatDescriptionProjectionKind_AppleImmersiveVideo
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_CameraCalibrationDataLensCollection
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensAlgorithmKind
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibrationLensAlgorithmKind_ParametricLens
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensDomain
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibrationLensDomain_Color
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensIdentifier
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensRole
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibrationLensRole_Mono
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibrationLensRole_Left
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibrationLensRole_Right
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensDistortions
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensFrameAdjustmentsPolynomialX
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_LensFrameAdjustmentsPolynomialY
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_RadialAngleLimit
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_IntrinsicMatrix
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_IntrinsicMatrixProjectionOffset
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_IntrinsicMatrixReferenceDimensions
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_ExtrinsicOriginSource
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibrationExtrinsicOriginSource_StereoCameraSystemBaseline
extern const CFStringRef _Nonnull kCMFormatDescriptionCameraCalibration_ExtrinsicOrientationQuaternion
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_ConvertedFromExternalSphericalTags
extern const CFStringRef _Nonnull kCMMetadataIdentifier_QuickTimeMetadataSpatialAudioMix
extern const CFStringRef _Nonnull kCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleMono
extern const CFStringRef _Nonnull kCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleStereoLeft
extern const CFStringRef _Nonnull kCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleStereoRight
extern const CFStringRef _Nonnull kCMMetadataIdentifier_QuickTimeMetadataPresentationImmersiveMedia
extern const CFStringRef _Nonnull kCMMetadataBaseDataType_RasterRectangleValue
extern const CFStringRef _Nonnull kCMMetadataBaseDataType_ExtendedRasterRectangleValue

Conformances

CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.AlgorithmKind
Swift.Equatable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.AlgorithmKind
Swift.Hashable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.ExtrinsicOriginSource
Swift.Equatable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.ExtrinsicOriginSource
Swift.Hashable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensDomain
Swift.Equatable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensDomain
Swift.Hashable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensRole
Swift.Equatable
CMFormatDescription.Extensions.Value.CameraCalibrationDataLensCollection.LensRole
Swift.Hashable
CMFormatDescription.Extensions.Value.ContentColorVolume.ColorPrimaries
Swift.BitwiseCopyable
CMFormatDescription.Extensions.Value.ContentColorVolume.ColorVolume
Swift.BitwiseCopyable
CMReadOnlyDataBlockBuffer
CoreMedia.CMSampleBuffer.ContentWithFormatDescription
CMReadOnlyDataBlockBuffer
CoreMedia.CMSampleBuffer.MultiSampleContent
CMReadOnlyDataBlockBuffer
Foundation.DataProtocol
CMSampleBuffer.SamplePropertiesCollection
Swift.Equatable
CMSampleBuffer.SamplePropertiesCollection
Swift.ExpressibleByArrayLiteral
CMSampleBuffer.SizePerSample
Swift.Equatable
CMSampleBuffer.SizePerSample
Swift.ExpressibleByArrayLiteral
CMSampleBuffer.TimingPerSample
Swift.Equatable
CMSampleBuffer.TimingPerSample
Swift.ExpressibleByArrayLiteral
CoreVideo.CVReadOnlyPixelBuffer
CoreMedia.CMSampleBuffer.ContentWithFormatDescription
Swift.Array
CoreMedia.CMSampleBuffer.Content
Swift.Array
CoreMedia.CMSampleBuffer.ContentWithFormatDescription
Swift.Never
CoreMedia.CMSampleBuffer.Content

Initializers

CMReadySampleBuffer
public init(unsafeBuffer: sending CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(unsafeBuffer: __owned CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(_ other: CoreMedia.CMReadySampleBuffer<some CMSampleBuffer.Content>)
CMReadySampleBuffer
public init(unsafeMarkerOnlySampleBuffer unsafeBuffer: sending CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(unsafeMarkerOnlySampleBuffer unsafeBuffer: __owned CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init?(_ other: CoreMedia.CMReadySampleBuffer<CoreMedia.CMSampleBuffer.DynamicContent>)
CMReadySampleBuffer
public init(markerAt markerTime: CoreMedia.CMTime, duration: CoreMedia.CMTime = .invalid)
CMReadySampleBuffer
public init(unsafeWithPixelBuffer unsafeBuffer: sending CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(unsafeWithPixelBuffer unsafeBuffer: __owned CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init?(_ other: CoreMedia.CMReadySampleBuffer<CoreMedia.CMSampleBuffer.DynamicContent>)
CMReadySampleBuffer
public init(pixelBuffer content: Content, formatDescription: CoreMedia.CMVideoFormatDescription? = nil, presentationTimeStamp: CoreMedia.CMTime, duration: CoreMedia.CMTime = .invalid)
CMReadySampleBuffer
public init(unsafeSampleDataReferenceBuffer unsafeBuffer: sending CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(unsafeSampleDataReferenceBuffer unsafeBuffer: __owned CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(sampleDataReference content: Content, formatDescription: CoreMedia.CMFormatDescription, sampleProperties: CoreMedia.CMSampleBuffer.SamplePropertiesCollection)
CMReadySampleBuffer
public init(unsafeWithDataBuffer unsafeBuffer: sending CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(unsafeWithDataBuffer unsafeBuffer: __owned CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init?(_ other: CoreMedia.CMReadySampleBuffer<CoreMedia.CMSampleBuffer.DynamicContent>)
CMReadySampleBuffer
public init(dataBuffer content: Content, formatDescription: CoreMedia.CMFormatDescription, sampleProperties: CoreMedia.CMSampleBuffer.SamplePropertiesCollection)
CMReadySampleBuffer
public init(audioDataBuffer content: Content, formatDescription: CoreMedia.CMAudioFormatDescription, sampleCount: Swift.Int, presentationTimeStamp: CoreMedia.CMTime)
CMReadySampleBuffer
public init(compressedAudioDataBuffer content: Content, formatDescription: CoreMedia.CMAudioFormatDescription, presentationTimeStamp: CoreMedia.CMTime, packetDescriptions: [CoreAudioTypes.AudioStreamPacketDescription])
CMReadySampleBuffer
public init(unsafeWithTaggedBuffers unsafeBuffer: sending CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init(unsafeWithTaggedBuffers unsafeBuffer: __owned CoreMedia.CMSampleBuffer)
CMReadySampleBuffer
public init?(_ other: CoreMedia.CMReadySampleBuffer<CoreMedia.CMSampleBuffer.DynamicContent>)
CMReadySampleBuffer
public init(taggedBuffers content: Content, formatDescription: CoreMedia.CMTaggedBufferGroupFormatDescription? = nil, presentationTimeStamp: CoreMedia.CMTime, duration: CoreMedia.CMTime = .invalid)
CMSampleBuffer.SamplePropertiesCollection
public init(arrayLiteral elements: CoreMedia.CMSampleBuffer.SamplePropertiesCollection.ArrayLiteralElement...)
CMSampleBuffer.SamplePropertiesCollection
public init(_ elements: some Collection<Element>)
CMSampleBuffer.SizePerSample
public init(arrayLiteral elements: CoreMedia.CMSampleBuffer.SizePerSample.ArrayLiteralElement...)
CMSampleBuffer.TimingPerSample
public init(arrayLiteral elements: CoreMedia.CMSampleBuffer.TimingPerSample.ArrayLiteralElement...)
CMTaggedDynamicBuffer
public init(unsafeBuffer: sending CoreMedia.CMTaggedBuffer)
CMTaggedDynamicBuffer
public init(unsafeBuffer: __owned CoreMedia.CMTaggedBuffer)
_CMFormatDescriptionInitTrampoline
public init(pixelBuffer: CoreVideo.CVReadOnlyPixelBuffer)
_CMFormatDescriptionInitTrampoline
public init(pixelBuffer: borrowing CoreVideo.CVMutablePixelBuffer)
_CMFormatDescriptionInitTrampoline
public init(taggedBuffers: [CoreMedia.CMTaggedBuffer], extensions: CoreMedia.CMFormatDescription.Extensions?)
_CMFormatDescriptionInitTrampoline
public init(taggedBuffers: [CoreMedia.CMTaggedDynamicBuffer], extensions: CoreMedia.CMFormatDescription.Extensions? = nil)