CMFormatDescription
public func matchesTaggedBufferGroup(_ taggedBuffers: [CoreMedia.CMTaggedBuffer]) -> Swift.Bool
CMTag
public static func channelID(_ value: Swift.Int64) -> CoreMedia.CMTypedTag<Swift.Int64>
CMTag
public static func mediaSubType(_ value: CoreMedia.CMFormatDescription.MediaSubType) -> CoreMedia.CMTypedTag<CoreMedia.CMFormatDescription.MediaSubType>
CMTag
public static func mediaType(_ value: CoreMedia.CMFormatDescription.MediaType) -> CoreMedia.CMTypedTag<CoreMedia.CMFormatDescription.MediaType>
CMTag
public static func packingType(_ value: CoreMedia.CMPackingType) -> CoreMedia.CMTypedTag<CoreMedia.CMPackingType>
CMTag
public static func pixelFormat(_ value: Darwin.OSType) -> CoreMedia.CMTypedTag<Darwin.OSType>
CMTag
public static func projectionType(_ value: CoreMedia.CMProjectionType) -> CoreMedia.CMTypedTag<CoreMedia.CMProjectionType>
CMTag
public static func stereoView(_ value: CoreMedia.CMStereoViewComponents) -> CoreMedia.CMTypedTag<CoreMedia.CMStereoViewComponents>
CMTag
public static func stereoViewInterpretation(_ value: CoreMedia.CMStereoViewInterpretationOptions) -> CoreMedia.CMTypedTag<CoreMedia.CMStereoViewInterpretationOptions>
CMTag
public static func trackID(_ value: CoreMedia.CMPersistentTrackID) -> CoreMedia.CMTypedTag<CoreMedia.CMPersistentTrackID>
CMTag
public static func videoLayerID(_ value: Swift.Int64) -> CoreMedia.CMTypedTag<Swift.Int64>
Swift.Sequence
public func filter<T>(matchingCategory category: CoreMedia.CMTypedTag<T>.Category) -> [CoreMedia.CMTypedTag<T>] where T : Swift.Sendable
Swift.Sequence
public func first<T>(matchingCategory category: CoreMedia.CMTypedTag<T>.Category) -> CoreMedia.CMTypedTag<T>? where T : Swift.Sendable
Swift.Sequence
public func firstValue<T>(matchingCategory category: CoreMedia.CMTypedTag<T>.Category) -> T? where T : Swift.Sendable
static inline Boolean CMTagIsValid(CMTag tag)
extern CMTagDataType CMTagGetValueDataType(CMTag tag)
static inline CMTagCategory CMTagGetCategory(CMTag tag)
static inline Boolean CMTagCategoryEqualToTagCategory(CMTag tag1, CMTag tag2)
static inline CMTagValue CMTagGetValue(CMTag tag)
static inline Boolean CMTagHasCategory(CMTag tag, CMTagCategory category)
extern Boolean CMTagHasSInt64Value(CMTag tag)
extern int64_t CMTagGetSInt64Value(CMTag tag)
extern Boolean CMTagHasFloat64Value(CMTag tag)
extern Float64 CMTagGetFloat64Value(CMTag tag)
extern Boolean CMTagHasOSTypeValue(CMTag tag)
extern OSType CMTagGetOSTypeValue(CMTag tag)
extern Boolean CMTagHasFlagsValue(CMTag tag)
extern uint64_t CMTagGetFlagsValue(CMTag tag)
extern CMTag CMTagMakeWithSInt64Value(CMTagCategory category, int64_t value)
extern CMTag CMTagMakeWithFloat64Value(CMTagCategory category, Float64 value)
extern CMTag CMTagMakeWithOSTypeValue(CMTagCategory category, OSType value)
extern CMTag CMTagMakeWithFlagsValue(CMTagCategory category, uint64_t flagsForTag)
extern Boolean CMTagEqualToTag(CMTag tag1, CMTag tag2)
extern CFComparisonResult CMTagCompare(CMTag tag1, CMTag tag2)
static inline Boolean CMTagCategoryValueEqualToValue(CMTag tag1, CMTag tag2)
extern CFHashCode CMTagHash(CMTag tag)
extern CFStringRef _Nullable CMTagCopyDescription(CFAllocatorRef _Nullable allocator, CMTag tag)
extern CFDictionaryRef _Nullable CMTagCopyAsDictionary(CMTag tag, CFAllocatorRef _Nullable allocator)
extern CMTag CMTagMakeFromDictionary(CFDictionaryRef _Nonnull dict)
static inline CMTagCategory CMTagGetCategory(CMTag tag) {
return tag.category;
}
static inline CMTagValue CMTagGetValue(CMTag tag) {
return tag.value;
}
static inline Boolean CMTagHasCategory(CMTag tag, CMTagCategory category) {
return (CMTagGetCategory(tag) == category);
}
static inline Boolean CMTagCategoryEqualToTagCategory(CMTag tag1, CMTag tag2) {
return tag1.category == tag2.category;
}
static inline Boolean CMTagIsValid(CMTag tag) {
return ((Boolean)(((tag).dataType) != kCMTagDataType_Invalid));
}
static inline Boolean CMTagCategoryValueEqualToValue(CMTag tag1, CMTag tag2) {
return (tag1.category == tag2.category) && (CMTagGetValueDataType(tag1) == CMTagGetValueDataType(tag2)) && (tag1.value == tag2.value);
}
extern CMBufferRef _Nullable CMBufferQueueCopyHead(CMBufferQueueRef _Nonnull queue)
extern CFTypeID CMTagCollectionGetTypeID(void)
extern OSStatus CMTagCollectionCreate(CFAllocatorRef _Nullable allocator, const CMTag * _Nullable tags, CMItemCount tagCount, CMTagCollectionRef _Nullable * _Nonnull newCollectionOut)
extern OSStatus CMTagCollectionCreateMutable(CFAllocatorRef _Nullable allocator, CFIndex capacity, CMMutableTagCollectionRef _Nullable * _Nonnull newMutableCollectionOut)
extern OSStatus CMTagCollectionCreateCopy(CMTagCollectionRef _Nonnull tagCollection, CFAllocatorRef _Nullable allocator, CMTagCollectionRef _Nullable * _Nonnull newCollectionCopyOut)
extern OSStatus CMTagCollectionCreateMutableCopy(CMTagCollectionRef _Nonnull tagCollection, CFAllocatorRef _Nullable allocator, CMMutableTagCollectionRef _Nullable * _Nonnull newMutableCollectionCopyOut)
extern CFStringRef _Nullable CMTagCollectionCopyDescription(CFAllocatorRef _Nullable allocator, CMTagCollectionRef _Nullable tagCollection)
extern CMItemCount CMTagCollectionGetCount(CMTagCollectionRef _Nonnull tagCollection)
extern Boolean CMTagCollectionContainsTag(CMTagCollectionRef _Nonnull tagCollection, CMTag tag)
extern Boolean CMTagCollectionContainsTagsOfCollection(CMTagCollectionRef _Nonnull tagCollection, CMTagCollectionRef _Nonnull containedTagCollection)
extern Boolean CMTagCollectionContainsSpecifiedTags(CMTagCollectionRef _Nonnull tagCollection, const CMTag * _Nonnull containedTags, CMItemCount containedTagCount)
extern Boolean CMTagCollectionContainsCategory(CMTagCollectionRef _Nonnull tagCollection, CMTagCategory category)
extern CMItemCount CMTagCollectionGetCountOfCategory(CMTagCollectionRef _Nonnull tagCollection, CMTagCategory category)
extern OSStatus CMTagCollectionGetTags(CMTagCollectionRef _Nonnull tagCollection, CMTag * _Nonnull tagBuffer, CMItemCount tagBufferCount, CMItemCount * _Nullable numberOfTagsCopied)
extern OSStatus CMTagCollectionGetTagsWithCategory(CMTagCollectionRef _Nonnull tagCollection, CMTagCategory category, CMTag * _Nonnull tagBuffer, CMItemCount tagBufferCount, CMItemCount * _Nullable numberOfTagsCopied)
extern CMItemCount CMTagCollectionCountTagsWithFilterFunction(CMTagCollectionRef _Nonnull tagCollection, CMTagCollectionTagFilterFunction _Nonnull filterApplier, void * _Nullable context)
extern OSStatus CMTagCollectionGetTagsWithFilterFunction(CMTagCollectionRef _Nonnull tagCollection, CMTag * _Nonnull tagBuffer, CMItemCount tagBufferCount, CMItemCount * _Nullable numberOfTagsCopied, CMTagCollectionTagFilterFunction _Nonnull filter, void * _Nullable context)
extern OSStatus CMTagCollectionCopyTagsOfCategories(CFAllocatorRef _Nullable allocator, CMTagCollectionRef _Nonnull tagCollection, const CMTagCategory * _Nonnull categories, CMItemCount categoriesCount, CMTagCollectionRef _Nullable * _Nonnull collectionWithTagsOfCategories)
extern void CMTagCollectionApply(CMTagCollectionRef _Nonnull tagCollection, CMTagCollectionApplierFunction _Nonnull applier, void * _Nullable context)
extern CMTag CMTagCollectionApplyUntil(CMTagCollectionRef _Nonnull tagCollection, CMTagCollectionTagFilterFunction _Nonnull applier, void * _Nullable context)
extern Boolean CMTagCollectionIsEmpty(CMTagCollectionRef _Nonnull tagCollection)
extern OSStatus CMTagCollectionCreateIntersection(CMTagCollectionRef _Nullable tagCollection1, CMTagCollectionRef _Nullable tagCollection2, CMTagCollectionRef _Nullable * _Nonnull tagCollectionOut)
extern OSStatus CMTagCollectionCreateUnion(CMTagCollectionRef _Nullable tagCollection1, CMTagCollectionRef _Nullable tagCollection2, CMTagCollectionRef _Nullable * _Nonnull tagCollectionOut)
extern OSStatus CMTagCollectionCreateDifference(CMTagCollectionRef _Nullable tagCollectionMinuend, CMTagCollectionRef _Nullable tagCollectionSubtrahend, CMTagCollectionRef _Nullable * _Nonnull tagCollectionOut)
extern OSStatus CMTagCollectionCreateExclusiveOr(CMTagCollectionRef _Nullable tagCollection1, CMTagCollectionRef _Nullable tagCollection2, CMTagCollectionRef _Nullable * _Nonnull tagCollectionOut)
extern OSStatus CMTagCollectionAddTag(CMMutableTagCollectionRef _Nonnull tagCollection, CMTag tagToAdd)
extern OSStatus CMTagCollectionRemoveTag(CMMutableTagCollectionRef _Nonnull tagCollection, CMTag tagToRemove)
extern OSStatus CMTagCollectionRemoveAllTags(CMMutableTagCollectionRef _Nonnull tagCollection)
extern OSStatus CMTagCollectionRemoveAllTagsOfCategory(CMMutableTagCollectionRef _Nonnull tagCollection, CMTagCategory category)
extern OSStatus CMTagCollectionAddTagsFromCollection(CMMutableTagCollectionRef _Nonnull tagCollection, CMTagCollectionRef _Nonnull collectionWithTagsToAdd)
extern OSStatus CMTagCollectionAddTagsFromArray(CMMutableTagCollectionRef _Nonnull tagCollection, CMTag * _Nonnull tags, CMItemCount tagCount)
extern CFDictionaryRef _Nullable CMTagCollectionCopyAsDictionary(CMTagCollectionRef _Nonnull tagCollection, CFAllocatorRef _Nullable allocator)
extern OSStatus CMTagCollectionCreateFromDictionary(CFDictionaryRef _Nonnull dict, CFAllocatorRef _Nullable allocator, CMTagCollectionRef _Nullable * _Nonnull newCollectionOut)
extern CFDataRef _Nullable CMTagCollectionCopyAsData(CMTagCollectionRef _Nonnull tagCollection, CFAllocatorRef _Nullable allocator)
extern OSStatus CMTagCollectionCreateFromData(CFDataRef _Nonnull data, CFAllocatorRef _Nullable allocator, CMTagCollectionRef _Nullable * _Nonnull newCollectionOut)
extern CFTypeID CMTaggedBufferGroupGetTypeID(void)
extern OSStatus CMTaggedBufferGroupCreate(CFAllocatorRef _Nullable allocator, CFArrayRef _Nonnull tagCollections, CFArrayRef _Nonnull buffers, CMTaggedBufferGroupRef _Nullable * _Nonnull groupOut)
extern OSStatus CMTaggedBufferGroupCreateCombined(CFAllocatorRef _Nullable allocator, CFArrayRef _Nonnull taggedBufferGroups, CMTaggedBufferGroupRef _Nullable * _Nonnull groupOut)
extern CMItemCount CMTaggedBufferGroupGetCount(CMTaggedBufferGroupRef _Nonnull group)
extern CMTagCollectionRef _Nullable CMTaggedBufferGroupGetTagCollectionAtIndex(CMTaggedBufferGroupRef _Nonnull group, CFIndex index)
extern CVPixelBufferRef _Nullable CMTaggedBufferGroupGetCVPixelBufferAtIndex(CMTaggedBufferGroupRef _Nonnull group, CFIndex index)
extern CVPixelBufferRef _Nullable CMTaggedBufferGroupGetCVPixelBufferForTag(CMTaggedBufferGroupRef _Nonnull group, CMTag tag, CFIndex * _Nullable indexOut)
extern CVPixelBufferRef _Nullable CMTaggedBufferGroupGetCVPixelBufferForTagCollection(CMTaggedBufferGroupRef _Nonnull group, CMTagCollectionRef _Nonnull tagCollection, CFIndex * _Nullable indexOut)
extern CMSampleBufferRef _Nullable CMTaggedBufferGroupGetCMSampleBufferAtIndex(CMTaggedBufferGroupRef _Nonnull group, CFIndex index)
extern CMSampleBufferRef _Nullable CMTaggedBufferGroupGetCMSampleBufferForTag(CMTaggedBufferGroupRef _Nonnull group, CMTag tag, CFIndex * _Nullable indexOut)
extern CMSampleBufferRef _Nullable CMTaggedBufferGroupGetCMSampleBufferForTagCollection(CMTaggedBufferGroupRef _Nonnull group, CMTagCollectionRef _Nonnull tagCollection, CFIndex * _Nullable indexOut)
extern CMItemCount CMTaggedBufferGroupGetNumberOfMatchesForTagCollection(CMTaggedBufferGroupRef _Nonnull group, CMTagCollectionRef _Nonnull tagCollection)
extern OSStatus CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup(CFAllocatorRef _Nullable allocator, CMTaggedBufferGroupRef _Nonnull taggedBufferGroup, CMTaggedBufferGroupFormatDescriptionRef _Nullable * _Nonnull formatDescriptionOut)
extern Boolean CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup(CMTaggedBufferGroupFormatDescriptionRef _Nonnull desc, CMTaggedBufferGroupRef _Nonnull taggedBufferGroup)
extern OSStatus CMSampleBufferCreateForTaggedBufferGroup(CFAllocatorRef _Nullable allocator, CMTaggedBufferGroupRef _Nonnull taggedBufferGroup, CMTime sbufPTS, CMTime sbufDuration, CMTaggedBufferGroupFormatDescriptionRef _Nonnull formatDescription, CMSampleBufferRef _Nullable * _Nonnull sBufOut)
extern CMTaggedBufferGroupRef _Nullable CMSampleBufferGetTaggedBufferGroup(CMSampleBufferRef _Nonnull sbuf)
extern OSStatus CMVideoFormatDescriptionCopyTagCollectionArray(CMVideoFormatDescriptionRef _Nonnull formatDescription, CFArrayRef _Nullable * _Nullable tagCollectionsOut)
CMFormatDescription
public var tagCollections: [[CoreMedia.CMTag]]?
CMSampleBuffer
public var taggedBuffers: [CoreMedia.CMTaggedBuffer]?
CMTypedTag.Category
public static var channelID: CoreMedia.CMTypedTag<Swift.Int64>.Category
CMTypedTag.Category
public static var mediaSubType: CoreMedia.CMTypedTag<CoreMedia.CMFormatDescription.MediaSubType>.Category
CMTypedTag.Category
public static var mediaType: CoreMedia.CMTypedTag<CoreMedia.CMFormatDescription.MediaType>.Category
CMTypedTag.Category
public static var packingType: CoreMedia.CMTypedTag<CoreMedia.CMPackingType>.Category
CMTypedTag.Category
public static var pixelFormat: CoreMedia.CMTypedTag<Darwin.OSType>.Category
CMTypedTag.Category
public static var projectionType: CoreMedia.CMTypedTag<CoreMedia.CMProjectionType>.Category
CMTypedTag.Category
public static var stereoView: CoreMedia.CMTypedTag<CoreMedia.CMStereoViewComponents>.Category
CMTypedTag.Category
public static var stereoViewInterpretation: CoreMedia.CMTypedTag<CoreMedia.CMStereoViewInterpretationOptions>.Category
CMTypedTag.Category
public static var trackID: CoreMedia.CMTypedTag<CoreMedia.CMPersistentTrackID>.Category
CMTypedTag.Category
public static var videoLayerID: CoreMedia.CMTypedTag<Swift.Int64>.Category
Key
@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
public static var contentColorVolume: CoreMedia.CMFormatDescription.Extensions.Key
Key
@backDeployed(before: macOS 26.0, iOS 26.0, visionOS 26.0)
public static var hasAdditionalViews: CoreMedia.CMFormatDescription.Extensions.Key
Key
@backDeployed(before: macOS 26.0, iOS 26.0, visionOS 26.0)
public static var hasLeftStereoEyeView: CoreMedia.CMFormatDescription.Extensions.Key
Key
@backDeployed(before: macOS 26.0, iOS 26.0, visionOS 26.0)
public static var hasRightStereoEyeView: CoreMedia.CMFormatDescription.Extensions.Key
Key
@backDeployed(before: macOS 26.0, iOS 26.0, visionOS 26.0)
public static var heroEye: CoreMedia.CMFormatDescription.Extensions.Key
Key
@backDeployed(before: macOS 26.0, iOS 26.0, visionOS 26.0)
public static var horizontalDisparityAdjustment: CoreMedia.CMFormatDescription.Extensions.Key
Key
@backDeployed(before: macOS 26.0, iOS 26.0, visionOS 26.0)
public static var stereoCameraBaseline: CoreMedia.CMFormatDescription.Extensions.Key
MediaSubType
public static let embeddedDeviceScreenRecording: CoreMedia.CMFormatDescription.MediaSubType
extern const CMTag kCMTagInvalid
extern const CMTag kCMTagMediaTypeVideo
extern const CMTag kCMTagMediaSubTypeMebx
extern const CMTag kCMTagMediaTypeAudio
extern const CMTag kCMTagMediaTypeMetadata
extern const CMTag kCMTagStereoLeftEye
extern const CMTag kCMTagStereoRightEye
extern const CMTag kCMTagStereoLeftAndRightEye
extern const CMTag kCMTagStereoNone
extern const CMTag kCMTagStereoInterpretationOrderReversed
extern const CMTag kCMTagProjectionTypeRectangular
extern const CMTag kCMTagProjectionTypeEquirectangular
extern const CMTag kCMTagProjectionTypeFisheye
extern const CMTag kCMTagPackingTypeNone
extern const CMTag kCMTagPackingTypeSideBySide
extern const CMTag kCMTagPackingTypeOverUnder
extern CF_SWIFT_UNAVAILABLE("Unavailable in Swift") const CFStringRef kCMTagValueKey
extern CF_SWIFT_UNAVAILABLE("Unavailable in Swift") const CFStringRef kCMTagCategoryKey
extern CF_SWIFT_UNAVAILABLE("Unavailable in Swift") const CFStringRef kCMTagDataTypeKey
extern CF_SWIFT_UNAVAILABLE("Unavailable in Swift") const CFStringRef kCMTagCollectionTagsArrayKey
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_ContentColorVolume
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_HeroEye
extern const CFStringRef _Nonnull kCMFormatDescriptionHeroEye_Left
extern const CFStringRef _Nonnull kCMFormatDescriptionHeroEye_Right
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_StereoCameraBaseline
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_HorizontalDisparityAdjustment
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_HasLeftStereoEyeView
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_HasRightStereoEyeView
extern const CFStringRef _Nonnull kCMFormatDescriptionExtension_HasAdditionalViews