Documentation
¶
Overview ¶
Package coremedia provides Go bindings for the CoreMedia framework.
Represent time-based audio-visual assets with essential data types.
The Core Media framework defines the media pipeline used by AVFoundation and other high-level media frameworks found on Apple platforms. Use Core Media’s low-level data types and interfaces to efficiently process media samples and manage queues of media data.
Sample Processing ¶
- CMSampleBuffer: An object that contains zero or more media samples of a uniform media type. (CMSampleTimingInfo, CMBufferGetSizeCallback, CMItemIndex, CMItemCount, CMPersistentTrackID)
- CMBlockBuffer: An object the system uses to move blocks of memory through a processing system. (CMBlockBufferFlags, CMBlockBufferCustomBlockSource)
- CMTaggedBufferGroup: Objective-C types and interfaces for working with Core Media tagged buffer groups. (CMTaggedBufferGroupFormatType)
- CMFormatDescription: A media format descriptor that describes the samples in a sample buffer. (CMSoundDescriptionFlavor, CMImageDescriptionFlavor, CMMetadataDescriptionFlavor, CMTextDescriptionFlavor, CMTimeCodeDescriptionFlavor)
- CMAttachment: Add supporting metadata to sample buffers. (CMAttachmentMode)
- CMTaggedBuffer: An instance of a media buffer containing metadata tags.
- CMMutableDataBlockBuffer: A block buffer that provides read-write access to a range of bytes.
- CMReadOnlyDataBlockBuffer: A block buffer that provides read-only access to the a range of bytes.
- CMReadySampleBuffer: Buffer carrying readily available samples of media data.
- CMSampleDataReference: References sample data in at a URL.
- CMTaggedDynamicBuffer: Contains a collection of tags associated with a read-only media buffer.
Time Representation ¶
- CMTime: A structure that represents time. (CMTimeRoundingMethod, CMTime, CMTimeValue, CMTimeScale, CMTimeEpoch)
- CMTimeRange: A structure that represents a range of time. (CMTimeRange)
- CMTimeMapping: A structure that maps a segment of a source time range to a target time range. (CMTimeMapping)
Media Synchronization ¶
- CMClock: A reference clock you use to synchronize applications and devices.
- CMAudioClock: A specialized reference clock that synchronizes with audio sources.
- CMTimebase: A model of a timeline under application control.
Text Markup ¶
- CMTextMarkup: Attributes that specify text markup in legible media.
Metadata ¶
- CMMetadata: The APIs for working with the framework’s Metadata Identifier Services and Metadata Data Type Registry.
- CMTag: Types and interfaces for working with Core Media tags. (CMTag)
- CMTag: A tag to set additional metadata on media buffers.
- CMTypedTag: A tag to set additional metadata on media buffers, with an associated Swift type for its value.
- CMTagCollection: Objective-C types and interfaces for working with Core Media tag collections.
- CMProjectionType: Constants describing the projection surface information in a 3D video buffer or channel.
- CMStereoViewComponents: Constants describing the stereo views contained within a buffer or channel.
- CMStereoViewInterpretationOptions: Create a set of stereo view interpretation options from a constant.
- CMPackingType: The type of packing within each video frame, if any.
Queues ¶
- CMSimpleQueue: A simple, lockless FIFO queue of elements.
- CMBufferQueue: A queue of timed buffers. (CMBufferCallbacks, CMBufferQueueTriggerHandler, CMBufferQueueTriggerToken, CMBufferQueueTriggerCallback, CMBufferQueueTriggerCondition)
- CMMemoryPool: An object that optimizes memory allocation when working with large blocks of memory.
Code generated from Apple documentation. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func CMAudioDeviceClockCreate(allocator corefoundation.CFAllocatorRef, deviceUID corefoundation.CFStringRef, ...) int32
- func CMAudioDeviceClockCreateFromAudioDeviceID(allocator corefoundation.CFAllocatorRef, deviceID uint32, clockOut *uintptr) int32
- func CMAudioDeviceClockGetAudioDevice(clock uintptr, deviceUIDOut *corefoundation.CFStringRef, deviceIDOut *uint32, ...) int32
- func CMAudioDeviceClockSetAudioDeviceID(clock uintptr, deviceID uint32) int32
- func CMAudioDeviceClockSetAudioDeviceUID(clock uintptr, deviceUID corefoundation.CFStringRef) int32
- func CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, audioFormatDescription uintptr, ...) int32
- func CMAudioFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, asbd uintptr, layoutSize uintptr, ...) int32
- func CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, soundDescriptionBlockBuffer uintptr, ...) int32
- func CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData(allocator corefoundation.CFAllocatorRef, soundDescriptionData *uint8, ...) int32
- func CMAudioFormatDescriptionCreateSummary(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMAudioFormatDescriptionEqual(formatDescription uintptr, otherFormatDescription uintptr, ...) bool
- func CMAudioFormatDescriptionGetChannelLayout(desc uintptr, sizeOut *uintptr) *objectivec.IObject
- func CMAudioFormatDescriptionGetFormatList(desc uintptr, sizeOut *uintptr) *objectivec.IObject
- func CMAudioFormatDescriptionGetMagicCookie(desc uintptr, sizeOut *uintptr) unsafe.Pointer
- func CMAudioFormatDescriptionGetMostCompatibleFormat(desc uintptr) *objectivec.IObject
- func CMAudioFormatDescriptionGetRichestDecodableFormat(desc uintptr) *objectivec.IObject
- func CMAudioFormatDescriptionGetStreamBasicDescription(desc uintptr) *objectivec.IObject
- func CMAudioSampleBufferCreateReadyWithPacketDescriptions(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, ...) int32
- func CMAudioSampleBufferCreateWithPacketDescriptions(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, ...) int32
- func CMAudioSampleBufferCreateWithPacketDescriptionsAndMakeDataReadyHandler(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, ...) int32
- func CMBlockBufferAccessDataBytes(theBuffer uintptr, offset uintptr, length uintptr, ...) int32
- func CMBlockBufferAppendBufferReference(theBuffer uintptr, targetBBuf uintptr, offsetToData uintptr, ...) int32
- func CMBlockBufferAppendMemoryBlock(theBuffer uintptr, memoryBlock unsafe.Pointer, blockLength uintptr, ...) int32
- func CMBlockBufferAssureBlockMemory(theBuffer uintptr) int32
- func CMBlockBufferCopyDataBytes(theSourceBuffer uintptr, offsetToData uintptr, dataLength uintptr, ...) int32
- func CMBlockBufferCreateContiguous(structureAllocator corefoundation.CFAllocatorRef, sourceBuffer uintptr, ...) int32
- func CMBlockBufferCreateEmpty(structureAllocator corefoundation.CFAllocatorRef, subBlockCapacity uint32, ...) int32
- func CMBlockBufferCreateWithBufferReference(structureAllocator corefoundation.CFAllocatorRef, bufferReference uintptr, ...) int32
- func CMBlockBufferCreateWithMemoryBlock(structureAllocator corefoundation.CFAllocatorRef, memoryBlock unsafe.Pointer, ...) int32
- func CMBlockBufferFillDataBytes(fillByte int8, destinationBuffer uintptr, offsetIntoDestination uintptr, ...) int32
- func CMBlockBufferGetDataLength(theBuffer uintptr) uintptr
- func CMBlockBufferGetDataPointer(theBuffer uintptr, offset uintptr, lengthAtOffsetOut *uintptr, ...) int32
- func CMBlockBufferGetTypeID() uint
- func CMBlockBufferIsEmpty(theBuffer uintptr) bool
- func CMBlockBufferIsRangeContiguous(theBuffer uintptr, offset uintptr, length uintptr) bool
- func CMBlockBufferReplaceDataBytes(sourceBytes unsafe.Pointer, destinationBuffer uintptr, ...) int32
- func CMBufferQueueCallForEachBuffer(queue uintptr, refcon uintptr) int32
- func CMBufferQueueContainsEndOfData(queue uintptr) bool
- func CMBufferQueueCreate(allocator corefoundation.CFAllocatorRef, capacity int, ...) int32
- func CMBufferQueueCreateWithHandlers(allocator corefoundation.CFAllocatorRef, capacity int, ...) int32
- func CMBufferQueueEnqueue(queue uintptr, buf CMBufferRef) int32
- func CMBufferQueueGetBufferCount(queue uintptr) int
- func CMBufferQueueGetTotalSize(queue uintptr) uintptr
- func CMBufferQueueGetTypeID() uint
- func CMBufferQueueInstallTrigger(queue uintptr, callback CMBufferQueueTriggerCallback, refcon uintptr, ...) int32
- func CMBufferQueueInstallTriggerHandler(queue uintptr, condition CMBufferQueueTriggerCondition, time CMTime, ...) int32
- func CMBufferQueueInstallTriggerHandlerWithIntegerThreshold(queue uintptr, condition CMBufferQueueTriggerCondition, threshold int, ...) int32
- func CMBufferQueueInstallTriggerWithIntegerThreshold(queue uintptr, callback CMBufferQueueTriggerCallback, refcon uintptr, ...) int32
- func CMBufferQueueIsAtEndOfData(queue uintptr) bool
- func CMBufferQueueIsEmpty(queue uintptr) bool
- func CMBufferQueueMarkEndOfData(queue uintptr) int32
- func CMBufferQueueRemoveTrigger(queue uintptr, triggerToken CMBufferQueueTriggerToken) int32
- func CMBufferQueueReset(queue uintptr) int32
- func CMBufferQueueResetWithCallback(queue uintptr, refcon uintptr) int32
- func CMBufferQueueSetValidationCallback(queue uintptr, callback CMBufferValidationCallback, refcon uintptr) int32
- func CMBufferQueueSetValidationHandler(queue uintptr, handler CMBufferValidationHandler) int32
- func CMBufferQueueTestTrigger(queue uintptr, triggerToken CMBufferQueueTriggerToken) bool
- func CMClockConvertHostTimeToSystemUnits(hostTime CMTime) uint64
- func CMClockGetAnchorTime(clock uintptr, clockTimeOut *CMTime, referenceClockTimeOut *CMTime) int32
- func CMClockGetHostTimeClock() uintptr
- func CMClockGetTypeID() uint
- func CMClockInvalidate(clock uintptr)
- func CMClockMightDrift(clock uintptr, otherClock uintptr) bool
- func CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData(allocator corefoundation.CFAllocatorRef, closedCaptionDescriptionData *uint8, ...) int32
- func CMCopyDictionaryOfAttachments(allocator corefoundation.CFAllocatorRef, target CMAttachmentBearerRef, ...) corefoundation.CFDictionaryRef
- func CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout(soundDescriptionBlockBuffer uintptr, flavor CMSoundDescriptionFlavor) bool
- func CMFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, mediaType uint32, mediaSubType uint32, ...) int32
- func CMFormatDescriptionEqual(formatDescription uintptr, otherFormatDescription uintptr) bool
- func CMFormatDescriptionEqualIgnoringExtensionKeys(formatDescription uintptr, otherFormatDescription uintptr, ...) bool
- func CMFormatDescriptionGetExtension(desc uintptr, extensionKey corefoundation.CFStringRef) corefoundation.CFPropertyListRef
- func CMFormatDescriptionGetExtensions(desc uintptr) corefoundation.CFDictionaryRef
- func CMFormatDescriptionGetMediaSubType(desc uintptr) uint32
- func CMFormatDescriptionGetMediaType(desc uintptr) uint32
- func CMFormatDescriptionGetTypeID() uint
- func CMGetAttachment(target CMAttachmentBearerRef, key corefoundation.CFStringRef, ...) corefoundation.CFTypeRef
- func CMMemoryPoolCreate(options corefoundation.CFDictionaryRef) uintptr
- func CMMemoryPoolFlush(pool uintptr)
- func CMMemoryPoolGetAllocator(pool uintptr) corefoundation.CFAllocatorRef
- func CMMemoryPoolGetTypeID() uint
- func CMMemoryPoolInvalidate(pool uintptr)
- func CMMetadataCreateIdentifierForKeyAndKeySpace(allocator corefoundation.CFAllocatorRef, key corefoundation.CFTypeRef, ...) int32
- func CMMetadataCreateKeyFromIdentifier(allocator corefoundation.CFAllocatorRef, identifier corefoundation.CFStringRef, ...) int32
- func CMMetadataCreateKeyFromIdentifierAsCFData(allocator corefoundation.CFAllocatorRef, identifier corefoundation.CFStringRef, ...) int32
- func CMMetadataCreateKeySpaceFromIdentifier(allocator corefoundation.CFAllocatorRef, identifier corefoundation.CFStringRef, ...) int32
- func CMMetadataDataTypeRegistryDataTypeConformsToDataType(dataType corefoundation.CFStringRef, ...) bool
- func CMMetadataDataTypeRegistryDataTypeIsBaseDataType(dataType corefoundation.CFStringRef) bool
- func CMMetadataDataTypeRegistryDataTypeIsRegistered(dataType corefoundation.CFStringRef) bool
- func CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType(dataType corefoundation.CFStringRef) corefoundation.CFStringRef
- func CMMetadataDataTypeRegistryGetBaseDataTypes() corefoundation.CFArrayRef
- func CMMetadataDataTypeRegistryGetConformingDataTypes(dataType corefoundation.CFStringRef) corefoundation.CFArrayRef
- func CMMetadataDataTypeRegistryGetDataTypeDescription(dataType corefoundation.CFStringRef) corefoundation.CFStringRef
- func CMMetadataDataTypeRegistryRegisterDataType(dataType corefoundation.CFStringRef, description corefoundation.CFStringRef, ...) int32
- func CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData(allocator corefoundation.CFAllocatorRef, metadataDescriptionData *uint8, ...) int32
- func CMMetadataFormatDescriptionCreateWithKeys(allocator corefoundation.CFAllocatorRef, metadataType CMMetadataFormatType, ...) int32
- func CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMMetadataFormatDescriptionCreateWithMetadataSpecifications(allocator corefoundation.CFAllocatorRef, metadataType CMMetadataFormatType, ...) int32
- func CMMetadataFormatDescriptionGetIdentifiers(desc CMMetadataFormatDescriptionRef) corefoundation.CFArrayRef
- func CMMetadataFormatDescriptionGetKeyWithLocalID(desc CMMetadataFormatDescriptionRef, localKeyID uint32) corefoundation.CFDictionaryRef
- func CMMuxedFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, muxType CMMuxedStreamType, ...) int32
- func CMPropagateAttachments(source CMAttachmentBearerRef, destination CMAttachmentBearerRef)
- func CMRemoveAllAttachments(target CMAttachmentBearerRef)
- func CMRemoveAttachment(target CMAttachmentBearerRef, key corefoundation.CFStringRef)
- func CMSampleBufferCallBlockForEachSample(sbuf uintptr) int32
- func CMSampleBufferCallForEachSample(sbuf uintptr, refcon uintptr) int32
- func CMSampleBufferCopyPCMDataIntoAudioBufferList(sbuf uintptr, frameOffset int32, numFrames int32, bufferList uintptr) int32
- func CMSampleBufferCopySampleBufferForRange(allocator corefoundation.CFAllocatorRef, sbuf uintptr, ...) int32
- func CMSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, ...) int32
- func CMSampleBufferCreateCopy(allocator corefoundation.CFAllocatorRef, sbuf uintptr, ...) int32
- func CMSampleBufferCreateCopyWithNewTiming(allocator corefoundation.CFAllocatorRef, originalSBuf uintptr, ...) int32
- func CMSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMSampleBufferCreateForImageBufferWithMakeDataReadyHandler(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMSampleBufferCreateForTaggedBufferGroup(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMSampleBufferCreateReady(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, ...) int32
- func CMSampleBufferCreateReadyWithImageBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMSampleBufferCreateWithMakeDataReadyHandler(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, ...) int32
- func CMSampleBufferDataIsReady(sbuf uintptr) bool
- func CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(sbuf uintptr, bufferListSizeNeededOut *uintptr, bufferListOut uintptr, ...) int32
- func CMSampleBufferGetAudioStreamPacketDescriptions(sbuf uintptr, packetDescriptionsSize uintptr, packetDescriptionsOut uintptr, ...) int32
- func CMSampleBufferGetAudioStreamPacketDescriptionsPtr(sbuf uintptr, packetDescriptionsPointerOut uintptr, ...) int32
- func CMSampleBufferGetDataBuffer(sbuf uintptr) uintptr
- func CMSampleBufferGetFormatDescription(sbuf uintptr) uintptr
- func CMSampleBufferGetImageBuffer(sbuf uintptr) corevideo.CVImageBufferRef
- func CMSampleBufferGetNumSamples(sbuf uintptr) int
- func CMSampleBufferGetOutputSampleTimingInfoArray(sbuf uintptr, timingArrayEntries int, timingArrayOut *CMSampleTimingInfo, ...) int32
- func CMSampleBufferGetSampleAttachmentsArray(sbuf uintptr, createIfNecessary bool) corefoundation.CFArrayRef
- func CMSampleBufferGetSampleSize(sbuf uintptr, sampleIndex int) uintptr
- func CMSampleBufferGetSampleSizeArray(sbuf uintptr, sizeArrayEntries int, sizeArrayOut *uintptr, ...) int32
- func CMSampleBufferGetSampleTimingInfo(sbuf uintptr, sampleIndex int, timingInfoOut *CMSampleTimingInfo) int32
- func CMSampleBufferGetSampleTimingInfoArray(sbuf uintptr, numSampleTimingEntries int, timingArrayOut *CMSampleTimingInfo, ...) int32
- func CMSampleBufferGetTotalSampleSize(sbuf uintptr) uintptr
- func CMSampleBufferGetTypeID() uint
- func CMSampleBufferHasDataFailed(sbuf uintptr, statusOut *int32) bool
- func CMSampleBufferInvalidate(sbuf uintptr) int32
- func CMSampleBufferIsValid(sbuf uintptr) bool
- func CMSampleBufferMakeDataReady(sbuf uintptr) int32
- func CMSampleBufferSetDataBuffer(sbuf uintptr, dataBuffer uintptr) int32
- func CMSampleBufferSetDataBufferFromAudioBufferList(sbuf uintptr, blockBufferStructureAllocator corefoundation.CFAllocatorRef, ...) int32
- func CMSampleBufferSetDataFailed(sbuf uintptr, status int32) int32
- func CMSampleBufferSetDataReady(sbuf uintptr) int32
- func CMSampleBufferSetInvalidateCallback(sbuf uintptr, invalidateCallback CMSampleBufferInvalidateCallback, ...) int32
- func CMSampleBufferSetInvalidateHandler(sbuf uintptr, invalidateHandler CMSampleBufferInvalidateHandler) int32
- func CMSampleBufferSetOutputPresentationTimeStamp(sbuf uintptr, outputPresentationTimeStamp CMTime) int32
- func CMSampleBufferTrackDataReadiness(sbuf uintptr, sampleBufferToTrack uintptr) int32
- func CMSetAttachment(target CMAttachmentBearerRef, key corefoundation.CFStringRef, ...)
- func CMSetAttachments(target CMAttachmentBearerRef, theAttachments corefoundation.CFDictionaryRef, ...)
- func CMSimpleQueueCreate(allocator corefoundation.CFAllocatorRef, capacity int32, ...) int32
- func CMSimpleQueueDequeue(queue CMSimpleQueueRef) unsafe.Pointer
- func CMSimpleQueueEnqueue(queue CMSimpleQueueRef, element unsafe.Pointer) int32
- func CMSimpleQueueGetCapacity(queue CMSimpleQueueRef) int32
- func CMSimpleQueueGetCount(queue CMSimpleQueueRef) int32
- func CMSimpleQueueGetHead(queue CMSimpleQueueRef) unsafe.Pointer
- func CMSimpleQueueGetTypeID() uint
- func CMSimpleQueueReset(queue CMSimpleQueueRef) int32
- func CMSwapBigEndianClosedCaptionDescriptionToHost(closedCaptionDescriptionData *uint8, closedCaptionDescriptionSize uintptr) int32
- func CMSwapBigEndianImageDescriptionToHost(imageDescriptionData *uint8, imageDescriptionSize uintptr) int32
- func CMSwapBigEndianMetadataDescriptionToHost(metadataDescriptionData *uint8, metadataDescriptionSize uintptr) int32
- func CMSwapBigEndianSoundDescriptionToHost(soundDescriptionData *uint8, soundDescriptionSize uintptr) int32
- func CMSwapBigEndianTextDescriptionToHost(textDescriptionData *uint8, textDescriptionSize uintptr) int32
- func CMSwapBigEndianTimeCodeDescriptionToHost(timeCodeDescriptionData *uint8, timeCodeDescriptionSize uintptr) int32
- func CMSwapHostEndianClosedCaptionDescriptionToBig(closedCaptionDescriptionData *uint8, closedCaptionDescriptionSize uintptr) int32
- func CMSwapHostEndianImageDescriptionToBig(imageDescriptionData *uint8, imageDescriptionSize uintptr) int32
- func CMSwapHostEndianMetadataDescriptionToBig(metadataDescriptionData *uint8, metadataDescriptionSize uintptr) int32
- func CMSwapHostEndianSoundDescriptionToBig(soundDescriptionData *uint8, soundDescriptionSize uintptr) int32
- func CMSwapHostEndianTextDescriptionToBig(textDescriptionData *uint8, textDescriptionSize uintptr) int32
- func CMSwapHostEndianTimeCodeDescriptionToBig(timeCodeDescriptionData *uint8, timeCodeDescriptionSize uintptr) int32
- func CMSyncGetRelativeRate(ofClockOrTimebase CMClockOrTimebaseRef, ...) float64
- func CMSyncGetRelativeRateAndAnchorTime(ofClockOrTimebase CMClockOrTimebaseRef, ...) int32
- func CMSyncMightDrift(clockOrTimebase1 CMClockOrTimebaseRef, clockOrTimebase2 CMClockOrTimebaseRef) bool
- func CMTagCollectionAddTag(tagCollection CMMutableTagCollectionRef, tagToAdd CMTag) int32
- func CMTagCollectionAddTagsFromArray(tagCollection CMMutableTagCollectionRef, tags *CMTag, tagCount int) int32
- func CMTagCollectionAddTagsFromCollection(tagCollection CMMutableTagCollectionRef, ...) int32
- func CMTagCollectionApply(tagCollection CMTagCollectionRef, applier CMTagCollectionApplierFunction, ...)
- func CMTagCollectionContainsCategory(tagCollection CMTagCollectionRef, category CMTagCategory) bool
- func CMTagCollectionContainsSpecifiedTags(tagCollection CMTagCollectionRef, containedTags *CMTag, containedTagCount int) bool
- func CMTagCollectionContainsTag(tagCollection CMTagCollectionRef, tag CMTag) bool
- func CMTagCollectionContainsTagsOfCollection(tagCollection CMTagCollectionRef, containedTagCollection CMTagCollectionRef) bool
- func CMTagCollectionCopyAsData(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef) corefoundation.CFDataRef
- func CMTagCollectionCopyAsDictionary(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
- func CMTagCollectionCopyDescription(allocator corefoundation.CFAllocatorRef, tagCollection CMTagCollectionRef) corefoundation.CFStringRef
- func CMTagCollectionCopyTagsOfCategories(allocator corefoundation.CFAllocatorRef, tagCollection CMTagCollectionRef, ...) int32
- func CMTagCollectionCountTagsWithFilterFunction(tagCollection CMTagCollectionRef, ...) int
- func CMTagCollectionCreate(allocator corefoundation.CFAllocatorRef, tags *CMTag, tagCount int, ...) int32
- func CMTagCollectionCreateCopy(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTagCollectionCreateDifference(tagCollectionMinuend CMTagCollectionRef, ...) int32
- func CMTagCollectionCreateExclusiveOr(tagCollection1 CMTagCollectionRef, tagCollection2 CMTagCollectionRef, ...) int32
- func CMTagCollectionCreateFromData(data corefoundation.CFDataRef, allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTagCollectionCreateFromDictionary(dict corefoundation.CFDictionaryRef, allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTagCollectionCreateIntersection(tagCollection1 CMTagCollectionRef, tagCollection2 CMTagCollectionRef, ...) int32
- func CMTagCollectionCreateMutable(allocator corefoundation.CFAllocatorRef, capacity int, ...) int32
- func CMTagCollectionCreateMutableCopy(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTagCollectionCreateUnion(tagCollection1 CMTagCollectionRef, tagCollection2 CMTagCollectionRef, ...) int32
- func CMTagCollectionGetCount(tagCollection CMTagCollectionRef) int
- func CMTagCollectionGetCountOfCategory(tagCollection CMTagCollectionRef, category CMTagCategory) int
- func CMTagCollectionGetTags(tagCollection CMTagCollectionRef, tagBuffer *CMTag, tagBufferCount int, ...) int32
- func CMTagCollectionGetTagsWithCategory(tagCollection CMTagCollectionRef, category CMTagCategory, tagBuffer *CMTag, ...) int32
- func CMTagCollectionGetTagsWithFilterFunction(tagCollection CMTagCollectionRef, tagBuffer *CMTag, tagBufferCount int, ...) int32
- func CMTagCollectionGetTypeID() uint
- func CMTagCollectionIsEmpty(tagCollection CMTagCollectionRef) bool
- func CMTagCollectionRemoveAllTags(tagCollection CMMutableTagCollectionRef) int32
- func CMTagCollectionRemoveAllTagsOfCategory(tagCollection CMMutableTagCollectionRef, category CMTagCategory) int32
- func CMTagCollectionRemoveTag(tagCollection CMMutableTagCollectionRef, tagToRemove CMTag) int32
- func CMTagCompare(tag1 CMTag, tag2 CMTag) corefoundation.CFComparisonResult
- func CMTagCopyAsDictionary(tag CMTag, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
- func CMTagCopyDescription(allocator corefoundation.CFAllocatorRef, tag CMTag) corefoundation.CFStringRef
- func CMTagEqualToTag(tag1 CMTag, tag2 CMTag) bool
- func CMTagGetFlagsValue(tag CMTag) uint64
- func CMTagGetFloat64Value(tag CMTag) float64
- func CMTagGetOSTypeValue(tag CMTag) uint32
- func CMTagGetSInt64Value(tag CMTag) int64
- func CMTagHasFlagsValue(tag CMTag) bool
- func CMTagHasFloat64Value(tag CMTag) bool
- func CMTagHasOSTypeValue(tag CMTag) bool
- func CMTagHasSInt64Value(tag CMTag) bool
- func CMTagHash(tag CMTag) uint
- func CMTaggedBufferGroupCreate(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTaggedBufferGroupCreateCombined(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroupWithExtensions(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup(desc CMTaggedBufferGroupFormatDescriptionRef, ...) bool
- func CMTaggedBufferGroupGetCMSampleBufferAtIndex(group CMTaggedBufferGroupRef, index int) uintptr
- func CMTaggedBufferGroupGetCMSampleBufferForTag(group CMTaggedBufferGroupRef, tag CMTag, indexOut *int) uintptr
- func CMTaggedBufferGroupGetCMSampleBufferForTagCollection(group CMTaggedBufferGroupRef, tagCollection CMTagCollectionRef, indexOut *int) uintptr
- func CMTaggedBufferGroupGetCVPixelBufferAtIndex(group CMTaggedBufferGroupRef, index int) corevideo.CVPixelBufferRef
- func CMTaggedBufferGroupGetCVPixelBufferForTag(group CMTaggedBufferGroupRef, tag CMTag, indexOut *int) corevideo.CVPixelBufferRef
- func CMTaggedBufferGroupGetCVPixelBufferForTagCollection(group CMTaggedBufferGroupRef, tagCollection CMTagCollectionRef, indexOut *int) corevideo.CVPixelBufferRef
- func CMTaggedBufferGroupGetCount(group CMTaggedBufferGroupRef) int
- func CMTaggedBufferGroupGetNumberOfMatchesForTagCollection(group CMTaggedBufferGroupRef, tagCollection CMTagCollectionRef) int
- func CMTaggedBufferGroupGetTypeID() uint
- func CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, textDescriptionBlockBuffer uintptr, ...) int32
- func CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData(allocator corefoundation.CFAllocatorRef, textDescriptionData *uint8, ...) int32
- func CMTextFormatDescriptionGetDefaultStyle(desc uintptr, localFontIDOut *uint16, boldOut *bool, italicOut *bool, ...) int32
- func CMTextFormatDescriptionGetDefaultTextBox(desc uintptr, originIsAtTopLeft bool, heightOfTextTrack float64, ...) int32
- func CMTextFormatDescriptionGetDisplayFlags(desc uintptr, displayFlagsOut *CMTextDisplayFlags) int32
- func CMTextFormatDescriptionGetFontName(desc uintptr, localFontID uint16, fontNameOut *corefoundation.CFStringRef) int32
- func CMTextFormatDescriptionGetJustification(desc uintptr, horizontaJustificationlOut *CMTextJustificationValue, ...) int32
- func CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTimeCodeFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData(allocator corefoundation.CFAllocatorRef, timeCodeDescriptionData *uint8, ...) int32
- func CMTimeCodeFormatDescriptionGetFrameQuanta(timeCodeFormatDescription CMTimeCodeFormatDescriptionRef) uint32
- func CMTimeCodeFormatDescriptionGetTimeCodeFlags(desc CMTimeCodeFormatDescriptionRef) uint32
- func CMTimeCompare(time1 CMTime, time2 CMTime) int32
- func CMTimeCopyAsDictionary(time CMTime, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
- func CMTimeCopyDescription(allocator corefoundation.CFAllocatorRef, time CMTime) corefoundation.CFStringRef
- func CMTimeGetSeconds(time CMTime) float64
- func CMTimeMappingCopyAsDictionary(mapping CMTimeMapping, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
- func CMTimeMappingCopyDescription(allocator corefoundation.CFAllocatorRef, mapping CMTimeMapping) corefoundation.CFStringRef
- func CMTimeMappingShow(mapping CMTimeMapping)
- func CMTimeRangeContainsTime(range_ CMTimeRange, time CMTime) bool
- func CMTimeRangeContainsTimeRange(range_ CMTimeRange, otherRange CMTimeRange) bool
- func CMTimeRangeCopyAsDictionary(range_ CMTimeRange, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
- func CMTimeRangeCopyDescription(allocator corefoundation.CFAllocatorRef, range_ CMTimeRange) corefoundation.CFStringRef
- func CMTimeRangeEqual(range1 CMTimeRange, range2 CMTimeRange) bool
- func CMTimeRangeShow(range_ CMTimeRange)
- func CMTimeShow(time CMTime)
- func CMTimebaseAddTimer(timebase uintptr, timer corefoundation.CFRunLoopTimerRef, ...) int32
- func CMTimebaseAddTimerDispatchSource(timebase uintptr, timerSource dispatch.Source) int32
- func CMTimebaseCopySourceClock(timebase uintptr) uintptr
- func CMTimebaseCopySourceTimebase(timebase uintptr) uintptr
- func CMTimebaseCopyUltimateSourceClock(timebase uintptr) uintptr
- func CMTimebaseCreateWithSourceClock(allocator corefoundation.CFAllocatorRef, sourceClock uintptr, ...) int32
- func CMTimebaseCreateWithSourceTimebase(allocator corefoundation.CFAllocatorRef, sourceTimebase uintptr, ...) int32
- func CMTimebaseGetEffectiveRate(timebase uintptr) float64
- func CMTimebaseGetRate(timebase uintptr) float64
- func CMTimebaseGetTimeAndRate(timebase uintptr, timeOut *CMTime, rateOut *float64) int32
- func CMTimebaseGetTypeID() uint
- func CMTimebaseNotificationBarrier(timebase uintptr) int32
- func CMTimebaseRemoveTimer(timebase uintptr, timer corefoundation.CFRunLoopTimerRef) int32
- func CMTimebaseRemoveTimerDispatchSource(timebase uintptr, timerSource dispatch.Source) int32
- func CMTimebaseSetAnchorTime(timebase uintptr, timebaseTime CMTime, immediateSourceTime CMTime) int32
- func CMTimebaseSetRate(timebase uintptr, rate float64) int32
- func CMTimebaseSetRateAndAnchorTime(timebase uintptr, rate float64, timebaseTime CMTime, ...) int32
- func CMTimebaseSetSourceClock(timebase uintptr, newSourceClock uintptr) int32
- func CMTimebaseSetSourceTimebase(timebase uintptr, newSourceTimebase uintptr) int32
- func CMTimebaseSetTime(timebase uintptr, time CMTime) int32
- func CMTimebaseSetTimerDispatchSourceNextFireTime(timebase uintptr, timerSource dispatch.Source, fireTime CMTime, flags uint32) int32
- func CMTimebaseSetTimerDispatchSourceToFireImmediately(timebase uintptr, timerSource dispatch.Source) int32
- func CMTimebaseSetTimerNextFireTime(timebase uintptr, timer corefoundation.CFRunLoopTimerRef, fireTime CMTime, ...) int32
- func CMTimebaseSetTimerToFireImmediately(timebase uintptr, timer corefoundation.CFRunLoopTimerRef) int32
- func CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, videoFormatDescription uintptr, ...) int32
- func CMVideoFormatDescriptionCopyTagCollectionArray(formatDescription uintptr, tagCollectionsOut *corefoundation.CFArrayRef) int32
- func CMVideoFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, codecType CMVideoCodecType, ...) int32
- func CMVideoFormatDescriptionCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, ...) int32
- func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, imageDescriptionBlockBuffer uintptr, ...) int32
- func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData(allocator corefoundation.CFAllocatorRef, imageDescriptionData *uint8, ...) int32
- func CMVideoFormatDescriptionCreateFromH264ParameterSets(allocator corefoundation.CFAllocatorRef, parameterSetCount uintptr, ...) int32
- func CMVideoFormatDescriptionCreateFromHEVCParameterSets(allocator corefoundation.CFAllocatorRef, parameterSetCount uintptr, ...) int32
- func CMVideoFormatDescriptionGetCleanAperture(videoDesc uintptr, originIsAtTopLeft bool) corefoundation.CGRect
- func CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers() corefoundation.CFArrayRef
- func CMVideoFormatDescriptionGetH264ParameterSetAtIndex(videoDesc uintptr, parameterSetIndex uintptr, parameterSetPointerOut *uint8, ...) int32
- func CMVideoFormatDescriptionGetHEVCParameterSetAtIndex(videoDesc uintptr, parameterSetIndex uintptr, parameterSetPointerOut *uint8, ...) int32
- func CMVideoFormatDescriptionGetPresentationDimensions(videoDesc uintptr, usePixelAspectRatio bool, useCleanAperture bool) corefoundation.CGSize
- func CMVideoFormatDescriptionMatchesImageBuffer(desc uintptr, imageBuffer corevideo.CVImageBufferRef) bool
- type CMAttachmentBearerRef
- type CMAttachmentMode
- type CMAudioCodecType
- type CMAudioFormatDescriptionMask
- type CMAudioFormatDescriptionRef
- type CMBaseClassVersion
- type CMBlockBufferCustomBlockSource
- type CMBlockBufferFlags
- type CMBlockBufferRef
- type CMBufferCallbacks
- type CMBufferCompareCallback
- type CMBufferCompareHandler
- type CMBufferGetBooleanCallback
- type CMBufferGetBooleanHandler
- type CMBufferGetSizeCallback
- type CMBufferGetSizeHandler
- type CMBufferGetTimeCallback
- type CMBufferGetTimeHandler
- type CMBufferHandlers
- type CMBufferQueueRef
- type CMBufferQueueTriggerCallback
- type CMBufferQueueTriggerCondition
- type CMBufferQueueTriggerHandler
- type CMBufferQueueTriggerToken
- type CMBufferRef
- type CMBufferValidationCallback
- type CMBufferValidationHandler
- type CMClockOrTimebaseRef
- type CMClockRef
- type CMClosedCaptionDescriptionFlavor
- type CMClosedCaptionFormatDescriptionRef
- type CMClosedCaptionFormatType
- type CMFormatDescriptionRef
- type CMImageDescriptionFlavor
- type CMItemCount
- type CMItemIndex
- type CMMediaType
- type CMMemoryPoolRef
- type CMMetadataDescriptionFlavor
- type CMMetadataFormatDescriptionRef
- type CMMetadataFormatType
- type CMMutableTagCollectionRef
- type CMMuxedFormatDescriptionRef
- type CMMuxedStreamType
- type CMPackingType
- type CMPersistentTrackID
- type CMPixelFormatType
- type CMProjectionType
- type CMSampleBufferInvalidateCallback
- type CMSampleBufferInvalidateHandler
- type CMSampleBufferMakeDataReadyCallback
- type CMSampleBufferMakeDataReadyHandler
- type CMSampleBufferRef
- type CMSampleTimingInfo
- type CMSimpleQueueRef
- type CMSoundDescriptionFlavor
- type CMStereoViewComponents
- type CMStereoViewInterpretationOptions
- type CMStructVersion
- type CMSubtitleFormatType
- type CMTag
- func CMTagCollectionApplyUntil(tagCollection CMTagCollectionRef, applier CMTagCollectionTagFilterFunction, ...) CMTag
- func CMTagMakeFromDictionary(dict corefoundation.CFDictionaryRef) CMTag
- func CMTagMakeWithFlagsValue(category CMTagCategory, flagsForTag uint64) CMTag
- func CMTagMakeWithFloat64Value(category CMTagCategory, value float64) CMTag
- func CMTagMakeWithOSTypeValue(category CMTagCategory, value uint32) CMTag
- func CMTagMakeWithSInt64Value(category CMTagCategory, value int64) CMTag
- type CMTagCategory
- type CMTagCollectionApplierFunction
- type CMTagCollectionError
- type CMTagCollectionRef
- type CMTagCollectionTagFilterFunction
- type CMTagDataType
- type CMTagError
- type CMTagValue
- type CMTaggedBufferGroupError
- type CMTaggedBufferGroupFormatDescriptionRef
- type CMTaggedBufferGroupFormatType
- type CMTaggedBufferGroupRef
- type CMTextDescriptionFlavor
- type CMTextDisplayFlags
- type CMTextFormatDescriptionRef
- type CMTextFormatType
- type CMTextJustificationValue
- type CMTime
- func CMBufferQueueGetDuration(queue uintptr) CMTime
- func CMBufferQueueGetEndPresentationTimeStamp(queue uintptr) CMTime
- func CMBufferQueueGetFirstDecodeTimeStamp(queue uintptr) CMTime
- func CMBufferQueueGetFirstPresentationTimeStamp(queue uintptr) CMTime
- func CMBufferQueueGetMaxPresentationTimeStamp(queue uintptr) CMTime
- func CMBufferQueueGetMinDecodeTimeStamp(queue uintptr) CMTime
- func CMBufferQueueGetMinPresentationTimeStamp(queue uintptr) CMTime
- func CMClockGetTime(clock uintptr) CMTime
- func CMClockMakeHostTimeFromSystemUnits(hostTime uint64) CMTime
- func CMSampleBufferGetDecodeTimeStamp(sbuf uintptr) CMTime
- func CMSampleBufferGetDuration(sbuf uintptr) CMTime
- func CMSampleBufferGetOutputDecodeTimeStamp(sbuf uintptr) CMTime
- func CMSampleBufferGetOutputDuration(sbuf uintptr) CMTime
- func CMSampleBufferGetOutputPresentationTimeStamp(sbuf uintptr) CMTime
- func CMSampleBufferGetPresentationTimeStamp(sbuf uintptr) CMTime
- func CMSyncConvertTime(time CMTime, fromClockOrTimebase CMClockOrTimebaseRef, ...) CMTime
- func CMSyncGetTime(clockOrTimebase CMClockOrTimebaseRef) CMTime
- func CMTimeAbsoluteValue(time CMTime) CMTime
- func CMTimeAdd(lhs CMTime, rhs CMTime) CMTime
- func CMTimeClampToRange(time CMTime, range_ CMTimeRange) CMTime
- func CMTimeCodeFormatDescriptionGetFrameDuration(timeCodeFormatDescription CMTimeCodeFormatDescriptionRef) CMTime
- func CMTimeConvertScale(time CMTime, newTimescale int32, method CMTimeRoundingMethod) CMTime
- func CMTimeFoldIntoRange(time CMTime, foldRange CMTimeRange) CMTime
- func CMTimeMake(value int64, timescale int32) CMTime
- func CMTimeMakeFromDictionary(dictionaryRepresentation corefoundation.CFDictionaryRef) CMTime
- func CMTimeMakeWithEpoch(value int64, timescale int32, epoch int64) CMTime
- func CMTimeMakeWithSeconds(seconds float64, preferredTimescale int32) CMTime
- func CMTimeMapDurationFromRangeToRange(dur CMTime, fromRange CMTimeRange, toRange CMTimeRange) CMTime
- func CMTimeMapTimeFromRangeToRange(t CMTime, fromRange CMTimeRange, toRange CMTimeRange) CMTime
- func CMTimeMaximum(time1 CMTime, time2 CMTime) CMTime
- func CMTimeMinimum(time1 CMTime, time2 CMTime) CMTime
- func CMTimeMultiply(time CMTime, multiplier int32) CMTime
- func CMTimeMultiplyByFloat64(time CMTime, multiplier float64) CMTime
- func CMTimeMultiplyByRatio(time CMTime, multiplier int32, divisor int32) CMTime
- func CMTimeRangeGetEnd(range_ CMTimeRange) CMTime
- func CMTimeSubtract(lhs CMTime, rhs CMTime) CMTime
- func CMTimebaseGetTime(timebase uintptr) CMTime
- func CMTimebaseGetTimeWithTimeScale(timebase uintptr, timescale int32, method CMTimeRoundingMethod) CMTime
- type CMTimeCodeDescriptionFlavor
- type CMTimeCodeFormatDescriptionRef
- type CMTimeCodeFormatType
- type CMTimeEpoch
- type CMTimeFlags
- type CMTimeMapping
- type CMTimeRange
- func CMTimeRangeFromTimeToTime(start CMTime, end CMTime) CMTimeRange
- func CMTimeRangeGetIntersection(range_ CMTimeRange, otherRange CMTimeRange) CMTimeRange
- func CMTimeRangeGetUnion(range_ CMTimeRange, otherRange CMTimeRange) CMTimeRange
- func CMTimeRangeMake(start CMTime, duration CMTime) CMTimeRange
- func CMTimeRangeMakeFromDictionary(dictionaryRepresentation corefoundation.CFDictionaryRef) CMTimeRange
- type CMTimeRoundingMethod
- type CMTimeScale
- type CMTimeValue
- type CMTimebaseRef
- type CMVideoCodecType
- type CMVideoDimensions
- type CMVideoFormatDescriptionRef
- type KCMAudioFormatDescriptionMask
- type KCMBlockBuffer
- type KCMBufferQueueError
- type KCMClockError
- type KCMClosedCaptionFormatType
- type KCMFormatDescriptionBridgeError
- type KCMFormatDescriptionError
- type KCMMPEG2VideoProfile
- type KCMMediaType
- type KCMMemoryPoolError
- type KCMMetadataDataTypeRegistryError
- type KCMMetadataFormatType
- type KCMMetadataIdentifierError
- type KCMMuxedStreamType
- type KCMPixelFormat
- type KCMSampleBufferError
- type KCMSimpleQueueError
- type KCMSubtitleFormatType
- type KCMSyncError
- type KCMTextDisplayFlag
- type KCMTextFormatType
- type KCMTextJustification
- type KCMTimeCodeFlag
- type KCMTimeCodeFormatType
- type KCMTimebaseError
- type KCMVideoCodecType
- type KcmattachmentmodeShould
- type KcmaudiocodectypeAac
- type KcmbufferqueuetriggerWhen
- type KcmmediatypeAuxiliarypicture
- type KcmpersistenttrackidInvalid
- type KcmsamplebufferflagAudiobufferlistAssure16bytealignment
- type KcmtaggedbuffergroupformattypeTaggedbuffergroup
Constants ¶
const KCMBlockBufferCustomBlockSourceVersion uint = 0
Variables ¶
var ( // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionAlphaChannelMode_PremultipliedAlpha KCMFormatDescriptionAlphaChannelMode_PremultipliedAlpha string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionAlphaChannelMode_StraightAlpha KCMFormatDescriptionAlphaChannelMode_StraightAlpha string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibrationExtrinsicOriginSource_StereoCameraSystemBaseline KCMFormatDescriptionCameraCalibrationExtrinsicOriginSource_StereoCameraSystemBaseline string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibrationLensAlgorithmKind_ParametricLens KCMFormatDescriptionCameraCalibrationLensAlgorithmKind_ParametricLens string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibrationLensDomain_Color KCMFormatDescriptionCameraCalibrationLensDomain_Color string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibrationLensRole_Left KCMFormatDescriptionCameraCalibrationLensRole_Left string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibrationLensRole_Mono KCMFormatDescriptionCameraCalibrationLensRole_Mono string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibrationLensRole_Right KCMFormatDescriptionCameraCalibrationLensRole_Right string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_ExtrinsicOrientationQuaternion KCMFormatDescriptionCameraCalibration_ExtrinsicOrientationQuaternion string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_ExtrinsicOriginSource KCMFormatDescriptionCameraCalibration_ExtrinsicOriginSource string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_IntrinsicMatrix KCMFormatDescriptionCameraCalibration_IntrinsicMatrix string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_IntrinsicMatrixProjectionOffset KCMFormatDescriptionCameraCalibration_IntrinsicMatrixProjectionOffset string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_IntrinsicMatrixReferenceDimensions KCMFormatDescriptionCameraCalibration_IntrinsicMatrixReferenceDimensions string // KCMFormatDescriptionCameraCalibration_LensAlgorithmKind is the following keys are required in each kCMFormatDescriptionExtension_CameraCalibrationDataLensCollection dictionary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensAlgorithmKind KCMFormatDescriptionCameraCalibration_LensAlgorithmKind string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensDistortions KCMFormatDescriptionCameraCalibration_LensDistortions string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensDomain KCMFormatDescriptionCameraCalibration_LensDomain string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensFrameAdjustmentsPolynomialX KCMFormatDescriptionCameraCalibration_LensFrameAdjustmentsPolynomialX string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensFrameAdjustmentsPolynomialY KCMFormatDescriptionCameraCalibration_LensFrameAdjustmentsPolynomialY string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensIdentifier KCMFormatDescriptionCameraCalibration_LensIdentifier string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_LensRole KCMFormatDescriptionCameraCalibration_LensRole string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionCameraCalibration_RadialAngleLimit KCMFormatDescriptionCameraCalibration_RadialAngleLimit string // KCMFormatDescriptionChromaLocation_Bottom is the chroma sample is horizontally centered, but co-sited with the bottom row of the luma samples. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_Bottom-swift.var KCMFormatDescriptionChromaLocation_Bottom string // KCMFormatDescriptionChromaLocation_BottomLeft is the chroma sample is co-sited with the bottom-left luma sample. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_BottomLeft-swift.var KCMFormatDescriptionChromaLocation_BottomLeft string // KCMFormatDescriptionChromaLocation_Center is the chroma sample is fully centered. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_Center-swift.var KCMFormatDescriptionChromaLocation_Center string // KCMFormatDescriptionChromaLocation_DV420 is the Cr and Cb samples are alternately co-sited with the left luma samples of the same field. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_DV420-swift.var KCMFormatDescriptionChromaLocation_DV420 string // KCMFormatDescriptionChromaLocation_Left is the chroma sample is horizontally co-sited with the left column of the luma samples, but centered vertically. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_Left-swift.var KCMFormatDescriptionChromaLocation_Left string // KCMFormatDescriptionChromaLocation_Top is the chroma sample is horizontally centered, but co-sited with the top row of the luma samples. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_Top-swift.var KCMFormatDescriptionChromaLocation_Top string // KCMFormatDescriptionChromaLocation_TopLeft is the chroma sample is co-sited with the top-left luma sample. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionChromaLocation_TopLeft-swift.var KCMFormatDescriptionChromaLocation_TopLeft string // KCMFormatDescriptionColorPrimaries_DCI_P3 is a format that describes the DCI P3 color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_DCI_P3 KCMFormatDescriptionColorPrimaries_DCI_P3 string // KCMFormatDescriptionColorPrimaries_EBU_3213 is a format that describes the EBU 3213 color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_EBU_3213-swift.var KCMFormatDescriptionColorPrimaries_EBU_3213 string // KCMFormatDescriptionColorPrimaries_ITU_R_2020 is a format that describes the ITU R 2020 color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_ITU_R_2020 KCMFormatDescriptionColorPrimaries_ITU_R_2020 string // KCMFormatDescriptionColorPrimaries_ITU_R_709_2 is a format that describes the ITU R 709 2 color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_ITU_R_709_2-swift.var KCMFormatDescriptionColorPrimaries_ITU_R_709_2 string // KCMFormatDescriptionColorPrimaries_P22 is a format that describes the P22 color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_P22 KCMFormatDescriptionColorPrimaries_P22 string // KCMFormatDescriptionColorPrimaries_P3_D65 is a format that describes the P3 D65 color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_P3_D65 KCMFormatDescriptionColorPrimaries_P3_D65 string // KCMFormatDescriptionColorPrimaries_SMPTE_C is a format that describes the SMPTE C color primary. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionColorPrimaries_SMPTE_C-swift.var KCMFormatDescriptionColorPrimaries_SMPTE_C string // KCMFormatDescriptionConformsToMPEG2VideoProfile is the value is a number that specifies the MPEG2 video profile. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionConformsToMPEG2VideoProfile KCMFormatDescriptionConformsToMPEG2VideoProfile string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtensionKey_MetadataKeyTable KCMFormatDescriptionExtensionKey_MetadataKeyTable string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_AlphaChannelMode KCMFormatDescriptionExtension_AlphaChannelMode string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_AlternativeTransferCharacteristics KCMFormatDescriptionExtension_AlternativeTransferCharacteristics string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_AmbientViewingEnvironment KCMFormatDescriptionExtension_AmbientViewingEnvironment string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_AuxiliaryTypeInfo KCMFormatDescriptionExtension_AuxiliaryTypeInfo string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_BitsPerComponent KCMFormatDescriptionExtension_BitsPerComponent string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_BytesPerRow KCMFormatDescriptionExtension_BytesPerRow string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_CameraCalibrationDataLensCollection KCMFormatDescriptionExtension_CameraCalibrationDataLensCollection string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ChromaLocationBottomField-swift.var KCMFormatDescriptionExtension_ChromaLocationBottomField string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ChromaLocationTopField-swift.var KCMFormatDescriptionExtension_ChromaLocationTopField string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_CleanAperture-swift.var KCMFormatDescriptionExtension_CleanAperture string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ColorPrimaries-swift.var KCMFormatDescriptionExtension_ColorPrimaries string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ContainsAlphaChannel KCMFormatDescriptionExtension_ContainsAlphaChannel string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ContentColorVolume KCMFormatDescriptionExtension_ContentColorVolume string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ContentLightLevelInfo KCMFormatDescriptionExtension_ContentLightLevelInfo string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ConvertedFromExternalSphericalTags KCMFormatDescriptionExtension_ConvertedFromExternalSphericalTags string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_Depth KCMFormatDescriptionExtension_Depth string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_FieldCount-swift.var KCMFormatDescriptionExtension_FieldCount string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_FieldDetail-swift.var KCMFormatDescriptionExtension_FieldDetail string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_FormatName KCMFormatDescriptionExtension_FormatName string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_FullRangeVideo KCMFormatDescriptionExtension_FullRangeVideo string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_GammaLevel-swift.var KCMFormatDescriptionExtension_GammaLevel string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_HasAdditionalViews KCMFormatDescriptionExtension_HasAdditionalViews string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_HasLeftStereoEyeView KCMFormatDescriptionExtension_HasLeftStereoEyeView string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_HasRightStereoEyeView KCMFormatDescriptionExtension_HasRightStereoEyeView string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_HeroEye KCMFormatDescriptionExtension_HeroEye string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_HorizontalDisparityAdjustment KCMFormatDescriptionExtension_HorizontalDisparityAdjustment string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_HorizontalFieldOfView KCMFormatDescriptionExtension_HorizontalFieldOfView string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ICCProfile KCMFormatDescriptionExtension_ICCProfile string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_LogTransferFunction KCMFormatDescriptionExtension_LogTransferFunction string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_MasteringDisplayColorVolume KCMFormatDescriptionExtension_MasteringDisplayColorVolume string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_OriginalCompressionSettings KCMFormatDescriptionExtension_OriginalCompressionSettings string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_PixelAspectRatio-swift.var KCMFormatDescriptionExtension_PixelAspectRatio string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ProjectionKind KCMFormatDescriptionExtension_ProjectionKind string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ProtectedContentOriginalFormat KCMFormatDescriptionExtension_ProtectedContentOriginalFormat string // KCMFormatDescriptionExtension_RevisionLevel is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_RevisionLevel KCMFormatDescriptionExtension_RevisionLevel string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms KCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms string // KCMFormatDescriptionExtension_SpatialQuality is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_SpatialQuality KCMFormatDescriptionExtension_SpatialQuality string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_StereoCameraBaseline KCMFormatDescriptionExtension_StereoCameraBaseline string // KCMFormatDescriptionExtension_TemporalQuality is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_TemporalQuality KCMFormatDescriptionExtension_TemporalQuality string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_TransferFunction-swift.var KCMFormatDescriptionExtension_TransferFunction string // KCMFormatDescriptionExtension_Vendor is the value is a string of four character codes. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_Vendor KCMFormatDescriptionExtension_Vendor string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_VerbatimISOSampleEntry KCMFormatDescriptionExtension_VerbatimISOSampleEntry string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_VerbatimImageDescription-swift.var KCMFormatDescriptionExtension_VerbatimImageDescription string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_VerbatimSampleDescription KCMFormatDescriptionExtension_VerbatimSampleDescription string // KCMFormatDescriptionExtension_Version is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_Version KCMFormatDescriptionExtension_Version string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_ViewPackingKind KCMFormatDescriptionExtension_ViewPackingKind string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionExtension_YCbCrMatrix-swift.var KCMFormatDescriptionExtension_YCbCrMatrix string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionFieldDetail_SpatialFirstLineEarly-swift.var KCMFormatDescriptionFieldDetail_SpatialFirstLineEarly string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionFieldDetail_SpatialFirstLineLate-swift.var KCMFormatDescriptionFieldDetail_SpatialFirstLineLate string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionFieldDetail_TemporalBottomFirst-swift.var KCMFormatDescriptionFieldDetail_TemporalBottomFirst string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionFieldDetail_TemporalTopFirst-swift.var KCMFormatDescriptionFieldDetail_TemporalTopFirst string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionHeroEye_Left KCMFormatDescriptionHeroEye_Left string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionHeroEye_Right KCMFormatDescriptionHeroEye_Right string // KCMFormatDescriptionKey_CleanApertureHeight is a key that identifies the clean aperture height value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureHeight-swift.var KCMFormatDescriptionKey_CleanApertureHeight string // KCMFormatDescriptionKey_CleanApertureHeightRational is a key that identifies the clean aperture height rational value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureHeightRational KCMFormatDescriptionKey_CleanApertureHeightRational string // KCMFormatDescriptionKey_CleanApertureHorizontalOffset is a key that describes the clean aperture height horizontal offset value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureHorizontalOffset-swift.var KCMFormatDescriptionKey_CleanApertureHorizontalOffset string // KCMFormatDescriptionKey_CleanApertureHorizontalOffsetRational is a key that identifies the clean aperture horizontal offset rational value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureHorizontalOffsetRational KCMFormatDescriptionKey_CleanApertureHorizontalOffsetRational string // KCMFormatDescriptionKey_CleanApertureVerticalOffset is a key that identifies the clean aperture vertical offset value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureVerticalOffset-swift.var KCMFormatDescriptionKey_CleanApertureVerticalOffset string // KCMFormatDescriptionKey_CleanApertureVerticalOffsetRational is a key that identifies the clean aperture vertical offset rational value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureVerticalOffsetRational KCMFormatDescriptionKey_CleanApertureVerticalOffsetRational string // KCMFormatDescriptionKey_CleanApertureWidth is a key that identifies the clean aperture width value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureWidth-swift.var KCMFormatDescriptionKey_CleanApertureWidth string // KCMFormatDescriptionKey_CleanApertureWidthRational is a key that identifies the clean aperture width rational value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_CleanApertureWidthRational KCMFormatDescriptionKey_CleanApertureWidthRational string // KCMFormatDescriptionKey_PixelAspectRatioHorizontalSpacing is a key that identifies the horizontal spacing of the pixel aspect ratio. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_PixelAspectRatioHorizontalSpacing-swift.var KCMFormatDescriptionKey_PixelAspectRatioHorizontalSpacing string // KCMFormatDescriptionKey_PixelAspectRatioVerticalSpacing is a key that identifies the vertical spacing of the pixel aspect ratio. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionKey_PixelAspectRatioVerticalSpacing-swift.var KCMFormatDescriptionKey_PixelAspectRatioVerticalSpacing string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionLogTransferFunction_AppleLog KCMFormatDescriptionLogTransferFunction_AppleLog string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionProjectionKind_AppleImmersiveVideo KCMFormatDescriptionProjectionKind_AppleImmersiveVideo string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionProjectionKind_Equirectangular KCMFormatDescriptionProjectionKind_Equirectangular string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionProjectionKind_HalfEquirectangular KCMFormatDescriptionProjectionKind_HalfEquirectangular string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionProjectionKind_ParametricImmersive KCMFormatDescriptionProjectionKind_ParametricImmersive string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionProjectionKind_Rectilinear KCMFormatDescriptionProjectionKind_Rectilinear string // KCMFormatDescriptionTransferFunction_ITU_R_2020 is a constant that describes the ITU R 2020 transfer function format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_ITU_R_2020 KCMFormatDescriptionTransferFunction_ITU_R_2020 string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_ITU_R_2100_HLG KCMFormatDescriptionTransferFunction_ITU_R_2100_HLG string // KCMFormatDescriptionTransferFunction_ITU_R_709_2 is a constant that describes the ITU R 709 2 transfer function format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_ITU_R_709_2-swift.var KCMFormatDescriptionTransferFunction_ITU_R_709_2 string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_Linear KCMFormatDescriptionTransferFunction_Linear string // KCMFormatDescriptionTransferFunction_SMPTE_240M_1995 is a constant that describes the SMPTE 240M 1995 transfer function format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_SMPTE_240M_1995-swift.var KCMFormatDescriptionTransferFunction_SMPTE_240M_1995 string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ KCMFormatDescriptionTransferFunction_SMPTE_ST_2084_PQ string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_SMPTE_ST_428_1 KCMFormatDescriptionTransferFunction_SMPTE_ST_428_1 string // KCMFormatDescriptionTransferFunction_UseGamma is a constant that describes the gamma transfer function format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_UseGamma-swift.var KCMFormatDescriptionTransferFunction_UseGamma string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionTransferFunction_sRGB KCMFormatDescriptionTransferFunction_sRGB string // KCMFormatDescriptionVendor_Apple is a string that speicifies Apple as the vendor. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionVendor_Apple KCMFormatDescriptionVendor_Apple string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionViewPackingKind_OverUnder KCMFormatDescriptionViewPackingKind_OverUnder string // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionViewPackingKind_SideBySide KCMFormatDescriptionViewPackingKind_SideBySide string // KCMFormatDescriptionYCbCrMatrix_ITU_R_2020 is a constant describing the YCbCrMatrix ITU R 2020 format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionYCbCrMatrix_ITU_R_2020 KCMFormatDescriptionYCbCrMatrix_ITU_R_2020 string // KCMFormatDescriptionYCbCrMatrix_ITU_R_601_4 is a constant describing the YCbCrMatrix ITU R 601 4 format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionYCbCrMatrix_ITU_R_601_4-swift.var KCMFormatDescriptionYCbCrMatrix_ITU_R_601_4 string // KCMFormatDescriptionYCbCrMatrix_ITU_R_709_2 is a constant describing the YCbCrMatrix ITU R 709 2 format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionYCbCrMatrix_ITU_R_709_2-swift.var KCMFormatDescriptionYCbCrMatrix_ITU_R_709_2 string // KCMFormatDescriptionYCbCrMatrix_SMPTE_240M_1995 is a constant describing the YCbCrMatrix SMPTE 240M 1995 format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMFormatDescriptionYCbCrMatrix_SMPTE_240M_1995-swift.var KCMFormatDescriptionYCbCrMatrix_SMPTE_240M_1995 string // KCMHEVCTemporalLevelInfoKey_ConstraintIndicatorFlags is the value is a 6 byte data value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_ConstraintIndicatorFlags KCMHEVCTemporalLevelInfoKey_ConstraintIndicatorFlags string // KCMHEVCTemporalLevelInfoKey_LevelIndex is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_LevelIndex KCMHEVCTemporalLevelInfoKey_LevelIndex string // KCMHEVCTemporalLevelInfoKey_ProfileCompatibilityFlags is the value is a 4 byte data value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_ProfileCompatibilityFlags KCMHEVCTemporalLevelInfoKey_ProfileCompatibilityFlags string // KCMHEVCTemporalLevelInfoKey_ProfileIndex is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_ProfileIndex KCMHEVCTemporalLevelInfoKey_ProfileIndex string // KCMHEVCTemporalLevelInfoKey_ProfileSpace is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_ProfileSpace KCMHEVCTemporalLevelInfoKey_ProfileSpace string // KCMHEVCTemporalLevelInfoKey_TemporalLevel is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_TemporalLevel KCMHEVCTemporalLevelInfoKey_TemporalLevel string // KCMHEVCTemporalLevelInfoKey_TierFlag is the value is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMHEVCTemporalLevelInfoKey_TierFlag KCMHEVCTemporalLevelInfoKey_TierFlag string // KCMMemoryPoolOption_AgeOutPeriod is the period of time before the pool recycles its memory. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMemoryPoolOption_AgeOutPeriod KCMMemoryPoolOption_AgeOutPeriod string // KCMMetadataBaseDataType_AffineTransformF64 is a type that identifies a 3x3 matrix of 64-bit big endian floating point numbers in a row-major order that specify an affine transform. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_AffineTransformF64 KCMMetadataBaseDataType_AffineTransformF64 string // KCMMetadataBaseDataType_BMP is bMP image. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_BMP KCMMetadataBaseDataType_BMP string // KCMMetadataBaseDataType_DimensionsF32 is consists of a 32-bit big endian floating point x value followed by a 32-bit floating point y value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_DimensionsF32 KCMMetadataBaseDataType_DimensionsF32 string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_ExtendedRasterRectangleValue KCMMetadataBaseDataType_ExtendedRasterRectangleValue string // KCMMetadataBaseDataType_Float32 is 32-bit big endian floating point number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_Float32 KCMMetadataBaseDataType_Float32 string // KCMMetadataBaseDataType_Float64 is 64-bit big endian floating point number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_Float64 KCMMetadataBaseDataType_Float64 string // KCMMetadataBaseDataType_GIF is gIF image. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_GIF KCMMetadataBaseDataType_GIF string // KCMMetadataBaseDataType_JPEG is jPEG image. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_JPEG KCMMetadataBaseDataType_JPEG string // KCMMetadataBaseDataType_JSON is uTF-8 encoded JSON data. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_JSON KCMMetadataBaseDataType_JSON string // KCMMetadataBaseDataType_PNG is pNG image. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_PNG KCMMetadataBaseDataType_PNG string // KCMMetadataBaseDataType_PerspectiveTransformF64 is a 3x3 matrix of 64-bit big endian floating point numbers the system stores in row-major order that specify a perspective transform. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_PerspectiveTransformF64 KCMMetadataBaseDataType_PerspectiveTransformF64 string // KCMMetadataBaseDataType_PointF32 is consists of two 32-bit big endian floating point values, the x and y values, respectively. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_PointF32 KCMMetadataBaseDataType_PointF32 string // KCMMetadataBaseDataType_PolygonF32 is three or more pairs of 32-bit floating point numbers (x and y values) that define the vertices of a polygon. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_PolygonF32 KCMMetadataBaseDataType_PolygonF32 string // KCMMetadataBaseDataType_PolylineF32 is two or more pairs of 32-bit floating point numbers (x and y values) that define a multi-segmented line. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_PolylineF32 KCMMetadataBaseDataType_PolylineF32 string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_RasterRectangleValue KCMMetadataBaseDataType_RasterRectangleValue string // KCMMetadataBaseDataType_RawData is a sequence of bytes whose interpretation based upon an agreement between the reader and the writer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_RawData KCMMetadataBaseDataType_RawData string // KCMMetadataBaseDataType_RectF32 is consists of four 32-bit big endian floating point values, the origin’s x, origin’s y, width and height values, respectively. May also be interpreted as a 32-bit floating point origin followed by a 32-bit floating point dimension. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_RectF32 KCMMetadataBaseDataType_RectF32 string // KCMMetadataBaseDataType_SInt16 is 16-bit big endian signed integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_SInt16 KCMMetadataBaseDataType_SInt16 string // KCMMetadataBaseDataType_SInt32 is 32-bit big endian signed integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_SInt32 KCMMetadataBaseDataType_SInt32 string // KCMMetadataBaseDataType_SInt64 is 64-bit big endian signed integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_SInt64 KCMMetadataBaseDataType_SInt64 string // KCMMetadataBaseDataType_SInt8 is 8-bit signed integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_SInt8 KCMMetadataBaseDataType_SInt8 string // KCMMetadataBaseDataType_UInt16 is 16-bit big endian unsigned integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_UInt16 KCMMetadataBaseDataType_UInt16 string // KCMMetadataBaseDataType_UInt32 is 32-bit big endian unsigned integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_UInt32 KCMMetadataBaseDataType_UInt32 string // KCMMetadataBaseDataType_UInt64 is 64-bit big endian unsigned integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_UInt64 KCMMetadataBaseDataType_UInt64 string // KCMMetadataBaseDataType_UInt8 is 8-bit unsigned integer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_UInt8 KCMMetadataBaseDataType_UInt8 string // KCMMetadataBaseDataType_UTF16 is uTF-16 string. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_UTF16 KCMMetadataBaseDataType_UTF16 string // KCMMetadataBaseDataType_UTF8 is uTF-8 string. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataBaseDataType_UTF8 KCMMetadataBaseDataType_UTF8 string // KCMMetadataDataType_QuickTimeMetadataDirection is a string supplying degrees offset from magnetic North. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataDataType_QuickTimeMetadataDirection KCMMetadataDataType_QuickTimeMetadataDirection string // KCMMetadataDataType_QuickTimeMetadataLocation_ISO6709 is a string supplying location information in ISO-6709 format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataDataType_QuickTimeMetadataLocation_ISO6709 KCMMetadataDataType_QuickTimeMetadataLocation_ISO6709 string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataDataType_QuickTimeMetadataMilliLux KCMMetadataDataType_QuickTimeMetadataMilliLux string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataDataType_QuickTimeMetadataUUID KCMMetadataDataType_QuickTimeMetadataUUID string // KCMMetadataFormatDescriptionKey_ConformingDataTypes is a key that identifies the conforming data types. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_ConformingDataTypes KCMMetadataFormatDescriptionKey_ConformingDataTypes string // KCMMetadataFormatDescriptionKey_DataType is a key that identifies the data type. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_DataType KCMMetadataFormatDescriptionKey_DataType string // KCMMetadataFormatDescriptionKey_DataTypeNamespace is a key that identifies the data type namespace. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_DataTypeNamespace KCMMetadataFormatDescriptionKey_DataTypeNamespace string // KCMMetadataFormatDescriptionKey_LanguageTag is a key that identifies the language tag. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_LanguageTag KCMMetadataFormatDescriptionKey_LanguageTag string // KCMMetadataFormatDescriptionKey_LocalID is a key that identifies the local identifier. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_LocalID KCMMetadataFormatDescriptionKey_LocalID string // KCMMetadataFormatDescriptionKey_Namespace is a key that identifies the namespace. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_Namespace KCMMetadataFormatDescriptionKey_Namespace string // KCMMetadataFormatDescriptionKey_SetupData is a key that identifies setup data. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_SetupData KCMMetadataFormatDescriptionKey_SetupData string // KCMMetadataFormatDescriptionKey_StructuralDependency is a key that identifies the structural dependency. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_StructuralDependency KCMMetadataFormatDescriptionKey_StructuralDependency string // KCMMetadataFormatDescriptionKey_Value is a key that identifies the value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionKey_Value KCMMetadataFormatDescriptionKey_Value string // KCMMetadataFormatDescriptionMetadataSpecificationKey_DataType is a specification key that identifies the data type. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionMetadataSpecificationKey_DataType KCMMetadataFormatDescriptionMetadataSpecificationKey_DataType string // KCMMetadataFormatDescriptionMetadataSpecificationKey_ExtendedLanguageTag is a specification key that identifies the extended language tag. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionMetadataSpecificationKey_ExtendedLanguageTag KCMMetadataFormatDescriptionMetadataSpecificationKey_ExtendedLanguageTag string // KCMMetadataFormatDescriptionMetadataSpecificationKey_Identifier is a specification key that identifies the identifier. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionMetadataSpecificationKey_Identifier KCMMetadataFormatDescriptionMetadataSpecificationKey_Identifier string // KCMMetadataFormatDescriptionMetadataSpecificationKey_SetupData is a specification key that identifies the setup data. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionMetadataSpecificationKey_SetupData KCMMetadataFormatDescriptionMetadataSpecificationKey_SetupData string // KCMMetadataFormatDescriptionMetadataSpecificationKey_StructuralDependency is a specification key that identifies dependencies. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescriptionMetadataSpecificationKey_StructuralDependency KCMMetadataFormatDescriptionMetadataSpecificationKey_StructuralDependency string // KCMMetadataFormatDescription_StructuralDependencyKey_DependencyIsInvalidFlag is a specification key that identifies the depencency isn’t valid. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataFormatDescription_StructuralDependencyKey_DependencyIsInvalidFlag KCMMetadataFormatDescription_StructuralDependencyKey_DependencyIsInvalidFlag string // KCMMetadataIdentifier_QuickTimeMetadataDirection_Facing is direction the observer is facing. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataDirection_Facing KCMMetadataIdentifier_QuickTimeMetadataDirection_Facing string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleMono KCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleMono string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleStereoLeft KCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleStereoLeft string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleStereoRight KCMMetadataIdentifier_QuickTimeMetadataDisplayMaskRectangleStereoRight string // KCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransform is a perspective transform you use to adjust a Live Photo still image to match the Live Photo movie. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransform KCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransform string // KCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransformReferenceDimensions is the dimensions of the live photo still image. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransformReferenceDimensions KCMMetadataIdentifier_QuickTimeMetadataLivePhotoStillImageTransformReferenceDimensions string // KCMMetadataIdentifier_QuickTimeMetadataLocation_ISO6709 is location information in ISO-6709 format. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataLocation_ISO6709 KCMMetadataIdentifier_QuickTimeMetadataLocation_ISO6709 string // KCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform is an affine transform to be applied to a video track. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform KCMMetadataIdentifier_QuickTimeMetadataPreferredAffineTransform string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataPresentationImmersiveMedia KCMMetadataIdentifier_QuickTimeMetadataPresentationImmersiveMedia string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataSceneIlluminance KCMMetadataIdentifier_QuickTimeMetadataSceneIlluminance string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataSegmentIdentifier KCMMetadataIdentifier_QuickTimeMetadataSegmentIdentifier string // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataSpatialAudioMix KCMMetadataIdentifier_QuickTimeMetadataSpatialAudioMix string // KCMMetadataIdentifier_QuickTimeMetadataVideoOrientation is video orientation as defined by TIFF/EXIF. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataIdentifier_QuickTimeMetadataVideoOrientation KCMMetadataIdentifier_QuickTimeMetadataVideoOrientation string // KCMMetadataKeySpace_HLSDateRange is metadata keyspace for HLS DateRange tags. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_HLSDateRange KCMMetadataKeySpace_HLSDateRange string // KCMMetadataKeySpace_ID3 is metadata keyspace for ID3 keys. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_ID3 KCMMetadataKeySpace_ID3 string // KCMMetadataKeySpace_ISOUserData is metadata keyspace for MPEG-4 User Data keys. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_ISOUserData KCMMetadataKeySpace_ISOUserData string // KCMMetadataKeySpace_Icy is metadata keyspace for ShoutCast keys. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_Icy KCMMetadataKeySpace_Icy string // KCMMetadataKeySpace_QuickTimeMetadata is metadata keyspace for QuickTime Metadata keys. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_QuickTimeMetadata KCMMetadataKeySpace_QuickTimeMetadata string // KCMMetadataKeySpace_QuickTimeUserData is metadata keyspace for QuickTime User Data keys. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_QuickTimeUserData KCMMetadataKeySpace_QuickTimeUserData string // KCMMetadataKeySpace_iTunes is metadata keyspace for iTunes keys. // // See: https://developer.apple.com/documentation/CoreMedia/kCMMetadataKeySpace_iTunes KCMMetadataKeySpace_iTunes string // KCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount is an attachment that’s only present if the audio sample is an independent frame or immediate playout frame. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount KCMSampleAttachmentKey_AudioIndependentSampleDecoderRefreshCount string // KCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData is an attachment that describes the ranges of protected and unprotected data within a protected sample buffer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData KCMSampleAttachmentKey_CryptorSubsampleAuxiliaryData string // KCMSampleAttachmentKey_DependsOnOthers is indicates whether the sample depends on other samples for decoding (type [CFBoolean]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_DependsOnOthers KCMSampleAttachmentKey_DependsOnOthers string // KCMSampleAttachmentKey_DisplayImmediately is indicates whether the sample should be displayed immediately (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_DisplayImmediately KCMSampleAttachmentKey_DisplayImmediately string // KCMSampleAttachmentKey_DoNotDisplay is indicates whether the sample should be decoded but not displayed (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_DoNotDisplay KCMSampleAttachmentKey_DoNotDisplay string // KCMSampleAttachmentKey_EarlierDisplayTimesAllowed is indicates whether later samples may have earlier display times (type [CFBoolean]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_EarlierDisplayTimesAllowed KCMSampleAttachmentKey_EarlierDisplayTimesAllowed string // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_HDR10PlusPerFrameData KCMSampleAttachmentKey_HDR10PlusPerFrameData string // KCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess is an attachment that indicates a step-wise temporal sublayer access (STSA) sample grouping. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess KCMSampleAttachmentKey_HEVCStepwiseTemporalSubLayerAccess string // KCMSampleAttachmentKey_HEVCSyncSampleNALUnitType is an attachment that indicates a sync sample NAL unit type. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_HEVCSyncSampleNALUnitType KCMSampleAttachmentKey_HEVCSyncSampleNALUnitType string // KCMSampleAttachmentKey_HEVCTemporalLevelInfo is an attachment that indicates a video frame’s level within a hierarchical frame dependency structure. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_HEVCTemporalLevelInfo KCMSampleAttachmentKey_HEVCTemporalLevelInfo string // KCMSampleAttachmentKey_HEVCTemporalSubLayerAccess is an attachment that indicates a temporal sublayer access grouping. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_HEVCTemporalSubLayerAccess KCMSampleAttachmentKey_HEVCTemporalSubLayerAccess string // KCMSampleAttachmentKey_HasRedundantCoding is indicates whether the sample has redundant coding (type [CFBoolean]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_HasRedundantCoding KCMSampleAttachmentKey_HasRedundantCoding string // KCMSampleAttachmentKey_IsDependedOnByOthers is indicates whether other samples depend on this sample for decoding (type [CFBoolean]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_IsDependedOnByOthers KCMSampleAttachmentKey_IsDependedOnByOthers string // KCMSampleAttachmentKey_NotSync is indicates whether the sample is a sync sample (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_NotSync KCMSampleAttachmentKey_NotSync string // KCMSampleAttachmentKey_PartialSync is indicates whether the sample is a partial sync sample (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_PartialSync KCMSampleAttachmentKey_PartialSync string // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleAttachmentKey_PostDecodeProcessingMetadata KCMSampleAttachmentKey_PostDecodeProcessingMetadata string // KCMSampleBufferAttachmentKey_CameraIntrinsicMatrix is an attachment that indicates a 3x3 camera intrinsic matrix to apply to the current sample buffer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix KCMSampleBufferAttachmentKey_CameraIntrinsicMatrix string // KCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediately is tells that the empty marker should be dequeued immediately regardless of its timestamp (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediately KCMSampleBufferAttachmentKey_DisplayEmptyMediaImmediately string // KCMSampleBufferAttachmentKey_DrainAfterDecoding is indicates whether the sample buffer should be drained after decoding type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_DrainAfterDecoding KCMSampleBufferAttachmentKey_DrainAfterDecoding string // KCMSampleBufferAttachmentKey_DroppedFrameReason is indicates the reason the current video frame was dropped (type [CFString]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_DroppedFrameReason KCMSampleBufferAttachmentKey_DroppedFrameReason string // KCMSampleBufferAttachmentKey_DroppedFrameReasonInfo is indicates additional information regarding the dropped video frame (type [CFString]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_DroppedFrameReasonInfo KCMSampleBufferAttachmentKey_DroppedFrameReasonInfo string // KCMSampleBufferAttachmentKey_EmptyMedia is marks an intentionally empty interval in the sequence of samples (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_EmptyMedia KCMSampleBufferAttachmentKey_EmptyMedia string // KCMSampleBufferAttachmentKey_EndsPreviousSampleDuration is indicates that sample buffer’s decode timestamp may be used to define the previous sample buffer’s duration (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_EndsPreviousSampleDuration KCMSampleBufferAttachmentKey_EndsPreviousSampleDuration string // KCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilence is fill the difference between discontiguous sample buffers with silence (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilence KCMSampleBufferAttachmentKey_FillDiscontinuitiesWithSilence string // KCMSampleBufferAttachmentKey_ForceKeyFrame is indicates that the current or next video sample buffer should be forced to be encoded as a key frame. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_ForceKeyFrame KCMSampleBufferAttachmentKey_ForceKeyFrame string // KCMSampleBufferAttachmentKey_GradualDecoderRefresh is indicates the decoder refresh count (type [CFNumber]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_GradualDecoderRefresh KCMSampleBufferAttachmentKey_GradualDecoderRefresh string // KCMSampleBufferAttachmentKey_PermanentEmptyMedia is marks the end of the sequence of samples (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_PermanentEmptyMedia KCMSampleBufferAttachmentKey_PermanentEmptyMedia string // KCMSampleBufferAttachmentKey_PostNotificationWhenConsumed is if present, indicates that decode pipelines should post a notification when consuming the sample buffer(type [CFDictionary]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_PostNotificationWhenConsumed KCMSampleBufferAttachmentKey_PostNotificationWhenConsumed string // KCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding is indicates whether the sample buffer should be reset before decoding (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding KCMSampleBufferAttachmentKey_ResetDecoderBeforeDecoding string // KCMSampleBufferAttachmentKey_ResumeOutput is if present, indicates that output should be resumed following a discontinuity [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_ResumeOutput KCMSampleBufferAttachmentKey_ResumeOutput string // KCMSampleBufferAttachmentKey_Reverse is indicates that the decoded contents of the sample buffer should be reversed (type [CFBoolean], default false). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_Reverse KCMSampleBufferAttachmentKey_Reverse string // KCMSampleBufferAttachmentKey_SampleReferenceByteOffset is indicates the byte offset at which the sample data begins (type [CFNumber]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_SampleReferenceByteOffset KCMSampleBufferAttachmentKey_SampleReferenceByteOffset string // KCMSampleBufferAttachmentKey_SampleReferenceURL is indicates the URL where the sample data is (type [CFURL]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_SampleReferenceURL KCMSampleBufferAttachmentKey_SampleReferenceURL string // KCMSampleBufferAttachmentKey_SpeedMultiplier is the factor by which the sample buffer’s presentation should be accelerated (type [CFNumber], default 1.0). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_SpeedMultiplier KCMSampleBufferAttachmentKey_SpeedMultiplier string // KCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo is indicates information about the lens stabilization applied to the current still image buffer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo KCMSampleBufferAttachmentKey_StillImageLensStabilizationInfo string // KCMSampleBufferAttachmentKey_TransitionID is marks a transition from one source of buffers to another. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_TransitionID KCMSampleBufferAttachmentKey_TransitionID string // KCMSampleBufferAttachmentKey_TrimDurationAtEnd is the duration that should be removed at the end of the sample buffer, after decoding. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_TrimDurationAtEnd KCMSampleBufferAttachmentKey_TrimDurationAtEnd string // KCMSampleBufferAttachmentKey_TrimDurationAtStart is the duration that should be removed at the beginning of the sample buffer, after decoding. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferAttachmentKey_TrimDurationAtStart KCMSampleBufferAttachmentKey_TrimDurationAtStart string // KCMSampleBufferConduitNotificationParameter_MaxUpcomingOutputPTS is specifies the maximum presentation timestamp of upcoming output samples (type [CFDictionary]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotificationParameter_MaxUpcomingOutputPTS KCMSampleBufferConduitNotificationParameter_MaxUpcomingOutputPTS string // KCMSampleBufferConduitNotificationParameter_MinUpcomingOutputPTS is specifies the minimum presentation timestamp of upcoming output samples (type [CFDictionary]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotificationParameter_MinUpcomingOutputPTS KCMSampleBufferConduitNotificationParameter_MinUpcomingOutputPTS string // KCMSampleBufferConduitNotificationParameter_ResumeTag is specifies a tag to be attached to the first sample buffer following a discontinuity (type [CFNumber]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotificationParameter_ResumeTag KCMSampleBufferConduitNotificationParameter_ResumeTag string // KCMSampleBufferConduitNotificationParameter_UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRange is indicates that the presentation timestamps of upcoming output samples may overlap those of samples queued for output (type [CFBoolean]). // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotificationParameter_UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRange KCMSampleBufferConduitNotificationParameter_UpcomingOutputPTSRangeMayOverlapQueuedOutputPTSRange string // KCMSampleBufferConduitNotification_InhibitOutputUntil is posted on a conduit of sample buffers to announce a coming discontinuity. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotification_InhibitOutputUntil KCMSampleBufferConduitNotification_InhibitOutputUntil string // KCMSampleBufferConduitNotification_ResetOutput is posted on a conduit of sample buffers to request invalidation of pending output data. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotification_ResetOutput KCMSampleBufferConduitNotification_ResetOutput string // KCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged is posted on a conduit of video sample buffers to report information about the range of upcoming output presentation timestamps. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged KCMSampleBufferConduitNotification_UpcomingOutputPTSRangeChanged string // KCMSampleBufferConsumerNotification_BufferConsumed is optionally posted when a sample buffer is consumed. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferConsumerNotification_BufferConsumed KCMSampleBufferConsumerNotification_BufferConsumed string // KCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitch is a discontinuity was caused by a camera mode switch. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitch KCMSampleBufferDroppedFrameReasonInfo_CameraModeSwitch string // KCMSampleBufferDroppedFrameReason_Discontinuity is an unknown number of frames were dropped. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferDroppedFrameReason_Discontinuity KCMSampleBufferDroppedFrameReason_Discontinuity string // KCMSampleBufferDroppedFrameReason_FrameWasLate is the frame was dropped because it was late. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferDroppedFrameReason_FrameWasLate KCMSampleBufferDroppedFrameReason_FrameWasLate string // KCMSampleBufferDroppedFrameReason_OutOfBuffers is the frame was dropped because the module providing frames is out of buffers. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferDroppedFrameReason_OutOfBuffers KCMSampleBufferDroppedFrameReason_OutOfBuffers string // KCMSampleBufferLensStabilizationInfo_Active is the lens stabilization module was active for the duration this buffer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferLensStabilizationInfo_Active KCMSampleBufferLensStabilizationInfo_Active string // KCMSampleBufferLensStabilizationInfo_Off is the lens stabilization module was not used during this capture. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferLensStabilizationInfo_Off KCMSampleBufferLensStabilizationInfo_Off string // KCMSampleBufferLensStabilizationInfo_OutOfRange is the motion of the device or duration of the capture was outside of what the stabilization mechanism could support. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferLensStabilizationInfo_OutOfRange KCMSampleBufferLensStabilizationInfo_OutOfRange string // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferLensStabilizationInfo_Unavailable KCMSampleBufferLensStabilizationInfo_Unavailable string // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferNotificationParameter_OSStatus KCMSampleBufferNotificationParameter_OSStatus string // KCMSampleBufferNotification_DataBecameReady is posted on a sample buffer by the [CMSampleBufferSetDataReady(_:)] function when the buffer becomes ready. // // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferNotification_DataBecameReady KCMSampleBufferNotification_DataBecameReady string // See: https://developer.apple.com/documentation/CoreMedia/kCMSampleBufferNotification_DataFailed KCMSampleBufferNotification_DataFailed string // KCMTagCategoryKey is a constant for use as a key during tag creation from a dictionary, whose value is the tag’s category. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagCategoryKey KCMTagCategoryKey string // KCMTagCollectionTagsArrayKey is a dictionary key for assigning tag collections to. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagCollectionTagsArrayKey KCMTagCollectionTagsArrayKey string // KCMTagDataTypeKey is a constant for use as a key during tag creation from a dictionary, whose value is the tag’s data type. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagDataTypeKey KCMTagDataTypeKey string // KCMTagValueKey is a constant for use as a key during tag creation from a dictionary, whose value is the tag’s contained value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagValueKey KCMTagValueKey string // KCMTextFormatDescriptionColor_Alpha is the color value for the alpha is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionColor_Alpha KCMTextFormatDescriptionColor_Alpha string // KCMTextFormatDescriptionColor_Blue is the color value for blue is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionColor_Blue KCMTextFormatDescriptionColor_Blue string // KCMTextFormatDescriptionColor_Green is the color value for green is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionColor_Green KCMTextFormatDescriptionColor_Green string // KCMTextFormatDescriptionColor_Red is the color value for red is a number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionColor_Red KCMTextFormatDescriptionColor_Red string // KCMTextFormatDescriptionExtension_BackgroundColor is the extension flag that represents the background color. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_BackgroundColor KCMTextFormatDescriptionExtension_BackgroundColor string // KCMTextFormatDescriptionExtension_DefaultFontName is the extension flag that represents the default font name. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultFontName KCMTextFormatDescriptionExtension_DefaultFontName string // KCMTextFormatDescriptionExtension_DefaultStyle is the extension flag that represents the default style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultStyle KCMTextFormatDescriptionExtension_DefaultStyle string // KCMTextFormatDescriptionExtension_DefaultTextBox is the extension flag that represents the default text box. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DefaultTextBox KCMTextFormatDescriptionExtension_DefaultTextBox string // KCMTextFormatDescriptionExtension_DisplayFlags is the extension flag that represents the display flags. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_DisplayFlags KCMTextFormatDescriptionExtension_DisplayFlags string // KCMTextFormatDescriptionExtension_FontTable is the extension flag that represents the font table. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_FontTable KCMTextFormatDescriptionExtension_FontTable string // KCMTextFormatDescriptionExtension_HorizontalJustification is the extension flag that represents the horizontal justification. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_HorizontalJustification KCMTextFormatDescriptionExtension_HorizontalJustification string // KCMTextFormatDescriptionExtension_TextJustification is the extension flag that represents the text justification. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_TextJustification KCMTextFormatDescriptionExtension_TextJustification string // KCMTextFormatDescriptionExtension_VerticalJustification is the extension flag that represents the vertical justification. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionExtension_VerticalJustification KCMTextFormatDescriptionExtension_VerticalJustification string // KCMTextFormatDescriptionRect_Bottom is the bottom value for the rect as a 16-bit number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionRect_Bottom KCMTextFormatDescriptionRect_Bottom string // KCMTextFormatDescriptionRect_Left is the left value for the rect as a 16-bit number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionRect_Left KCMTextFormatDescriptionRect_Left string // KCMTextFormatDescriptionRect_Right is the right value for the rect as a 16-bit number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionRect_Right KCMTextFormatDescriptionRect_Right string // KCMTextFormatDescriptionRect_Top is the top value for the rect as a 16-bit number. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionRect_Top KCMTextFormatDescriptionRect_Top string // KCMTextFormatDescriptionStyle_Ascent is the style value for the ascent. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Ascent KCMTextFormatDescriptionStyle_Ascent string // KCMTextFormatDescriptionStyle_EndChar is the style value for the ending character. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_EndChar KCMTextFormatDescriptionStyle_EndChar string // KCMTextFormatDescriptionStyle_Font is the style value for font. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Font KCMTextFormatDescriptionStyle_Font string // KCMTextFormatDescriptionStyle_FontFace is the style value for font face. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_FontFace KCMTextFormatDescriptionStyle_FontFace string // KCMTextFormatDescriptionStyle_FontSize is the style value for the font size. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_FontSize KCMTextFormatDescriptionStyle_FontSize string // KCMTextFormatDescriptionStyle_ForegroundColor is the style value for foreground color. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_ForegroundColor KCMTextFormatDescriptionStyle_ForegroundColor string // KCMTextFormatDescriptionStyle_Height is the style value for the height. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_Height KCMTextFormatDescriptionStyle_Height string // KCMTextFormatDescriptionStyle_StartChar is the style value for the starting character. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextFormatDescriptionStyle_StartChar KCMTextFormatDescriptionStyle_StartChar string // KCMTextMarkupAlignmentType_End is an alignment type that visually aligns the text at its ending side. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAlignmentType_End KCMTextMarkupAlignmentType_End string // KCMTextMarkupAlignmentType_Left is an alignment type that visually aligns text from left-to-right. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAlignmentType_Left KCMTextMarkupAlignmentType_Left string // KCMTextMarkupAlignmentType_Middle is an alignment type that visually aligns text in the center between its starting and ending sides. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAlignmentType_Middle KCMTextMarkupAlignmentType_Middle string // KCMTextMarkupAlignmentType_Right is an alignment type that visually aligns text from right-to-left. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAlignmentType_Right KCMTextMarkupAlignmentType_Right string // KCMTextMarkupAlignmentType_Start is an alignment type that visually aligns the text at its starting side. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAlignmentType_Start KCMTextMarkupAlignmentType_Start string // KCMTextMarkupAttribute_Alignment is the text alignment in the writing direction of the first line of text. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_Alignment KCMTextMarkupAttribute_Alignment string // KCMTextMarkupAttribute_BackgroundColorARGB is a background color for the text. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_BackgroundColorARGB KCMTextMarkupAttribute_BackgroundColorARGB string // KCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeight is a base font size as a percentage of the video height. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeight KCMTextMarkupAttribute_BaseFontSizePercentageRelativeToVideoHeight string // KCMTextMarkupAttribute_BoldStyle is a bold font style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_BoldStyle KCMTextMarkupAttribute_BoldStyle string // KCMTextMarkupAttribute_CharacterBackgroundColorARGB is a background color for individual text characters. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_CharacterBackgroundColorARGB KCMTextMarkupAttribute_CharacterBackgroundColorARGB string // KCMTextMarkupAttribute_CharacterEdgeStyle is a style for character edges. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_CharacterEdgeStyle KCMTextMarkupAttribute_CharacterEdgeStyle string // KCMTextMarkupAttribute_FontFamilyName is a name of a font family. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_FontFamilyName KCMTextMarkupAttribute_FontFamilyName string // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_FontFamilyNameList KCMTextMarkupAttribute_FontFamilyNameList string // KCMTextMarkupAttribute_ForegroundColorARGB is a foreground color for the text. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_ForegroundColorARGB KCMTextMarkupAttribute_ForegroundColorARGB string // KCMTextMarkupAttribute_GenericFontFamilyName is a generic font family name identifier. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_GenericFontFamilyName KCMTextMarkupAttribute_GenericFontFamilyName string // KCMTextMarkupAttribute_ItalicStyle is an italic font style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_ItalicStyle KCMTextMarkupAttribute_ItalicStyle string // KCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection is the placement of the first line in a block of text as a percentage in the direction orthogonal to the writing direction. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection KCMTextMarkupAttribute_OrthogonalLinePositionPercentageRelativeToWritingDirection string // KCMTextMarkupAttribute_RelativeFontSize is a font size as a percentage of the current default font size. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_RelativeFontSize KCMTextMarkupAttribute_RelativeFontSize string // KCMTextMarkupAttribute_TextPositionPercentageRelativeToWritingDirection is the placement of the block of text as a percentage in the writing direction. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_TextPositionPercentageRelativeToWritingDirection KCMTextMarkupAttribute_TextPositionPercentageRelativeToWritingDirection string // KCMTextMarkupAttribute_UnderlineStyle is an underline font style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_UnderlineStyle KCMTextMarkupAttribute_UnderlineStyle string // KCMTextMarkupAttribute_VerticalLayout is the vertical layout of a text block. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_VerticalLayout KCMTextMarkupAttribute_VerticalLayout string // KCMTextMarkupAttribute_WritingDirectionSizePercentage is the width or height as a percentage of the bounding box that contains the text. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupAttribute_WritingDirectionSizePercentage KCMTextMarkupAttribute_WritingDirectionSizePercentage string // KCMTextMarkupCharacterEdgeStyle_Depressed is a depressed edge style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupCharacterEdgeStyle_Depressed KCMTextMarkupCharacterEdgeStyle_Depressed string // KCMTextMarkupCharacterEdgeStyle_DropShadow is a drop shadow style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupCharacterEdgeStyle_DropShadow KCMTextMarkupCharacterEdgeStyle_DropShadow string // KCMTextMarkupCharacterEdgeStyle_None is no edge style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupCharacterEdgeStyle_None KCMTextMarkupCharacterEdgeStyle_None string // KCMTextMarkupCharacterEdgeStyle_Raised is a raised edge style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupCharacterEdgeStyle_Raised KCMTextMarkupCharacterEdgeStyle_Raised string // KCMTextMarkupCharacterEdgeStyle_Uniform is a uniform border style. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupCharacterEdgeStyle_Uniform KCMTextMarkupCharacterEdgeStyle_Uniform string // KCMTextMarkupGenericFontName_Casual is a casual font. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_Casual KCMTextMarkupGenericFontName_Casual string // KCMTextMarkupGenericFontName_Cursive is a cursive font. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_Cursive KCMTextMarkupGenericFontName_Cursive string // KCMTextMarkupGenericFontName_Default is the default font. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_Default KCMTextMarkupGenericFontName_Default string // KCMTextMarkupGenericFontName_Fantasy is a fantasy font. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_Fantasy KCMTextMarkupGenericFontName_Fantasy string // KCMTextMarkupGenericFontName_Monospace is a monospaced font with or without serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_Monospace KCMTextMarkupGenericFontName_Monospace string // KCMTextMarkupGenericFontName_MonospaceSansSerif is a monospaced font without serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_MonospaceSansSerif KCMTextMarkupGenericFontName_MonospaceSansSerif string // KCMTextMarkupGenericFontName_MonospaceSerif is a monospaced font with serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_MonospaceSerif KCMTextMarkupGenericFontName_MonospaceSerif string // KCMTextMarkupGenericFontName_ProportionalSansSerif is a proportional font without serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_ProportionalSansSerif KCMTextMarkupGenericFontName_ProportionalSansSerif string // KCMTextMarkupGenericFontName_ProportionalSerif is a proportional font with serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_ProportionalSerif KCMTextMarkupGenericFontName_ProportionalSerif string // KCMTextMarkupGenericFontName_SansSerif is a font without serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_SansSerif KCMTextMarkupGenericFontName_SansSerif string // KCMTextMarkupGenericFontName_Serif is a font with serifs. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_Serif KCMTextMarkupGenericFontName_Serif string // KCMTextMarkupGenericFontName_SmallCapital is a font with lowercase letters set as small capital letters. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextMarkupGenericFontName_SmallCapital KCMTextMarkupGenericFontName_SmallCapital string // KCMTextVerticalLayout_LeftToRight is add new vertical lines from left to right. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextVerticalLayout_LeftToRight KCMTextVerticalLayout_LeftToRight string // KCMTextVerticalLayout_RightToLeft is add new vertical lines from right to left. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTextVerticalLayout_RightToLeft KCMTextVerticalLayout_RightToLeft string // KCMTimeCodeFormatDescriptionExtension_SourceReferenceName is an extension that describes the source reference name. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeCodeFormatDescriptionExtension_SourceReferenceName KCMTimeCodeFormatDescriptionExtension_SourceReferenceName string // KCMTimeCodeFormatDescriptionKey_LangCode is a key that describes the language code. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeCodeFormatDescriptionKey_LangCode KCMTimeCodeFormatDescriptionKey_LangCode string // KCMTimeCodeFormatDescriptionKey_Value is a key that describes the value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeCodeFormatDescriptionKey_Value KCMTimeCodeFormatDescriptionKey_Value string // KCMTimeEpochKey is a dictionary key for a time epoch. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeEpochKey KCMTimeEpochKey string // KCMTimeFlagsKey is a dictionary key for time flags. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeFlagsKey KCMTimeFlagsKey string // KCMTimeMappingSourceKey is a dictionary key for a source time range. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeMappingSourceKey KCMTimeMappingSourceKey string // KCMTimeMappingTargetKey is a dictionary key for a target time range. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeMappingTargetKey KCMTimeMappingTargetKey string // KCMTimeRangeDurationKey is the key for the timescale of a time range. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeRangeDurationKey KCMTimeRangeDurationKey string // KCMTimeRangeStartKey is the key for the start field of a time range. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeRangeStartKey KCMTimeRangeStartKey string // KCMTimeScaleKey is a dictionary key for a timescale. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeScaleKey KCMTimeScaleKey string // KCMTimeValueKey is a dictionary key for a time value. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimeValueKey KCMTimeValueKey string // KCMTimebaseNotificationKey_EventTime is a notification that a timebase posts after a discontinuous time jump. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimebaseNotificationKey_EventTime KCMTimebaseNotificationKey_EventTime string // KCMTimebaseNotification_EffectiveRateChanged is a notification that posts by a timebase after a change in effective rate. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimebaseNotification_EffectiveRateChanged KCMTimebaseNotification_EffectiveRateChanged string // KCMTimebaseNotification_TimeJumped is a notification that posts by a timebase after a discontinuous time jump. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTimebaseNotification_TimeJumped KCMTimebaseNotification_TimeJumped string )
Functions ¶
func CMAudioDeviceClockCreate ¶
func CMAudioDeviceClockCreate(allocator corefoundation.CFAllocatorRef, deviceUID corefoundation.CFStringRef, clockOut *uintptr) int32
CMAudioDeviceClockCreate creates a clock that tracks playback through a Core Audio device with the specified unique identifier.
func CMAudioDeviceClockCreateFromAudioDeviceID ¶
func CMAudioDeviceClockCreateFromAudioDeviceID(allocator corefoundation.CFAllocatorRef, deviceID uint32, clockOut *uintptr) int32
CMAudioDeviceClockCreateFromAudioDeviceID creates a clock that tracks playback through a Core Audio device with the specified identifier.
func CMAudioDeviceClockGetAudioDevice ¶
func CMAudioDeviceClockGetAudioDevice(clock uintptr, deviceUIDOut *corefoundation.CFStringRef, deviceIDOut *uint32, trackingDefaultDeviceOut *bool) int32
CMAudioDeviceClockGetAudioDevice returns the Core Audio device the clock is tracking.
func CMAudioDeviceClockSetAudioDeviceID ¶
CMAudioDeviceClockSetAudioDeviceID changes the Core Audio device the clock is tracking by specifying a new device identifier.
See: https://developer.apple.com/documentation/CoreMedia/CMAudioDeviceClockSetAudioDeviceID(_:deviceID:)
func CMAudioDeviceClockSetAudioDeviceUID ¶
func CMAudioDeviceClockSetAudioDeviceUID(clock uintptr, deviceUID corefoundation.CFStringRef) int32
CMAudioDeviceClockSetAudioDeviceUID changes the Core Audio device the clock is tracking by specifying a new device unique identifier.
func CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer ¶
func CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, audioFormatDescription uintptr, flavor CMSoundDescriptionFlavor, blockBufferOut *uintptr) int32
CMAudioFormatDescriptionCopyAsBigEndianSoundDescriptionBlockBuffer copies the contents of an audio format description to a buffer in big-endian byte ordering.
func CMAudioFormatDescriptionCreate ¶
func CMAudioFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, asbd uintptr, layoutSize uintptr, layout uintptr, magicCookieSize uintptr, magicCookie unsafe.Pointer, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *uintptr) int32
CMAudioFormatDescriptionCreate creates a format description for an audio media stream.
func CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer ¶
func CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, soundDescriptionBlockBuffer uintptr, flavor CMSoundDescriptionFlavor, formatDescriptionOut *uintptr) int32
CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionBlockBuffer creates an audio format description from a big-endian sound description data structure in a buffer.
func CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData ¶
func CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData(allocator corefoundation.CFAllocatorRef, soundDescriptionData *uint8, size uintptr, flavor CMSoundDescriptionFlavor, formatDescriptionOut *uintptr) int32
CMAudioFormatDescriptionCreateFromBigEndianSoundDescriptionData creates an audio format description from a big-endian sound description data structure.
func CMAudioFormatDescriptionCreateSummary ¶
func CMAudioFormatDescriptionCreateSummary(allocator corefoundation.CFAllocatorRef, formatDescriptionArray corefoundation.CFArrayRef, flags uint32, formatDescriptionOut *uintptr) int32
CMAudioFormatDescriptionCreateSummary creates a summary audio format description from an array of descriptions.
func CMAudioFormatDescriptionEqual ¶
func CMAudioFormatDescriptionEqual(formatDescription uintptr, otherFormatDescription uintptr, equalityMask CMAudioFormatDescriptionMask, equalityMaskOut *CMAudioFormatDescriptionMask) bool
CMAudioFormatDescriptionEqual returns a Boolean value that indicates whether the two audio format descriptions are equal.
func CMAudioFormatDescriptionGetChannelLayout ¶
func CMAudioFormatDescriptionGetChannelLayout(desc uintptr, sizeOut *uintptr) *objectivec.IObject
CMAudioFormatDescriptionGetChannelLayout returns a read-only pointer to, and the size of, the audio channel layout inside an audio format description.
func CMAudioFormatDescriptionGetFormatList ¶
func CMAudioFormatDescriptionGetFormatList(desc uintptr, sizeOut *uintptr) *objectivec.IObject
CMAudioFormatDescriptionGetFormatList returns a read-only pointer to, and size of, the array of audio format list item structures in an audio format description.
func CMAudioFormatDescriptionGetMagicCookie ¶
CMAudioFormatDescriptionGetMagicCookie returns a read-only pointer to, and size of, the magic cookie in an audio format description.
func CMAudioFormatDescriptionGetMostCompatibleFormat ¶
func CMAudioFormatDescriptionGetMostCompatibleFormat(desc uintptr) *objectivec.IObject
CMAudioFormatDescriptionGetMostCompatibleFormat returns a read-only pointer to the appropriate audio format list item in an audio format description.
func CMAudioFormatDescriptionGetRichestDecodableFormat ¶
func CMAudioFormatDescriptionGetRichestDecodableFormat(desc uintptr) *objectivec.IObject
CMAudioFormatDescriptionGetRichestDecodableFormat returns a read-only pointer to the appropriate audio format list item in an audio format description.
func CMAudioFormatDescriptionGetStreamBasicDescription ¶
func CMAudioFormatDescriptionGetStreamBasicDescription(desc uintptr) *objectivec.IObject
CMAudioFormatDescriptionGetStreamBasicDescription returns a read-only pointer to the audio stream description in an audio format description.
func CMAudioSampleBufferCreateReadyWithPacketDescriptions ¶
func CMAudioSampleBufferCreateReadyWithPacketDescriptions(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, formatDescription uintptr, numSamples int, presentationTimeStamp CMTime, packetDescriptions uintptr, sampleBufferOut *uintptr) int32
CMAudioSampleBufferCreateReadyWithPacketDescriptions creates a sample buffer with packet descriptions.
func CMAudioSampleBufferCreateWithPacketDescriptions ¶
func CMAudioSampleBufferCreateWithPacketDescriptions(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, makeDataReadyCallback CMSampleBufferMakeDataReadyCallback, makeDataReadyRefcon unsafe.Pointer, formatDescription uintptr, numSamples int, presentationTimeStamp CMTime, packetDescriptions uintptr, sampleBufferOut *uintptr) int32
CMAudioSampleBufferCreateWithPacketDescriptions creates a sample buffer with packet descriptions and a callback to make the data ready for use.
func CMAudioSampleBufferCreateWithPacketDescriptionsAndMakeDataReadyHandler ¶
func CMAudioSampleBufferCreateWithPacketDescriptionsAndMakeDataReadyHandler(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, formatDescription uintptr, numSamples int, presentationTimeStamp CMTime, packetDescriptions uintptr, sampleBufferOut *uintptr, makeDataReadyHandler CMSampleBufferMakeDataReadyHandler) int32
CMAudioSampleBufferCreateWithPacketDescriptionsAndMakeDataReadyHandler creates a sample buffer with packet descriptions and a handler to make the data ready for use.
func CMBlockBufferAccessDataBytes ¶
func CMBlockBufferAccessDataBytes(theBuffer uintptr, offset uintptr, length uintptr, temporaryBlock unsafe.Pointer, returnedPointerOut string) int32
CMBlockBufferAccessDataBytes accesses potentially noncontiguous data in a block buffer.
func CMBlockBufferAppendBufferReference ¶
func CMBlockBufferAppendBufferReference(theBuffer uintptr, targetBBuf uintptr, offsetToData uintptr, dataLength uintptr, flags CMBlockBufferFlags) int32
CMBlockBufferAppendBufferReference adds a reference to an existing block buffer.
func CMBlockBufferAppendMemoryBlock ¶
func CMBlockBufferAppendMemoryBlock(theBuffer uintptr, memoryBlock unsafe.Pointer, blockLength uintptr, blockAllocator corefoundation.CFAllocatorRef, customBlockSource *CMBlockBufferCustomBlockSource, offsetToData uintptr, dataLength uintptr, flags CMBlockBufferFlags) int32
CMBlockBufferAppendMemoryBlock adds a memory block to an existing block buffer.
func CMBlockBufferAssureBlockMemory ¶
CMBlockBufferAssureBlockMemory assures that the system allocates memory for all memory blocks in a block buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMBlockBufferAssureBlockMemory(_:)
func CMBlockBufferCopyDataBytes ¶
func CMBlockBufferCopyDataBytes(theSourceBuffer uintptr, offsetToData uintptr, dataLength uintptr, destination unsafe.Pointer) int32
CMBlockBufferCopyDataBytes copies bytes from a block buffer into a provided memory area.
func CMBlockBufferCreateContiguous ¶
func CMBlockBufferCreateContiguous(structureAllocator corefoundation.CFAllocatorRef, sourceBuffer uintptr, blockAllocator corefoundation.CFAllocatorRef, customBlockSource *CMBlockBufferCustomBlockSource, offsetToData uintptr, dataLength uintptr, flags CMBlockBufferFlags, blockBufferOut *uintptr) int32
CMBlockBufferCreateContiguous creates a block buffer that contains a contiguous copy of, or reference to, the data specified by the parameters.
func CMBlockBufferCreateEmpty ¶
func CMBlockBufferCreateEmpty(structureAllocator corefoundation.CFAllocatorRef, subBlockCapacity uint32, flags CMBlockBufferFlags, blockBufferOut *uintptr) int32
CMBlockBufferCreateEmpty creates an empty block buffer.
func CMBlockBufferCreateWithBufferReference ¶
func CMBlockBufferCreateWithBufferReference(structureAllocator corefoundation.CFAllocatorRef, bufferReference uintptr, offsetToData uintptr, dataLength uintptr, flags CMBlockBufferFlags, blockBufferOut *uintptr) int32
CMBlockBufferCreateWithBufferReference creates a block buffer that refers to another block buffer object.
func CMBlockBufferCreateWithMemoryBlock ¶
func CMBlockBufferCreateWithMemoryBlock(structureAllocator corefoundation.CFAllocatorRef, memoryBlock unsafe.Pointer, blockLength uintptr, blockAllocator corefoundation.CFAllocatorRef, customBlockSource *CMBlockBufferCustomBlockSource, offsetToData uintptr, dataLength uintptr, flags CMBlockBufferFlags, blockBufferOut *uintptr) int32
CMBlockBufferCreateWithMemoryBlock creates a block buffer that’s backed by a memory block.
func CMBlockBufferFillDataBytes ¶
func CMBlockBufferFillDataBytes(fillByte int8, destinationBuffer uintptr, offsetIntoDestination uintptr, dataLength uintptr) int32
CMBlockBufferFillDataBytes fills the destination buffer with the specified data byte.
func CMBlockBufferGetDataLength ¶
CMBlockBufferGetDataLength returns the total length of data that’s accessible by a block buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMBlockBufferGetDataLength(_:)
func CMBlockBufferGetDataPointer ¶
func CMBlockBufferGetDataPointer(theBuffer uintptr, offset uintptr, lengthAtOffsetOut *uintptr, totalLengthOut *uintptr, dataPointerOut string) int32
CMBlockBufferGetDataPointer gains access to the data represented by a block buffer.
func CMBlockBufferGetTypeID ¶
func CMBlockBufferGetTypeID() uint
CMBlockBufferGetTypeID returns the type identifier for block buffer objects.
See: https://developer.apple.com/documentation/CoreMedia/CMBlockBufferGetTypeID()
func CMBlockBufferIsEmpty ¶
CMBlockBufferIsEmpty returns a Boolean value that indicates whether the buffer is empty.
See: https://developer.apple.com/documentation/CoreMedia/CMBlockBufferIsEmpty(_:)
func CMBlockBufferIsRangeContiguous ¶
CMBlockBufferIsRangeContiguous returns a Boolean value that indicates whether the specified range within a block buffer is contiguous.
func CMBlockBufferReplaceDataBytes ¶
func CMBlockBufferReplaceDataBytes(sourceBytes unsafe.Pointer, destinationBuffer uintptr, offsetIntoDestination uintptr, dataLength uintptr) int32
CMBlockBufferReplaceDataBytes copies bytes from a given memory block into a block buffer replacing bytes in the underlying data blocks.
func CMBufferQueueCallForEachBuffer ¶
CMBufferQueueCallForEachBuffer calls a function for every buffer in a queue.
func CMBufferQueueContainsEndOfData ¶
CMBufferQueueContainsEndOfData returns a Boolean value that indicates whether a buffer queue has its end-of-data marker set.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueContainsEndOfData(_:)
func CMBufferQueueCreate ¶
func CMBufferQueueCreate(allocator corefoundation.CFAllocatorRef, capacity int, callbacks *CMBufferCallbacks, queueOut *uintptr) int32
CMBufferQueueCreate creates a buffer queue with callbacks to inspect buffers.
func CMBufferQueueCreateWithHandlers ¶
func CMBufferQueueCreateWithHandlers(allocator corefoundation.CFAllocatorRef, capacity int, handlers *CMBufferHandlers, queueOut *uintptr) int32
CMBufferQueueCreateWithHandlers creates a buffer queue with handlers to inspect buffers.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueCreateWithHandlers(_:_:_:_:)
func CMBufferQueueEnqueue ¶
func CMBufferQueueEnqueue(queue uintptr, buf CMBufferRef) int32
CMBufferQueueEnqueue enqueues a buffer onto a queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueEnqueue(_:buffer:)
func CMBufferQueueGetBufferCount ¶
CMBufferQueueGetBufferCount gets the number of buffers in the queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetBufferCount(_:)
func CMBufferQueueGetTotalSize ¶
CMBufferQueueGetTotalSize gets the total size of all sample buffers of a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetTotalSize(_:)
func CMBufferQueueGetTypeID ¶
func CMBufferQueueGetTypeID() uint
CMBufferQueueGetTypeID returns the type identifier of buffer queue objects.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetTypeID()
func CMBufferQueueInstallTrigger ¶
func CMBufferQueueInstallTrigger(queue uintptr, callback CMBufferQueueTriggerCallback, refcon uintptr, condition CMBufferQueueTriggerCondition, time CMTime, triggerTokenOut *CMBufferQueueTriggerToken) int32
CMBufferQueueInstallTrigger installs a trigger with a callback on a buffer queue.
func CMBufferQueueInstallTriggerHandler ¶
func CMBufferQueueInstallTriggerHandler(queue uintptr, condition CMBufferQueueTriggerCondition, time CMTime, triggerTokenOut *CMBufferQueueTriggerToken, handler CMBufferQueueTriggerHandler) int32
CMBufferQueueInstallTriggerHandler installs a trigger with a handler on a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueInstallTriggerHandler(_:_:_:_:_:)
func CMBufferQueueInstallTriggerHandlerWithIntegerThreshold ¶
func CMBufferQueueInstallTriggerHandlerWithIntegerThreshold(queue uintptr, condition CMBufferQueueTriggerCondition, threshold int, triggerTokenOut *CMBufferQueueTriggerToken, handler CMBufferQueueTriggerHandler) int32
CMBufferQueueInstallTriggerHandlerWithIntegerThreshold installs a trigger with a handler and threshold on a buffer queue.
func CMBufferQueueInstallTriggerWithIntegerThreshold ¶
func CMBufferQueueInstallTriggerWithIntegerThreshold(queue uintptr, callback CMBufferQueueTriggerCallback, refcon uintptr, condition CMBufferQueueTriggerCondition, threshold int, triggerTokenOut *CMBufferQueueTriggerToken) int32
CMBufferQueueInstallTriggerWithIntegerThreshold installs a trigger with a callback and threshold on a buffer queue.
func CMBufferQueueIsAtEndOfData ¶
CMBufferQueueIsAtEndOfData returns a Boolean value that indicates whether a buffer queue has its end-of-data marker set, and is now empty.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueIsAtEndOfData(_:)
func CMBufferQueueIsEmpty ¶
CMBufferQueueIsEmpty returns a Boolean value that indicates whether a buffer queue is empty.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueIsEmpty(_:)
func CMBufferQueueMarkEndOfData ¶
CMBufferQueueMarkEndOfData sets a marker to indicate this queue doesn’t allow enqueuing new buffers.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueMarkEndOfData(_:)
func CMBufferQueueRemoveTrigger ¶
func CMBufferQueueRemoveTrigger(queue uintptr, triggerToken CMBufferQueueTriggerToken) int32
CMBufferQueueRemoveTrigger removes a previously installed trigger from a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueRemoveTrigger(_:triggerToken:)
func CMBufferQueueReset ¶
CMBufferQueueReset resets a buffer queue, which allows it to enqueue new buffers.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueReset(_:)
func CMBufferQueueResetWithCallback ¶
CMBufferQueueResetWithCallback a callback that invokes a function for every buffer in a queue and then resets the queue.
func CMBufferQueueSetValidationCallback ¶
func CMBufferQueueSetValidationCallback(queue uintptr, callback CMBufferValidationCallback, refcon uintptr) int32
CMBufferQueueSetValidationCallback a validation callback for the queue to call before enqueuing buffers.
func CMBufferQueueSetValidationHandler ¶
func CMBufferQueueSetValidationHandler(queue uintptr, handler CMBufferValidationHandler) int32
CMBufferQueueSetValidationHandler a validation handler for the queue to call before enqueuing buffers.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueSetValidationHandler(_:_:)
func CMBufferQueueTestTrigger ¶
func CMBufferQueueTestTrigger(queue uintptr, triggerToken CMBufferQueueTriggerToken) bool
CMBufferQueueTestTrigger tests whether the trigger condition is true for the specified buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueTestTrigger(_:triggerToken:)
func CMClockConvertHostTimeToSystemUnits ¶
CMClockConvertHostTimeToSystemUnits converts a host time from a core media time structure to the host time’s native units.
See: https://developer.apple.com/documentation/CoreMedia/CMClockConvertHostTimeToSystemUnits(_:)
func CMClockGetAnchorTime ¶
CMClockGetAnchorTime returns the current time from a clock and the matching time from the clock’s reference clock.
func CMClockGetHostTimeClock ¶
func CMClockGetHostTimeClock() uintptr
CMClockGetHostTimeClock returns a reference to the singleton clock that reflects the host time.
See: https://developer.apple.com/documentation/CoreMedia/CMClockGetHostTimeClock()
func CMClockGetTypeID ¶
func CMClockGetTypeID() uint
CMClockGetTypeID returns the core foundation type identifier of a clock type.
See: https://developer.apple.com/documentation/CoreMedia/CMClockGetTypeID()
func CMClockInvalidate ¶
func CMClockInvalidate(clock uintptr)
CMClockInvalidate stops the clock.
See: https://developer.apple.com/documentation/CoreMedia/CMClockInvalidate(_:)
func CMClockMightDrift ¶
CMClockMightDrift returns a Boolean value that indicates whether it’s possible for two clocks to drift relative to each other.
See: https://developer.apple.com/documentation/CoreMedia/CMClockMightDrift(_:otherClock:)
func CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer ¶
func CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, closedCaptionFormatDescription CMClosedCaptionFormatDescriptionRef, flavor CMClosedCaptionDescriptionFlavor, blockBufferOut *uintptr) int32
CMClosedCaptionFormatDescriptionCopyAsBigEndianClosedCaptionDescriptionBlockBuffer copies the contents of a closed caption format description to a buffer in big-endian byte order.
func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer ¶
func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, closedCaptionDescriptionBlockBuffer uintptr, flavor CMClosedCaptionDescriptionFlavor, formatDescriptionOut *CMClosedCaptionFormatDescriptionRef) int32
CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionBlockBuffer creates a closed caption format description from a big-endian closed caption description structure in a buffer.
func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData ¶
func CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData(allocator corefoundation.CFAllocatorRef, closedCaptionDescriptionData *uint8, size uintptr, flavor CMClosedCaptionDescriptionFlavor, formatDescriptionOut *CMClosedCaptionFormatDescriptionRef) int32
CMClosedCaptionFormatDescriptionCreateFromBigEndianClosedCaptionDescriptionData creates a closed caption format description from a big-endian closed caption description structure.
func CMCopyDictionaryOfAttachments ¶
func CMCopyDictionaryOfAttachments(allocator corefoundation.CFAllocatorRef, target CMAttachmentBearerRef, attachmentMode CMAttachmentMode) corefoundation.CFDictionaryRef
CMCopyDictionaryOfAttachments returns a dictionary of all attachments for an attachment bearer object.
func CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout ¶
func CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout(soundDescriptionBlockBuffer uintptr, flavor CMSoundDescriptionFlavor) bool
CMDoesBigEndianSoundDescriptionRequireLegacyCBRSampleTableLayout returns a Boolean value that indicates whether the sample tables need to use the legacy constant bit-rate encoding layout.
func CMFormatDescriptionCreate ¶
func CMFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, mediaType uint32, mediaSubType uint32, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *uintptr) int32
CMFormatDescriptionCreate creates a format description for general use.
func CMFormatDescriptionEqual ¶
CMFormatDescriptionEqual returns a Boolean value that indicates whether two format descriptions are equal.
func CMFormatDescriptionEqualIgnoringExtensionKeys ¶
func CMFormatDescriptionEqualIgnoringExtensionKeys(formatDescription uintptr, otherFormatDescription uintptr, formatDescriptionExtensionKeysToIgnore corefoundation.CFTypeRef, sampleDescriptionExtensionAtomKeysToIgnore corefoundation.CFTypeRef) bool
CMFormatDescriptionEqualIgnoringExtensionKeys returns a Boolean value that indicates whether two format descriptions are equal, ignoring differences in the extension keys you specify.
func CMFormatDescriptionGetExtension ¶
func CMFormatDescriptionGetExtension(desc uintptr, extensionKey corefoundation.CFStringRef) corefoundation.CFPropertyListRef
CMFormatDescriptionGetExtension returns an extension from the format description by using an extension key.
See: https://developer.apple.com/documentation/CoreMedia/CMFormatDescriptionGetExtension(_:extensionKey:)
func CMFormatDescriptionGetExtensions ¶
func CMFormatDescriptionGetExtensions(desc uintptr) corefoundation.CFDictionaryRef
CMFormatDescriptionGetExtensions returns all of the extensions for a format description.
See: https://developer.apple.com/documentation/CoreMedia/CMFormatDescriptionGetExtensions(_:)
func CMFormatDescriptionGetMediaSubType ¶
CMFormatDescriptionGetMediaSubType returns the media subtype of a format description.
See: https://developer.apple.com/documentation/CoreMedia/CMFormatDescriptionGetMediaSubType(_:)
func CMFormatDescriptionGetMediaType ¶
CMFormatDescriptionGetMediaType returns the media type of a format description.
See: https://developer.apple.com/documentation/CoreMedia/CMFormatDescriptionGetMediaType(_:)
func CMFormatDescriptionGetTypeID ¶
func CMFormatDescriptionGetTypeID() uint
CMFormatDescriptionGetTypeID returns the Core Foundation type identifier that identifies format description objects.
See: https://developer.apple.com/documentation/CoreMedia/CMFormatDescriptionGetTypeID()
func CMGetAttachment ¶
func CMGetAttachment(target CMAttachmentBearerRef, key corefoundation.CFStringRef, attachmentModeOut *CMAttachmentMode) corefoundation.CFTypeRef
CMGetAttachment returns an attachment from an attachment bearer object.
See: https://developer.apple.com/documentation/CoreMedia/CMGetAttachment(_:key:attachmentModeOut:)
func CMMemoryPoolCreate ¶
func CMMemoryPoolCreate(options corefoundation.CFDictionaryRef) uintptr
CMMemoryPoolCreate creates a memory pool.
See: https://developer.apple.com/documentation/CoreMedia/CMMemoryPoolCreate(options:)
func CMMemoryPoolFlush ¶
func CMMemoryPoolFlush(pool uintptr)
CMMemoryPoolFlush deallocates all memory the pool holds.
See: https://developer.apple.com/documentation/CoreMedia/CMMemoryPoolFlush(_:)
func CMMemoryPoolGetAllocator ¶
func CMMemoryPoolGetAllocator(pool uintptr) corefoundation.CFAllocatorRef
CMMemoryPoolGetAllocator returns the allocator for the memory pool.
See: https://developer.apple.com/documentation/CoreMedia/CMMemoryPoolGetAllocator(_:)
func CMMemoryPoolGetTypeID ¶
func CMMemoryPoolGetTypeID() uint
CMMemoryPoolGetTypeID returns the type identifier of memory pool objects.
See: https://developer.apple.com/documentation/CoreMedia/CMMemoryPoolGetTypeID()
func CMMemoryPoolInvalidate ¶
func CMMemoryPoolInvalidate(pool uintptr)
CMMemoryPoolInvalidate invalidates the memory pool, which causes its allocator to stop recycling memory.
See: https://developer.apple.com/documentation/CoreMedia/CMMemoryPoolInvalidate(_:)
func CMMetadataCreateIdentifierForKeyAndKeySpace ¶
func CMMetadataCreateIdentifierForKeyAndKeySpace(allocator corefoundation.CFAllocatorRef, key corefoundation.CFTypeRef, keySpace corefoundation.CFStringRef, identifierOut *corefoundation.CFStringRef) int32
CMMetadataCreateIdentifierForKeyAndKeySpace creates a URL-like string identifier that represents a key or keyspace tuple.
func CMMetadataCreateKeyFromIdentifier ¶
func CMMetadataCreateKeyFromIdentifier(allocator corefoundation.CFAllocatorRef, identifier corefoundation.CFStringRef, keyOut *corefoundation.CFTypeRef) int32
CMMetadataCreateKeyFromIdentifier creates a copy of the key by using an identifier.
func CMMetadataCreateKeyFromIdentifierAsCFData ¶
func CMMetadataCreateKeyFromIdentifierAsCFData(allocator corefoundation.CFAllocatorRef, identifier corefoundation.CFStringRef, keyOut *corefoundation.CFDataRef) int32
CMMetadataCreateKeyFromIdentifierAsCFData creates a copy of the key by using an identifier, and results in a core foundation data object.
func CMMetadataCreateKeySpaceFromIdentifier ¶
func CMMetadataCreateKeySpaceFromIdentifier(allocator corefoundation.CFAllocatorRef, identifier corefoundation.CFStringRef, keySpaceOut *corefoundation.CFStringRef) int32
CMMetadataCreateKeySpaceFromIdentifier creates a copy of the keyspace by using an identifier.
func CMMetadataDataTypeRegistryDataTypeConformsToDataType ¶
func CMMetadataDataTypeRegistryDataTypeConformsToDataType(dataType corefoundation.CFStringRef, conformsToDataType corefoundation.CFStringRef) bool
CMMetadataDataTypeRegistryDataTypeConformsToDataType returns a Boolean value that indicates whether a data type conforms to another data type.
func CMMetadataDataTypeRegistryDataTypeIsBaseDataType ¶
func CMMetadataDataTypeRegistryDataTypeIsBaseDataType(dataType corefoundation.CFStringRef) bool
CMMetadataDataTypeRegistryDataTypeIsBaseDataType returns a Boolean value that indicates whether a data type identifier represents a base data type.
func CMMetadataDataTypeRegistryDataTypeIsRegistered ¶
func CMMetadataDataTypeRegistryDataTypeIsRegistered(dataType corefoundation.CFStringRef) bool
CMMetadataDataTypeRegistryDataTypeIsRegistered returns a Boolean value that indicates the registration status of a data type identifier.
func CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType ¶
func CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType(dataType corefoundation.CFStringRef) corefoundation.CFStringRef
CMMetadataDataTypeRegistryGetBaseDataTypeForConformingDataType returns the base data type identifier that a data type conforms to.
func CMMetadataDataTypeRegistryGetBaseDataTypes ¶
func CMMetadataDataTypeRegistryGetBaseDataTypes() corefoundation.CFArrayRef
CMMetadataDataTypeRegistryGetBaseDataTypes returns an array of base data type identifiers.
See: https://developer.apple.com/documentation/CoreMedia/CMMetadataDataTypeRegistryGetBaseDataTypes()
func CMMetadataDataTypeRegistryGetConformingDataTypes ¶
func CMMetadataDataTypeRegistryGetConformingDataTypes(dataType corefoundation.CFStringRef) corefoundation.CFArrayRef
CMMetadataDataTypeRegistryGetConformingDataTypes returns the conforming data types for the data type, if any.
func CMMetadataDataTypeRegistryGetDataTypeDescription ¶
func CMMetadataDataTypeRegistryGetDataTypeDescription(dataType corefoundation.CFStringRef) corefoundation.CFStringRef
CMMetadataDataTypeRegistryGetDataTypeDescription returns the data type description if it exists.
func CMMetadataDataTypeRegistryRegisterDataType ¶
func CMMetadataDataTypeRegistryRegisterDataType(dataType corefoundation.CFStringRef, description corefoundation.CFStringRef, conformingDataTypes corefoundation.CFArrayRef) int32
CMMetadataDataTypeRegistryRegisterDataType register a data type with the data type registry.
func CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer ¶
func CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, metadataFormatDescription CMMetadataFormatDescriptionRef, flavor CMMetadataDescriptionFlavor, blockBufferOut *uintptr) int32
CMMetadataFormatDescriptionCopyAsBigEndianMetadataDescriptionBlockBuffer copies the contents of a metadata format description to a buffer in big-endian byte order.
func CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions ¶
func CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions(allocator corefoundation.CFAllocatorRef, sourceDescription CMMetadataFormatDescriptionRef, otherSourceDescription CMMetadataFormatDescriptionRef, formatDescriptionOut *CMMetadataFormatDescriptionRef) int32
CMMetadataFormatDescriptionCreateByMergingMetadataFormatDescriptions creates a metadata format description object by merging with another description.
func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer ¶
func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, metadataDescriptionBlockBuffer uintptr, flavor CMMetadataDescriptionFlavor, formatDescriptionOut *CMMetadataFormatDescriptionRef) int32
CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionBlockBuffer creates a metadata format description from a big-endian metadata description structure inside a buffer.
func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData ¶
func CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData(allocator corefoundation.CFAllocatorRef, metadataDescriptionData *uint8, size uintptr, flavor CMMetadataDescriptionFlavor, formatDescriptionOut *CMMetadataFormatDescriptionRef) int32
CMMetadataFormatDescriptionCreateFromBigEndianMetadataDescriptionData creates a metadata format description from a big-endian metadata description structure.
func CMMetadataFormatDescriptionCreateWithKeys ¶
func CMMetadataFormatDescriptionCreateWithKeys(allocator corefoundation.CFAllocatorRef, metadataType CMMetadataFormatType, keys corefoundation.CFArrayRef, formatDescriptionOut *CMMetadataFormatDescriptionRef) int32
CMMetadataFormatDescriptionCreateWithKeys creates a metadata format description with the metadata keys you specify.
func CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications ¶
func CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications(allocator corefoundation.CFAllocatorRef, sourceDescription CMMetadataFormatDescriptionRef, metadataSpecifications corefoundation.CFArrayRef, formatDescriptionOut *CMMetadataFormatDescriptionRef) int32
CMMetadataFormatDescriptionCreateWithMetadataFormatDescriptionAndMetadataSpecifications creates a metadata format description by extending an existing description with the values you specify.
func CMMetadataFormatDescriptionCreateWithMetadataSpecifications ¶
func CMMetadataFormatDescriptionCreateWithMetadataSpecifications(allocator corefoundation.CFAllocatorRef, metadataType CMMetadataFormatType, metadataSpecifications corefoundation.CFArrayRef, formatDescriptionOut *CMMetadataFormatDescriptionRef) int32
CMMetadataFormatDescriptionCreateWithMetadataSpecifications creates a metadata format description with the specifications you specify.
func CMMetadataFormatDescriptionGetIdentifiers ¶
func CMMetadataFormatDescriptionGetIdentifiers(desc CMMetadataFormatDescriptionRef) corefoundation.CFArrayRef
CMMetadataFormatDescriptionGetIdentifiers returns an array of metadata identifiers from a metadata format description.
See: https://developer.apple.com/documentation/CoreMedia/CMMetadataFormatDescriptionGetIdentifiers(_:)
func CMMetadataFormatDescriptionGetKeyWithLocalID ¶
func CMMetadataFormatDescriptionGetKeyWithLocalID(desc CMMetadataFormatDescriptionRef, localKeyID uint32) corefoundation.CFDictionaryRef
CMMetadataFormatDescriptionGetKeyWithLocalID returns the key for the local identifier.
func CMMuxedFormatDescriptionCreate ¶
func CMMuxedFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, muxType CMMuxedStreamType, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *CMMuxedFormatDescriptionRef) int32
CMMuxedFormatDescriptionCreate creates a format description for a muxed media stream.
func CMPropagateAttachments ¶
func CMPropagateAttachments(source CMAttachmentBearerRef, destination CMAttachmentBearerRef)
CMPropagateAttachments copies all propagable attachments from one attachment bearer object to another.
See: https://developer.apple.com/documentation/CoreMedia/CMPropagateAttachments(_:destination:)
func CMRemoveAllAttachments ¶
func CMRemoveAllAttachments(target CMAttachmentBearerRef)
CMRemoveAllAttachments removes all attachments from an attachment bearer object.
See: https://developer.apple.com/documentation/CoreMedia/CMRemoveAllAttachments(_:)
func CMRemoveAttachment ¶
func CMRemoveAttachment(target CMAttachmentBearerRef, key corefoundation.CFStringRef)
CMRemoveAttachment removes a specific attachment from an attachment bearer object.
See: https://developer.apple.com/documentation/CoreMedia/CMRemoveAttachment(_:key:)
func CMSampleBufferCallBlockForEachSample ¶
CMSampleBufferCallBlockForEachSample calls a block for every individual sample in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferCallBlockForEachSample(_:_:)
func CMSampleBufferCallForEachSample ¶
CMSampleBufferCallForEachSample calls a function for every individual sample in a sample buffer.
func CMSampleBufferCopyPCMDataIntoAudioBufferList ¶
func CMSampleBufferCopyPCMDataIntoAudioBufferList(sbuf uintptr, frameOffset int32, numFrames int32, bufferList uintptr) int32
CMSampleBufferCopyPCMDataIntoAudioBufferList copies PCM audio data from a sample buffer into an audio buffer list.
func CMSampleBufferCopySampleBufferForRange ¶
func CMSampleBufferCopySampleBufferForRange(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sampleRange corefoundation.CFRange, sampleBufferOut *uintptr) int32
CMSampleBufferCopySampleBufferForRange creates a sample buffer that contains a range of samples from an existing sample buffer.
func CMSampleBufferCreate ¶
func CMSampleBufferCreate(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, makeDataReadyCallback CMSampleBufferMakeDataReadyCallback, makeDataReadyRefcon unsafe.Pointer, formatDescription uintptr, numSamples int, numSampleTimingEntries int, sampleTimingArray *CMSampleTimingInfo, numSampleSizeEntries int, sampleSizeArray *uintptr, sampleBufferOut *uintptr) int32
CMSampleBufferCreate creates a sample buffer with a callback to make the data ready for use.
func CMSampleBufferCreateCopy ¶
func CMSampleBufferCreateCopy(allocator corefoundation.CFAllocatorRef, sbuf uintptr, sampleBufferOut *uintptr) int32
CMSampleBufferCreateCopy creates a copy of a sample buffer.
func CMSampleBufferCreateCopyWithNewTiming ¶
func CMSampleBufferCreateCopyWithNewTiming(allocator corefoundation.CFAllocatorRef, originalSBuf uintptr, numSampleTimingEntries int, sampleTimingArray *CMSampleTimingInfo, sampleBufferOut *uintptr) int32
CMSampleBufferCreateCopyWithNewTiming creates a copy of a sample buffer with new timing information.
func CMSampleBufferCreateForImageBuffer ¶
func CMSampleBufferCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, dataReady bool, makeDataReadyCallback CMSampleBufferMakeDataReadyCallback, makeDataReadyRefcon unsafe.Pointer, formatDescription uintptr, sampleTiming *CMSampleTimingInfo, sampleBufferOut *uintptr) int32
CMSampleBufferCreateForImageBuffer creates a sample buffer with an image buffer and a callback to make the data ready for use.
func CMSampleBufferCreateForImageBufferWithMakeDataReadyHandler ¶
func CMSampleBufferCreateForImageBufferWithMakeDataReadyHandler(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, dataReady bool, formatDescription uintptr, sampleTiming *CMSampleTimingInfo, sampleBufferOut *uintptr, makeDataReadyHandler CMSampleBufferMakeDataReadyHandler) int32
CMSampleBufferCreateForImageBufferWithMakeDataReadyHandler creates a sample buffer with an image buffer and a handler to make the data ready for use.
func CMSampleBufferCreateForTaggedBufferGroup ¶
func CMSampleBufferCreateForTaggedBufferGroup(allocator corefoundation.CFAllocatorRef, taggedBufferGroup CMTaggedBufferGroupRef, sbufPTS CMTime, sbufDuration CMTime, formatDescription CMTaggedBufferGroupFormatDescriptionRef, sBufOut *uintptr) int32
CMSampleBufferCreateForTaggedBufferGroup creates a new sample buffer from a tagged buffer group.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferCreateForTaggedBufferGroup
func CMSampleBufferCreateReady ¶
func CMSampleBufferCreateReady(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, formatDescription uintptr, numSamples int, numSampleTimingEntries int, sampleTimingArray *CMSampleTimingInfo, numSampleSizeEntries int, sampleSizeArray *uintptr, sampleBufferOut *uintptr) int32
CMSampleBufferCreateReady creates a sample buffer with media data.
func CMSampleBufferCreateReadyWithImageBuffer ¶
func CMSampleBufferCreateReadyWithImageBuffer(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, formatDescription uintptr, sampleTiming *CMSampleTimingInfo, sampleBufferOut *uintptr) int32
CMSampleBufferCreateReadyWithImageBuffer creates a sample buffer with image data.
func CMSampleBufferCreateWithMakeDataReadyHandler ¶
func CMSampleBufferCreateWithMakeDataReadyHandler(allocator corefoundation.CFAllocatorRef, dataBuffer uintptr, dataReady bool, formatDescription uintptr, numSamples int, numSampleTimingEntries int, sampleTimingArray *CMSampleTimingInfo, numSampleSizeEntries int, sampleSizeArray *uintptr, sampleBufferOut *uintptr, makeDataReadyHandler CMSampleBufferMakeDataReadyHandler) int32
CMSampleBufferCreateWithMakeDataReadyHandler creates a sample buffer with a handler to make the data ready for use.
func CMSampleBufferDataIsReady ¶
CMSampleBufferDataIsReady returns a Boolean value that indicates whether the sample buffer’s data is ready for use.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferDataIsReady(_:)
func CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer ¶
func CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer(sbuf uintptr, bufferListSizeNeededOut *uintptr, bufferListOut uintptr, bufferListSize uintptr, blockBufferStructureAllocator corefoundation.CFAllocatorRef, blockBufferBlockAllocator corefoundation.CFAllocatorRef, flags uint32, blockBufferOut *uintptr) int32
CMSampleBufferGetAudioBufferListWithRetainedBlockBuffer returns an audio buffer list that contains the media data.
func CMSampleBufferGetAudioStreamPacketDescriptions ¶
func CMSampleBufferGetAudioStreamPacketDescriptions(sbuf uintptr, packetDescriptionsSize uintptr, packetDescriptionsOut uintptr, packetDescriptionsSizeNeededOut *uintptr) int32
CMSampleBufferGetAudioStreamPacketDescriptions creates an array of audio stream packet descriptions.
func CMSampleBufferGetAudioStreamPacketDescriptionsPtr ¶
func CMSampleBufferGetAudioStreamPacketDescriptionsPtr(sbuf uintptr, packetDescriptionsPointerOut uintptr, packetDescriptionsSizeOut *uintptr) int32
CMSampleBufferGetAudioStreamPacketDescriptionsPtr returns a pointer to a constant array of audio stream packet descriptions.
func CMSampleBufferGetDataBuffer ¶
CMSampleBufferGetDataBuffer returns a block buffer that contains the media data.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetDataBuffer(_:)
func CMSampleBufferGetFormatDescription ¶
CMSampleBufferGetFormatDescription returns the format description of the samples in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetFormatDescription(_:)
func CMSampleBufferGetImageBuffer ¶
func CMSampleBufferGetImageBuffer(sbuf uintptr) corevideo.CVImageBufferRef
CMSampleBufferGetImageBuffer returns an image buffer that contains the media data.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetImageBuffer(_:)
func CMSampleBufferGetNumSamples ¶
CMSampleBufferGetNumSamples returns the number of media samples in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetNumSamples(_:)
func CMSampleBufferGetOutputSampleTimingInfoArray ¶
func CMSampleBufferGetOutputSampleTimingInfoArray(sbuf uintptr, timingArrayEntries int, timingArrayOut *CMSampleTimingInfo, timingArrayEntriesNeededOut *int) int32
CMSampleBufferGetOutputSampleTimingInfoArray retrieves an array of output timing information structures that represents each sample in a sample buffer.
func CMSampleBufferGetSampleAttachmentsArray ¶
func CMSampleBufferGetSampleAttachmentsArray(sbuf uintptr, createIfNecessary bool) corefoundation.CFArrayRef
CMSampleBufferGetSampleAttachmentsArray retrieves an array of sample attachment dictionaries that represents each sample in a sample buffer.
func CMSampleBufferGetSampleSize ¶
CMSampleBufferGetSampleSize returns the size in bytes of a specified sample in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetSampleSize(_:at:)
func CMSampleBufferGetSampleSizeArray ¶
func CMSampleBufferGetSampleSizeArray(sbuf uintptr, sizeArrayEntries int, sizeArrayOut *uintptr, sizeArrayEntriesNeededOut *int) int32
CMSampleBufferGetSampleSizeArray retrieves an array of sample sizes that represents each sample in a sample buffer.
func CMSampleBufferGetSampleTimingInfo ¶
func CMSampleBufferGetSampleTimingInfo(sbuf uintptr, sampleIndex int, timingInfoOut *CMSampleTimingInfo) int32
CMSampleBufferGetSampleTimingInfo retrieves a timing information structure that describes a specified sample in a sample buffer.
func CMSampleBufferGetSampleTimingInfoArray ¶
func CMSampleBufferGetSampleTimingInfoArray(sbuf uintptr, numSampleTimingEntries int, timingArrayOut *CMSampleTimingInfo, timingArrayEntriesNeededOut *int) int32
CMSampleBufferGetSampleTimingInfoArray retrieves an array of sample timing information structures that represents each sample in a sample buffer.
func CMSampleBufferGetTotalSampleSize ¶
CMSampleBufferGetTotalSampleSize returns the total size in bytes of sample data in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetTotalSampleSize(_:)
func CMSampleBufferGetTypeID ¶
func CMSampleBufferGetTypeID() uint
CMSampleBufferGetTypeID returns the type identifier of sample buffer objects.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetTypeID()
func CMSampleBufferHasDataFailed ¶
CMSampleBufferHasDataFailed returns a Boolean value that indicates whether the sample buffer’s data loading request failed.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferHasDataFailed(_:statusOut:)
func CMSampleBufferInvalidate ¶
CMSampleBufferInvalidate invalidates a sample buffer by calling its invalidation callback.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferInvalidate(_:)
func CMSampleBufferIsValid ¶
CMSampleBufferIsValid returns a Boolean value that indicates whether a sample buffer is valid.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferIsValid(_:)
func CMSampleBufferMakeDataReady ¶
CMSampleBufferMakeDataReady makes the sample buffer’s data ready for use by invoking its callback to load the data.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferMakeDataReady(_:)
func CMSampleBufferSetDataBuffer ¶
CMSampleBufferSetDataBuffer sets a block buffer of media data on a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferSetDataBuffer(_:newValue:)
func CMSampleBufferSetDataBufferFromAudioBufferList ¶
func CMSampleBufferSetDataBufferFromAudioBufferList(sbuf uintptr, blockBufferStructureAllocator corefoundation.CFAllocatorRef, blockBufferBlockAllocator corefoundation.CFAllocatorRef, flags uint32, bufferList uintptr) int32
CMSampleBufferSetDataBufferFromAudioBufferList creates a block buffer that contains a copy of the data from an audio buffer list.
func CMSampleBufferSetDataFailed ¶
CMSampleBufferSetDataFailed marks the sample buffer’s data as failed to indicate that it won’t become ready.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferSetDataFailed(_:status:)
func CMSampleBufferSetDataReady ¶
CMSampleBufferSetDataReady marks a sample buffer’s data as ready for use.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferSetDataReady(_:)
func CMSampleBufferSetInvalidateCallback ¶
func CMSampleBufferSetInvalidateCallback(sbuf uintptr, invalidateCallback CMSampleBufferInvalidateCallback, invalidateRefCon uint64) int32
CMSampleBufferSetInvalidateCallback sets the sample buffer’s invalidation callback.
func CMSampleBufferSetInvalidateHandler ¶
func CMSampleBufferSetInvalidateHandler(sbuf uintptr, invalidateHandler CMSampleBufferInvalidateHandler) int32
CMSampleBufferSetInvalidateHandler sets the sample buffer’s invalidation handler.
func CMSampleBufferSetOutputPresentationTimeStamp ¶
func CMSampleBufferSetOutputPresentationTimeStamp(sbuf uintptr, outputPresentationTimeStamp CMTime) int32
CMSampleBufferSetOutputPresentationTimeStamp sets an output presentation timestamp to use in place of a calculated value.
func CMSampleBufferTrackDataReadiness ¶
CMSampleBufferTrackDataReadiness associates a sample buffer’s data readiness with that of another sample buffer.
func CMSetAttachment ¶
func CMSetAttachment(target CMAttachmentBearerRef, key corefoundation.CFStringRef, value corefoundation.CFTypeRef, attachmentMode CMAttachmentMode)
CMSetAttachment sets or adds an attachment to an attachment bearer object.
See: https://developer.apple.com/documentation/CoreMedia/CMSetAttachment(_:key:value:attachmentMode:)
func CMSetAttachments ¶
func CMSetAttachments(target CMAttachmentBearerRef, theAttachments corefoundation.CFDictionaryRef, attachmentMode CMAttachmentMode)
CMSetAttachments sets a dictionary of attachments on an attachment bearer object.
See: https://developer.apple.com/documentation/CoreMedia/CMSetAttachments(_:attachments:attachmentMode:)
func CMSimpleQueueCreate ¶
func CMSimpleQueueCreate(allocator corefoundation.CFAllocatorRef, capacity int32, queueOut *CMSimpleQueueRef) int32
CMSimpleQueueCreate creates a queue that has the specified capacity.
func CMSimpleQueueDequeue ¶
func CMSimpleQueueDequeue(queue CMSimpleQueueRef) unsafe.Pointer
CMSimpleQueueDequeue dequeues an element from the queue.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueDequeue(_:)
func CMSimpleQueueEnqueue ¶
func CMSimpleQueueEnqueue(queue CMSimpleQueueRef, element unsafe.Pointer) int32
CMSimpleQueueEnqueue enqueues an element in the queue.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueEnqueue(_:element:)
func CMSimpleQueueGetCapacity ¶
func CMSimpleQueueGetCapacity(queue CMSimpleQueueRef) int32
CMSimpleQueueGetCapacity returns the number of elements that the queue can hold.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueGetCapacity(_:)
func CMSimpleQueueGetCount ¶
func CMSimpleQueueGetCount(queue CMSimpleQueueRef) int32
CMSimpleQueueGetCount returns the number of elements currently in the queue.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueGetCount(_:)
func CMSimpleQueueGetHead ¶
func CMSimpleQueueGetHead(queue CMSimpleQueueRef) unsafe.Pointer
CMSimpleQueueGetHead returns the element at the head of the queue.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueGetHead(_:)
func CMSimpleQueueGetTypeID ¶
func CMSimpleQueueGetTypeID() uint
CMSimpleQueueGetTypeID returns the type identifier of sample buffer objects.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueGetTypeID()
func CMSimpleQueueReset ¶
func CMSimpleQueueReset(queue CMSimpleQueueRef) int32
CMSimpleQueueReset resets the queue.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueueReset(_:)
func CMSwapBigEndianClosedCaptionDescriptionToHost ¶
func CMSwapBigEndianClosedCaptionDescriptionToHost(closedCaptionDescriptionData *uint8, closedCaptionDescriptionSize uintptr) int32
CMSwapBigEndianClosedCaptionDescriptionToHost converts a closed caption description structure from big-endian to host-endian, in place.
func CMSwapBigEndianImageDescriptionToHost ¶
func CMSwapBigEndianImageDescriptionToHost(imageDescriptionData *uint8, imageDescriptionSize uintptr) int32
CMSwapBigEndianImageDescriptionToHost converts an image description data structure from big-endian to host-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapBigEndianImageDescriptionToHost(_:_:)
func CMSwapBigEndianMetadataDescriptionToHost ¶
func CMSwapBigEndianMetadataDescriptionToHost(metadataDescriptionData *uint8, metadataDescriptionSize uintptr) int32
CMSwapBigEndianMetadataDescriptionToHost converts a metadata description data structure from big-endian to host-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapBigEndianMetadataDescriptionToHost(_:_:)
func CMSwapBigEndianSoundDescriptionToHost ¶
func CMSwapBigEndianSoundDescriptionToHost(soundDescriptionData *uint8, soundDescriptionSize uintptr) int32
CMSwapBigEndianSoundDescriptionToHost converts a sound description data structure from big-endian to host-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapBigEndianSoundDescriptionToHost(_:_:)
func CMSwapBigEndianTextDescriptionToHost ¶
func CMSwapBigEndianTextDescriptionToHost(textDescriptionData *uint8, textDescriptionSize uintptr) int32
CMSwapBigEndianTextDescriptionToHost converts a text description structure from big-endian to host-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapBigEndianTextDescriptionToHost(_:_:)
func CMSwapBigEndianTimeCodeDescriptionToHost ¶
func CMSwapBigEndianTimeCodeDescriptionToHost(timeCodeDescriptionData *uint8, timeCodeDescriptionSize uintptr) int32
CMSwapBigEndianTimeCodeDescriptionToHost converts a time code description data structure from big-endian to host-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapBigEndianTimeCodeDescriptionToHost(_:_:)
func CMSwapHostEndianClosedCaptionDescriptionToBig ¶
func CMSwapHostEndianClosedCaptionDescriptionToBig(closedCaptionDescriptionData *uint8, closedCaptionDescriptionSize uintptr) int32
CMSwapHostEndianClosedCaptionDescriptionToBig converts a closed caption description structure from host-endian to big-endian, in place.
func CMSwapHostEndianImageDescriptionToBig ¶
func CMSwapHostEndianImageDescriptionToBig(imageDescriptionData *uint8, imageDescriptionSize uintptr) int32
CMSwapHostEndianImageDescriptionToBig converts an image description data structure from host-endian to big-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapHostEndianImageDescriptionToBig(_:_:)
func CMSwapHostEndianMetadataDescriptionToBig ¶
func CMSwapHostEndianMetadataDescriptionToBig(metadataDescriptionData *uint8, metadataDescriptionSize uintptr) int32
CMSwapHostEndianMetadataDescriptionToBig converts a metadata description data structure from host-endian to big-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapHostEndianMetadataDescriptionToBig(_:_:)
func CMSwapHostEndianSoundDescriptionToBig ¶
func CMSwapHostEndianSoundDescriptionToBig(soundDescriptionData *uint8, soundDescriptionSize uintptr) int32
CMSwapHostEndianSoundDescriptionToBig converts a sound description data structure from host-endian to big-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapHostEndianSoundDescriptionToBig(_:_:)
func CMSwapHostEndianTextDescriptionToBig ¶
func CMSwapHostEndianTextDescriptionToBig(textDescriptionData *uint8, textDescriptionSize uintptr) int32
CMSwapHostEndianTextDescriptionToBig converts a text description structure from host-endian to big-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapHostEndianTextDescriptionToBig(_:_:)
func CMSwapHostEndianTimeCodeDescriptionToBig ¶
func CMSwapHostEndianTimeCodeDescriptionToBig(timeCodeDescriptionData *uint8, timeCodeDescriptionSize uintptr) int32
CMSwapHostEndianTimeCodeDescriptionToBig converts a time code description data structure from host-endian to big-endian, in place.
See: https://developer.apple.com/documentation/CoreMedia/CMSwapHostEndianTimeCodeDescriptionToBig(_:_:)
func CMSyncGetRelativeRate ¶
func CMSyncGetRelativeRate(ofClockOrTimebase CMClockOrTimebaseRef, relativeToClockOrTimebase CMClockOrTimebaseRef) float64
CMSyncGetRelativeRate returns the relative rate of one timebase or clock relative to another timebase or clock.
See: https://developer.apple.com/documentation/CoreMedia/CMSyncGetRelativeRate(_:relativeTo:)
func CMSyncGetRelativeRateAndAnchorTime ¶
func CMSyncGetRelativeRateAndAnchorTime(ofClockOrTimebase CMClockOrTimebaseRef, relativeToClockOrTimebase CMClockOrTimebaseRef, outRelativeRate *float64, outOfClockOrTimebaseAnchorTime *CMTime, outRelativeToClockOrTimebaseAnchorTime *CMTime) int32
CMSyncGetRelativeRateAndAnchorTime returns the relative rate of one timebase or clock relative to another timebase or clock and the times of each timebase or clock at which the relative rate went into effect.
func CMSyncMightDrift ¶
func CMSyncMightDrift(clockOrTimebase1 CMClockOrTimebaseRef, clockOrTimebase2 CMClockOrTimebaseRef) bool
CMSyncMightDrift returns a Boolean value that indicates whether it’s possible for one timebase or clock to drift relative to the other.
See: https://developer.apple.com/documentation/CoreMedia/CMSyncMightDrift(_:_:)
func CMTagCollectionAddTag ¶
func CMTagCollectionAddTag(tagCollection CMMutableTagCollectionRef, tagToAdd CMTag) int32
CMTagCollectionAddTag adds a new tag to an existing collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionAddTag
func CMTagCollectionAddTagsFromArray ¶
func CMTagCollectionAddTagsFromArray(tagCollection CMMutableTagCollectionRef, tags *CMTag, tagCount int) int32
CMTagCollectionAddTagsFromArray adds the tags contained in a C-style array to a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionAddTagsFromArray
func CMTagCollectionAddTagsFromCollection ¶
func CMTagCollectionAddTagsFromCollection(tagCollection CMMutableTagCollectionRef, collectionWithTagsToAdd CMTagCollectionRef) int32
CMTagCollectionAddTagsFromCollection add the tags contained in one collection to another.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionAddTagsFromCollection
func CMTagCollectionApply ¶
func CMTagCollectionApply(tagCollection CMTagCollectionRef, applier CMTagCollectionApplierFunction, context unsafe.Pointer)
CMTagCollectionApply applies a function to all tags in a collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionApply
func CMTagCollectionContainsCategory ¶
func CMTagCollectionContainsCategory(tagCollection CMTagCollectionRef, category CMTagCategory) bool
CMTagCollectionContainsCategory determines if a tag collection contains tags for a given category.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionContainsCategory
func CMTagCollectionContainsSpecifiedTags ¶
func CMTagCollectionContainsSpecifiedTags(tagCollection CMTagCollectionRef, containedTags *CMTag, containedTagCount int) bool
CMTagCollectionContainsSpecifiedTags determines if a tag collection contains a subset of tags.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionContainsSpecifiedTags
func CMTagCollectionContainsTag ¶
func CMTagCollectionContainsTag(tagCollection CMTagCollectionRef, tag CMTag) bool
CMTagCollectionContainsTag determines if a tag collection contains a specific tag.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionContainsTag
func CMTagCollectionContainsTagsOfCollection ¶
func CMTagCollectionContainsTagsOfCollection(tagCollection CMTagCollectionRef, containedTagCollection CMTagCollectionRef) bool
CMTagCollectionContainsTagsOfCollection determines if one collection of tags contains every tag from another collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionContainsTagsOfCollection
func CMTagCollectionCopyAsData ¶
func CMTagCollectionCopyAsData(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef) corefoundation.CFDataRef
CMTagCollectionCopyAsData creates a new Core Foundation data instance from a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCopyAsData
func CMTagCollectionCopyAsDictionary ¶
func CMTagCollectionCopyAsDictionary(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
CMTagCollectionCopyAsDictionary creates a new Core Foundation dictionary from a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCopyAsDictionary
func CMTagCollectionCopyDescription ¶
func CMTagCollectionCopyDescription(allocator corefoundation.CFAllocatorRef, tagCollection CMTagCollectionRef) corefoundation.CFStringRef
CMTagCollectionCopyDescription retrieves a copy of the tag collection’s description.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCopyDescription
func CMTagCollectionCopyTagsOfCategories ¶
func CMTagCollectionCopyTagsOfCategories(allocator corefoundation.CFAllocatorRef, tagCollection CMTagCollectionRef, categories *CMTagCategory, categoriesCount int, collectionWithTagsOfCategories *CMTagCollectionRef) int32
CMTagCollectionCopyTagsOfCategories creates a new tag collection from an existing collection, copying all tags which match a list of categories.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCopyTagsOfCategories
func CMTagCollectionCountTagsWithFilterFunction ¶
func CMTagCollectionCountTagsWithFilterFunction(tagCollection CMTagCollectionRef, filterApplier CMTagCollectionTagFilterFunction, context unsafe.Pointer) int
CMTagCollectionCountTagsWithFilterFunction counts the number of tags in a collection matching an evaluation function.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCountTagsWithFilterFunction
func CMTagCollectionCreate ¶
func CMTagCollectionCreate(allocator corefoundation.CFAllocatorRef, tags *CMTag, tagCount int, newCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreate creates a new tag collection from an existing C-style array of tags.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreate
func CMTagCollectionCreateCopy ¶
func CMTagCollectionCreateCopy(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef, newCollectionCopyOut *CMTagCollectionRef) int32
CMTagCollectionCreateCopy creates a copy of a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateCopy
func CMTagCollectionCreateDifference ¶
func CMTagCollectionCreateDifference(tagCollectionMinuend CMTagCollectionRef, tagCollectionSubtrahend CMTagCollectionRef, tagCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreateDifference creates a new tag collection with the difference of two existing collections.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateDifference
func CMTagCollectionCreateExclusiveOr ¶
func CMTagCollectionCreateExclusiveOr(tagCollection1 CMTagCollectionRef, tagCollection2 CMTagCollectionRef, tagCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreateExclusiveOr creates a new tag collection from two existing tag collections, copying elements which are in one collection or the other, but not both.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateExclusiveOr
func CMTagCollectionCreateFromData ¶
func CMTagCollectionCreateFromData(data corefoundation.CFDataRef, allocator corefoundation.CFAllocatorRef, newCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreateFromData creates a new tag collection from an existing Core Foundation data instance.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateFromData
func CMTagCollectionCreateFromDictionary ¶
func CMTagCollectionCreateFromDictionary(dict corefoundation.CFDictionaryRef, allocator corefoundation.CFAllocatorRef, newCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreateFromDictionary creates a new tag collection from an existing Core Foundation dictionary.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateFromDictionary
func CMTagCollectionCreateIntersection ¶
func CMTagCollectionCreateIntersection(tagCollection1 CMTagCollectionRef, tagCollection2 CMTagCollectionRef, tagCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreateIntersection creates a new tag collection containing only the tags from two existing collections which match.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateIntersection
func CMTagCollectionCreateMutable ¶
func CMTagCollectionCreateMutable(allocator corefoundation.CFAllocatorRef, capacity int, newMutableCollectionOut *CMMutableTagCollectionRef) int32
CMTagCollectionCreateMutable creates a new, mutable, empty tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateMutable
func CMTagCollectionCreateMutableCopy ¶
func CMTagCollectionCreateMutableCopy(tagCollection CMTagCollectionRef, allocator corefoundation.CFAllocatorRef, newMutableCollectionCopyOut *CMMutableTagCollectionRef) int32
CMTagCollectionCreateMutableCopy creates a new mutable copy from an existing tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateMutableCopy
func CMTagCollectionCreateUnion ¶
func CMTagCollectionCreateUnion(tagCollection1 CMTagCollectionRef, tagCollection2 CMTagCollectionRef, tagCollectionOut *CMTagCollectionRef) int32
CMTagCollectionCreateUnion creates a new tag collection containing all tags from two collections without duplicates.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionCreateUnion
func CMTagCollectionGetCount ¶
func CMTagCollectionGetCount(tagCollection CMTagCollectionRef) int
CMTagCollectionGetCount gets the number of tags in a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionGetCount
func CMTagCollectionGetCountOfCategory ¶
func CMTagCollectionGetCountOfCategory(tagCollection CMTagCollectionRef, category CMTagCategory) int
CMTagCollectionGetCountOfCategory retrieves the number of tags in the collection matching a given category.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionGetCountOfCategory
func CMTagCollectionGetTags ¶
func CMTagCollectionGetTags(tagCollection CMTagCollectionRef, tagBuffer *CMTag, tagBufferCount int, numberOfTagsCopied *int) int32
CMTagCollectionGetTags retrieves an arbitrary number of tags from the collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionGetTags
func CMTagCollectionGetTagsWithCategory ¶
func CMTagCollectionGetTagsWithCategory(tagCollection CMTagCollectionRef, category CMTagCategory, tagBuffer *CMTag, tagBufferCount int, numberOfTagsCopied *int) int32
CMTagCollectionGetTagsWithCategory retrieves a C-style array of tags with a given category from a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionGetTagsWithCategory
func CMTagCollectionGetTagsWithFilterFunction ¶
func CMTagCollectionGetTagsWithFilterFunction(tagCollection CMTagCollectionRef, tagBuffer *CMTag, tagBufferCount int, numberOfTagsCopied *int, filter CMTagCollectionTagFilterFunction, context unsafe.Pointer) int32
CMTagCollectionGetTagsWithFilterFunction gets all tags in a collection matching an evaluation function.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionGetTagsWithFilterFunction
func CMTagCollectionGetTypeID ¶
func CMTagCollectionGetTypeID() uint
CMTagCollectionGetTypeID retrieves the internal type ID for tag collections.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionGetTypeID
func CMTagCollectionIsEmpty ¶
func CMTagCollectionIsEmpty(tagCollection CMTagCollectionRef) bool
CMTagCollectionIsEmpty checks if a tag collection has no elements.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionIsEmpty
func CMTagCollectionRemoveAllTags ¶
func CMTagCollectionRemoveAllTags(tagCollection CMMutableTagCollectionRef) int32
CMTagCollectionRemoveAllTags removes all tags from a collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionRemoveAllTags
func CMTagCollectionRemoveAllTagsOfCategory ¶
func CMTagCollectionRemoveAllTagsOfCategory(tagCollection CMMutableTagCollectionRef, category CMTagCategory) int32
CMTagCollectionRemoveAllTagsOfCategory removes all tags of a given category from a collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionRemoveAllTagsOfCategory
func CMTagCollectionRemoveTag ¶
func CMTagCollectionRemoveTag(tagCollection CMMutableTagCollectionRef, tagToRemove CMTag) int32
CMTagCollectionRemoveTag removes a specific tag from a collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionRemoveTag
func CMTagCompare ¶
func CMTagCompare(tag1 CMTag, tag2 CMTag) corefoundation.CFComparisonResult
CMTagCompare compares two tags in terms of partial equality.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCompare
func CMTagCopyAsDictionary ¶
func CMTagCopyAsDictionary(tag CMTag, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
CMTagCopyAsDictionary copies an existing tag to a new dictionary object.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCopyAsDictionary
func CMTagCopyDescription ¶
func CMTagCopyDescription(allocator corefoundation.CFAllocatorRef, tag CMTag) corefoundation.CFStringRef
CMTagCopyDescription copies the description of a tag to a new string.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCopyDescription
func CMTagEqualToTag ¶
CMTagEqualToTag compares two tags for strict equality.
See: https://developer.apple.com/documentation/CoreMedia/CMTagEqualToTag
func CMTagGetFlagsValue ¶
CMTagGetFlagsValue retrieves a tag’s value as a 64-bit field flag.
See: https://developer.apple.com/documentation/CoreMedia/CMTagGetFlagsValue
func CMTagGetFloat64Value ¶
CMTagGetFloat64Value retrieves a tag’s value as a 64-bit floating point number.
See: https://developer.apple.com/documentation/CoreMedia/CMTagGetFloat64Value
func CMTagGetOSTypeValue ¶
CMTagGetOSTypeValue retrieves a tag’s value for use by the operating system.
See: https://developer.apple.com/documentation/CoreMedia/CMTagGetOSTypeValue
func CMTagGetSInt64Value ¶
CMTagGetSInt64Value retrieves a tag’s value as a signed 64-bit integer.
See: https://developer.apple.com/documentation/CoreMedia/CMTagGetSInt64Value
func CMTagHasFlagsValue ¶
CMTagHasFlagsValue whether a given tag contains a value for a 64-bit flag field.
See: https://developer.apple.com/documentation/CoreMedia/CMTagHasFlagsValue
func CMTagHasFloat64Value ¶
CMTagHasFloat64Value whether a given tag contains a value for a 64-bit floating point number.
See: https://developer.apple.com/documentation/CoreMedia/CMTagHasFloat64Value
func CMTagHasOSTypeValue ¶
CMTagHasOSTypeValue whether a given tag contains a value for use by the operating system.
See: https://developer.apple.com/documentation/CoreMedia/CMTagHasOSTypeValue
func CMTagHasSInt64Value ¶
CMTagHasSInt64Value whether a given tag contains a value for a signed 64-bit integer.
See: https://developer.apple.com/documentation/CoreMedia/CMTagHasSInt64Value
func CMTagHash ¶
CMTagHash generates a hash identifier for a tag.
See: https://developer.apple.com/documentation/CoreMedia/CMTagHash
func CMTaggedBufferGroupCreate ¶
func CMTaggedBufferGroupCreate(allocator corefoundation.CFAllocatorRef, tagCollections corefoundation.CFArrayRef, buffers corefoundation.CFArrayRef, groupOut *CMTaggedBufferGroupRef) int32
CMTaggedBufferGroupCreate creates a new tagged buffer group from a pair of buffers and the tags to associate with them.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupCreate
func CMTaggedBufferGroupCreateCombined ¶
func CMTaggedBufferGroupCreateCombined(allocator corefoundation.CFAllocatorRef, taggedBufferGroups corefoundation.CFArrayRef, groupOut *CMTaggedBufferGroupRef) int32
CMTaggedBufferGroupCreateCombined creates a new tagged buffer group from an array of existing tagged buffer groups.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupCreateCombined
func CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup ¶
func CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup(allocator corefoundation.CFAllocatorRef, taggedBufferGroup CMTaggedBufferGroupRef, formatDescriptionOut *CMTaggedBufferGroupFormatDescriptionRef) int32
CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroup creates a new format description for a tagged buffer group.
func CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroupWithExtensions ¶
func CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroupWithExtensions(allocator corefoundation.CFAllocatorRef, taggedBufferGroup CMTaggedBufferGroupRef, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *CMTaggedBufferGroupFormatDescriptionRef) int32
CMTaggedBufferGroupFormatDescriptionCreateForTaggedBufferGroupWithExtensions.
func CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup ¶
func CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup(desc CMTaggedBufferGroupFormatDescriptionRef, taggedBufferGroup CMTaggedBufferGroupRef) bool
CMTaggedBufferGroupFormatDescriptionMatchesTaggedBufferGroup checks to see if a tagged buffer group’s format matches an existing format description.
func CMTaggedBufferGroupGetCMSampleBufferAtIndex ¶
func CMTaggedBufferGroupGetCMSampleBufferAtIndex(group CMTaggedBufferGroupRef, index int) uintptr
CMTaggedBufferGroupGetCMSampleBufferAtIndex gets the sample buffer at a given index in the buffer group.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetCMSampleBufferAtIndex
func CMTaggedBufferGroupGetCMSampleBufferForTag ¶
func CMTaggedBufferGroupGetCMSampleBufferForTag(group CMTaggedBufferGroupRef, tag CMTag, indexOut *int) uintptr
CMTaggedBufferGroupGetCMSampleBufferForTag gets the single sample buffer in a group which contains a given tag, if present.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetCMSampleBufferForTag
func CMTaggedBufferGroupGetCMSampleBufferForTagCollection ¶
func CMTaggedBufferGroupGetCMSampleBufferForTagCollection(group CMTaggedBufferGroupRef, tagCollection CMTagCollectionRef, indexOut *int) uintptr
CMTaggedBufferGroupGetCMSampleBufferForTagCollection gets the single sample buffer in a group which contains a given tag collection, if present.
func CMTaggedBufferGroupGetCVPixelBufferAtIndex ¶
func CMTaggedBufferGroupGetCVPixelBufferAtIndex(group CMTaggedBufferGroupRef, index int) corevideo.CVPixelBufferRef
CMTaggedBufferGroupGetCVPixelBufferAtIndex gets the pixel buffer at a given index in the buffer group.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetCVPixelBufferAtIndex
func CMTaggedBufferGroupGetCVPixelBufferForTag ¶
func CMTaggedBufferGroupGetCVPixelBufferForTag(group CMTaggedBufferGroupRef, tag CMTag, indexOut *int) corevideo.CVPixelBufferRef
CMTaggedBufferGroupGetCVPixelBufferForTag gets the single pixel buffer in a group which contains a given tag, if present.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetCVPixelBufferForTag
func CMTaggedBufferGroupGetCVPixelBufferForTagCollection ¶
func CMTaggedBufferGroupGetCVPixelBufferForTagCollection(group CMTaggedBufferGroupRef, tagCollection CMTagCollectionRef, indexOut *int) corevideo.CVPixelBufferRef
CMTaggedBufferGroupGetCVPixelBufferForTagCollection gets the single pixel buffer in a group which contains a given tag collection, if present.
func CMTaggedBufferGroupGetCount ¶
func CMTaggedBufferGroupGetCount(group CMTaggedBufferGroupRef) int
CMTaggedBufferGroupGetCount gets the number of buffers contained within a tagged buffer group.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetCount
func CMTaggedBufferGroupGetNumberOfMatchesForTagCollection ¶
func CMTaggedBufferGroupGetNumberOfMatchesForTagCollection(group CMTaggedBufferGroupRef, tagCollection CMTagCollectionRef) int
CMTaggedBufferGroupGetNumberOfMatchesForTagCollection gets the number of buffers in the group associated with a given tag collection.
func CMTaggedBufferGroupGetTypeID ¶
func CMTaggedBufferGroupGetTypeID() uint
CMTaggedBufferGroupGetTypeID gets the internal type ID for a tagged buffer group.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetTypeID
func CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer ¶
func CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, textFormatDescription CMTextFormatDescriptionRef, flavor CMTextDescriptionFlavor, blockBufferOut *uintptr) int32
CMTextFormatDescriptionCopyAsBigEndianTextDescriptionBlockBuffer copies the contents of a text format description to a buffer in big-endian byte order.
func CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer ¶
func CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, textDescriptionBlockBuffer uintptr, flavor CMTextDescriptionFlavor, mediaType uint32, formatDescriptionOut *CMTextFormatDescriptionRef) int32
CMTextFormatDescriptionCreateFromBigEndianTextDescriptionBlockBuffer creates a text format description from a big-endian text description structure inside a buffer.
func CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData ¶
func CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData(allocator corefoundation.CFAllocatorRef, textDescriptionData *uint8, size uintptr, flavor CMTextDescriptionFlavor, mediaType uint32, formatDescriptionOut *CMTextFormatDescriptionRef) int32
CMTextFormatDescriptionCreateFromBigEndianTextDescriptionData creates a text format description from a big-endian text description structure.
func CMTextFormatDescriptionGetDefaultStyle ¶
func CMTextFormatDescriptionGetDefaultStyle(desc uintptr, localFontIDOut *uint16, boldOut *bool, italicOut *bool, underlineOut *bool, fontSizeOut *float64, colorComponentsOut float64) int32
CMTextFormatDescriptionGetDefaultStyle returns the default text style.
func CMTextFormatDescriptionGetDefaultTextBox ¶
func CMTextFormatDescriptionGetDefaultTextBox(desc uintptr, originIsAtTopLeft bool, heightOfTextTrack float64, defaultTextBoxOut *corefoundation.CGRect) int32
CMTextFormatDescriptionGetDefaultTextBox returns the default text box.
func CMTextFormatDescriptionGetDisplayFlags ¶
func CMTextFormatDescriptionGetDisplayFlags(desc uintptr, displayFlagsOut *CMTextDisplayFlags) int32
CMTextFormatDescriptionGetDisplayFlags returns the display flags.
func CMTextFormatDescriptionGetFontName ¶
func CMTextFormatDescriptionGetFontName(desc uintptr, localFontID uint16, fontNameOut *corefoundation.CFStringRef) int32
CMTextFormatDescriptionGetFontName returns a font name for a local font identifier.
func CMTextFormatDescriptionGetJustification ¶
func CMTextFormatDescriptionGetJustification(desc uintptr, horizontaJustificationlOut *CMTextJustificationValue, verticalJustificationOut *CMTextJustificationValue) int32
CMTextFormatDescriptionGetJustification returns the horizontal and vertical justification.
func CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer ¶
func CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, timeCodeFormatDescription CMTimeCodeFormatDescriptionRef, flavor CMTimeCodeDescriptionFlavor, blockBufferOut *uintptr) int32
CMTimeCodeFormatDescriptionCopyAsBigEndianTimeCodeDescriptionBlockBuffer copies the contents of a time code format description to a buffer in big-endian byte order.
func CMTimeCodeFormatDescriptionCreate ¶
func CMTimeCodeFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, timeCodeFormatType CMTimeCodeFormatType, frameDuration CMTime, frameQuanta uint32, flags uint32, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *CMTimeCodeFormatDescriptionRef) int32
CMTimeCodeFormatDescriptionCreate creates a format description for time code media.
func CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer ¶
func CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, timeCodeDescriptionBlockBuffer uintptr, flavor CMTimeCodeDescriptionFlavor, formatDescriptionOut *CMTimeCodeFormatDescriptionRef) int32
CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionBlockBuffer creates a time code format description from a big-endian time code description data structure in a buffer.
func CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData ¶
func CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData(allocator corefoundation.CFAllocatorRef, timeCodeDescriptionData *uint8, size uintptr, flavor CMTimeCodeDescriptionFlavor, formatDescriptionOut *CMTimeCodeFormatDescriptionRef) int32
CMTimeCodeFormatDescriptionCreateFromBigEndianTimeCodeDescriptionData creates a time code format description from a big-endian time code description structure.
func CMTimeCodeFormatDescriptionGetFrameQuanta ¶
func CMTimeCodeFormatDescriptionGetFrameQuanta(timeCodeFormatDescription CMTimeCodeFormatDescriptionRef) uint32
CMTimeCodeFormatDescriptionGetFrameQuanta returns the frames per second for a time code, or frames per tick in counter mode.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCodeFormatDescriptionGetFrameQuanta(_:)
func CMTimeCodeFormatDescriptionGetTimeCodeFlags ¶
func CMTimeCodeFormatDescriptionGetTimeCodeFlags(desc CMTimeCodeFormatDescriptionRef) uint32
CMTimeCodeFormatDescriptionGetTimeCodeFlags returns time code flags.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCodeFormatDescriptionGetTimeCodeFlags(_:)
func CMTimeCompare ¶
CMTimeCompare returns the numerical relationship of two times.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCompare(_:_:)
func CMTimeCopyAsDictionary ¶
func CMTimeCopyAsDictionary(time CMTime, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
CMTimeCopyAsDictionary creates a dictionary representation of the time.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCopyAsDictionary(_:allocator:)
func CMTimeCopyDescription ¶
func CMTimeCopyDescription(allocator corefoundation.CFAllocatorRef, time CMTime) corefoundation.CFStringRef
CMTimeCopyDescription creates a string representation of the time.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCopyDescription(allocator:time:)
func CMTimeGetSeconds ¶
CMTimeGetSeconds returns a representation of the time in seconds.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeGetSeconds(_:)
func CMTimeMappingCopyAsDictionary ¶
func CMTimeMappingCopyAsDictionary(mapping CMTimeMapping, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
CMTimeMappingCopyAsDictionary returns a dictionary representation of a time mapping.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMappingCopyAsDictionary(_:allocator:)
func CMTimeMappingCopyDescription ¶
func CMTimeMappingCopyDescription(allocator corefoundation.CFAllocatorRef, mapping CMTimeMapping) corefoundation.CFStringRef
CMTimeMappingCopyDescription copies a string description of a time mapping.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMappingCopyDescription(allocator:mapping:)
func CMTimeMappingShow ¶
func CMTimeMappingShow(mapping CMTimeMapping)
CMTimeMappingShow prints a description of a time mapping to standard output.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMappingShow(_:)
func CMTimeRangeContainsTime ¶
func CMTimeRangeContainsTime(range_ CMTimeRange, time CMTime) bool
CMTimeRangeContainsTime returns a Boolean value that indicates whether a time range contains a time.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeContainsTime(_:time:)
func CMTimeRangeContainsTimeRange ¶
func CMTimeRangeContainsTimeRange(range_ CMTimeRange, otherRange CMTimeRange) bool
CMTimeRangeContainsTimeRange returns a Boolean value that indicates whether a time range contains another time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeContainsTimeRange(_:otherRange:)
func CMTimeRangeCopyAsDictionary ¶
func CMTimeRangeCopyAsDictionary(range_ CMTimeRange, allocator corefoundation.CFAllocatorRef) corefoundation.CFDictionaryRef
CMTimeRangeCopyAsDictionary returns a dictionary representation of a time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeCopyAsDictionary(_:allocator:)
func CMTimeRangeCopyDescription ¶
func CMTimeRangeCopyDescription(allocator corefoundation.CFAllocatorRef, range_ CMTimeRange) corefoundation.CFStringRef
CMTimeRangeCopyDescription returns a string with a description of a time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeCopyDescription(allocator:range:)
func CMTimeRangeEqual ¶
func CMTimeRangeEqual(range1 CMTimeRange, range2 CMTimeRange) bool
CMTimeRangeEqual returns a Boolean value that indicates whether two time ranges are equal.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeEqual(_:_:)
func CMTimeRangeShow ¶
func CMTimeRangeShow(range_ CMTimeRange)
CMTimeRangeShow prints a description of the time range to standard error.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeShow(_:)
func CMTimeShow ¶
func CMTimeShow(time CMTime)
CMTimeShow prints a description of the time to the console.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeShow(_:)
func CMTimebaseAddTimer ¶
func CMTimebaseAddTimer(timebase uintptr, timer corefoundation.CFRunLoopTimerRef, runloop corefoundation.CFRunLoopRef) int32
CMTimebaseAddTimer adds the timer to the list of timers the timebase manages.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseAddTimer(_:timer:runloop:)
func CMTimebaseAddTimerDispatchSource ¶
CMTimebaseAddTimerDispatchSource adds the timer dispatch source to the list of timers the timebase manages.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseAddTimerDispatchSource(_:timerSource:)
func CMTimebaseCopySourceClock ¶
CMTimebaseCopySourceClock returns the immediate source clock of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseCopySourceClock(_:)
func CMTimebaseCopySourceTimebase ¶
CMTimebaseCopySourceTimebase returns the immediate source timebase of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseCopySourceTimebase(_:)
func CMTimebaseCopyUltimateSourceClock ¶
CMTimebaseCopyUltimateSourceClock returns the source clock that’s the source of all of a timebase’s source timebases.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseCopyUltimateSourceClock(_:)
func CMTimebaseCreateWithSourceClock ¶
func CMTimebaseCreateWithSourceClock(allocator corefoundation.CFAllocatorRef, sourceClock uintptr, timebaseOut *uintptr) int32
CMTimebaseCreateWithSourceClock creates a timebase by using a source clock.
func CMTimebaseCreateWithSourceTimebase ¶
func CMTimebaseCreateWithSourceTimebase(allocator corefoundation.CFAllocatorRef, sourceTimebase uintptr, timebaseOut *uintptr) int32
CMTimebaseCreateWithSourceTimebase creates a timebase by using a source timebase.
func CMTimebaseGetEffectiveRate ¶
CMTimebaseGetEffectiveRate returns the effective rate of a timebase, which combines its rate with the rates of all its host timebases.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseGetEffectiveRate(_:)
func CMTimebaseGetRate ¶
CMTimebaseGetRate returns the current rate of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseGetRate(_:)
func CMTimebaseGetTimeAndRate ¶
CMTimebaseGetTimeAndRate returns the current time and rate of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseGetTimeAndRate(_:timeOut:rateOut:)
func CMTimebaseGetTypeID ¶
func CMTimebaseGetTypeID() uint
CMTimebaseGetTypeID returns the Core Foundation type identifier that identifies a timebase object.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseGetTypeID()
func CMTimebaseNotificationBarrier ¶
CMTimebaseNotificationBarrier requests that the timebase wait until it isn’t posting notifications.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseNotificationBarrier(_:)
func CMTimebaseRemoveTimer ¶
func CMTimebaseRemoveTimer(timebase uintptr, timer corefoundation.CFRunLoopTimerRef) int32
CMTimebaseRemoveTimer removes the timer from the list of timers the timebase manages.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseRemoveTimer(_:timer:)
func CMTimebaseRemoveTimerDispatchSource ¶
CMTimebaseRemoveTimerDispatchSource removes the timer dispatch source from the list of timers the timebase manages.
func CMTimebaseSetAnchorTime ¶
func CMTimebaseSetAnchorTime(timebase uintptr, timebaseTime CMTime, immediateSourceTime CMTime) int32
CMTimebaseSetAnchorTime sets the time of a timebase at a particular host time.
func CMTimebaseSetRate ¶
CMTimebaseSetRate sets the rate of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseSetRate(_:rate:)
func CMTimebaseSetRateAndAnchorTime ¶
func CMTimebaseSetRateAndAnchorTime(timebase uintptr, rate float64, timebaseTime CMTime, immediateSourceTime CMTime) int32
CMTimebaseSetRateAndAnchorTime sets the time of a timebase at a particular host time, and changes the rate at exactly that time.
func CMTimebaseSetSourceClock ¶
CMTimebaseSetSourceClock sets the source clock of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseSetSourceClock(_:_:)
func CMTimebaseSetSourceTimebase ¶
CMTimebaseSetSourceTimebase sets the source timebase of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseSetSourceTimebase(_:_:)
func CMTimebaseSetTime ¶
CMTimebaseSetTime sets the current time of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseSetTime(_:time:)
func CMTimebaseSetTimerDispatchSourceNextFireTime ¶
func CMTimebaseSetTimerDispatchSourceNextFireTime(timebase uintptr, timerSource dispatch.Source, fireTime CMTime, flags uint32) int32
CMTimebaseSetTimerDispatchSourceNextFireTime sets the time on the timebase’s timeline at which the timer dispatch source should fire next.
func CMTimebaseSetTimerDispatchSourceToFireImmediately ¶
func CMTimebaseSetTimerDispatchSourceToFireImmediately(timebase uintptr, timerSource dispatch.Source) int32
CMTimebaseSetTimerDispatchSourceToFireImmediately sets the timer dispatch source to fire immediately once, overriding any previous timer call.
func CMTimebaseSetTimerNextFireTime ¶
func CMTimebaseSetTimerNextFireTime(timebase uintptr, timer corefoundation.CFRunLoopTimerRef, fireTime CMTime, flags uint32) int32
CMTimebaseSetTimerNextFireTime sets the time on the timebase’s timeline at which the timer should fire next.
func CMTimebaseSetTimerToFireImmediately ¶
func CMTimebaseSetTimerToFireImmediately(timebase uintptr, timer corefoundation.CFRunLoopTimerRef) int32
CMTimebaseSetTimerToFireImmediately sets the timer to fire immediately once, overriding any previous timer calls.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseSetTimerToFireImmediately(_:timer:)
func CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer ¶
func CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, videoFormatDescription uintptr, stringEncoding uint32, flavor CMImageDescriptionFlavor, blockBufferOut *uintptr) int32
CMVideoFormatDescriptionCopyAsBigEndianImageDescriptionBlockBuffer copies the contents of a video format description to a buffer in big-endian byte ordering.
func CMVideoFormatDescriptionCopyTagCollectionArray ¶
func CMVideoFormatDescriptionCopyTagCollectionArray(formatDescription uintptr, tagCollectionsOut *corefoundation.CFArrayRef) int32
CMVideoFormatDescriptionCopyTagCollectionArray copies the multi-image encoding properties as an array of CMTagCollections.
See: https://developer.apple.com/documentation/CoreMedia/CMVideoFormatDescriptionCopyTagCollectionArray
func CMVideoFormatDescriptionCreate ¶
func CMVideoFormatDescriptionCreate(allocator corefoundation.CFAllocatorRef, codecType CMVideoCodecType, width int32, height int32, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *uintptr) int32
CMVideoFormatDescriptionCreate creates a format description for a video media stream.
func CMVideoFormatDescriptionCreateForImageBuffer ¶
func CMVideoFormatDescriptionCreateForImageBuffer(allocator corefoundation.CFAllocatorRef, imageBuffer corevideo.CVImageBufferRef, formatDescriptionOut *uintptr) int32
CMVideoFormatDescriptionCreateForImageBuffer creates a format description for a video media stream by using an image buffer.
func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer ¶
func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer(allocator corefoundation.CFAllocatorRef, imageDescriptionBlockBuffer uintptr, stringEncoding uint32, flavor CMImageDescriptionFlavor, formatDescriptionOut *uintptr) int32
CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionBlockBuffer creates a video format description from a big-endian image description inside a buffer.
func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData ¶
func CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData(allocator corefoundation.CFAllocatorRef, imageDescriptionData *uint8, size uintptr, stringEncoding uint32, flavor CMImageDescriptionFlavor, formatDescriptionOut *uintptr) int32
CMVideoFormatDescriptionCreateFromBigEndianImageDescriptionData creates a video format description from a big-endian image description structure.
func CMVideoFormatDescriptionCreateFromH264ParameterSets ¶
func CMVideoFormatDescriptionCreateFromH264ParameterSets(allocator corefoundation.CFAllocatorRef, parameterSetCount uintptr, parameterSetPointers *uint8, parameterSetSizes *uintptr, NALUnitHeaderLength int, formatDescriptionOut *uintptr) int32
CMVideoFormatDescriptionCreateFromH264ParameterSets creates a format description for a video media stream that the parameter set describes.
func CMVideoFormatDescriptionCreateFromHEVCParameterSets ¶
func CMVideoFormatDescriptionCreateFromHEVCParameterSets(allocator corefoundation.CFAllocatorRef, parameterSetCount uintptr, parameterSetPointers *uint8, parameterSetSizes *uintptr, NALUnitHeaderLength int, extensions corefoundation.CFDictionaryRef, formatDescriptionOut *uintptr) int32
CMVideoFormatDescriptionCreateFromHEVCParameterSets creates a format description for a video media stream using HEVC (H.265) parameter set NAL units.
func CMVideoFormatDescriptionGetCleanAperture ¶
func CMVideoFormatDescriptionGetCleanAperture(videoDesc uintptr, originIsAtTopLeft bool) corefoundation.CGRect
CMVideoFormatDescriptionGetCleanAperture returns a rectangle that defines the portion of the encoded pixel dimensions that represent the image data that’s valid for displaying.
func CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers ¶
func CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers() corefoundation.CFArrayRef
CMVideoFormatDescriptionGetExtensionKeysCommonWithImageBuffers returns an array of keys that you use for video format description extensions, image buffer attachments, and attributes.
func CMVideoFormatDescriptionGetH264ParameterSetAtIndex ¶
func CMVideoFormatDescriptionGetH264ParameterSetAtIndex(videoDesc uintptr, parameterSetIndex uintptr, parameterSetPointerOut *uint8, parameterSetSizeOut *uintptr, parameterSetCountOut *uintptr, NALUnitHeaderLengthOut []int) int32
CMVideoFormatDescriptionGetH264ParameterSetAtIndex returns a parameter set that an H.264 format description contains.
func CMVideoFormatDescriptionGetHEVCParameterSetAtIndex ¶
func CMVideoFormatDescriptionGetHEVCParameterSetAtIndex(videoDesc uintptr, parameterSetIndex uintptr, parameterSetPointerOut *uint8, parameterSetSizeOut *uintptr, parameterSetCountOut *uintptr, NALUnitHeaderLengthOut []int) int32
CMVideoFormatDescriptionGetHEVCParameterSetAtIndex returns a parameter set contained in an HEVC (H.265) format description.
func CMVideoFormatDescriptionGetPresentationDimensions ¶
func CMVideoFormatDescriptionGetPresentationDimensions(videoDesc uintptr, usePixelAspectRatio bool, useCleanAperture bool) corefoundation.CGSize
CMVideoFormatDescriptionGetPresentationDimensions returns the dimensions after taking the pixel aspect ratio and clean aperture into account.
func CMVideoFormatDescriptionMatchesImageBuffer ¶
func CMVideoFormatDescriptionMatchesImageBuffer(desc uintptr, imageBuffer corevideo.CVImageBufferRef) bool
CMVideoFormatDescriptionMatchesImageBuffer returns a Boolean value that indicates whether a format description matches an image buffer.
Types ¶
type CMAttachmentBearerRef ¶
type CMAttachmentBearerRef = corefoundation.CFTypeRef
CMAttachmentBearerRef is an object that can carry attachments.
See: https://developer.apple.com/documentation/CoreMedia/CMAttachmentBearer
type CMAttachmentMode ¶
type CMAttachmentMode = uint32
CMAttachmentMode is the mode to use when propagating attachments.
See: https://developer.apple.com/documentation/CoreMedia/CMAttachmentMode
type CMAudioCodecType ¶
type CMAudioCodecType = uint32
CMAudioCodecType is an audio codec type.
See: https://developer.apple.com/documentation/CoreMedia/CMAudioCodecType
type CMAudioFormatDescriptionMask ¶
type CMAudioFormatDescriptionMask = uint32
CMAudioFormatDescriptionMask is a type for mask bits that represent parts of an audio format description.
See: https://developer.apple.com/documentation/CoreMedia/CMAudioFormatDescriptionMask
type CMAudioFormatDescriptionRef ¶
type CMAudioFormatDescriptionRef uintptr
CMAudioFormatDescriptionRef is a type you use to interact with audio format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMAudioFormatDescription
type CMBaseClassVersion ¶
type CMBaseClassVersion = uintptr
See: https://developer.apple.com/documentation/CoreMedia/CMBaseClassVersion
type CMBlockBufferCustomBlockSource ¶
type CMBlockBufferCustomBlockSource struct {
AllocateBlock func(unsafe.Pointer, uint) unsafe.Pointer // The function to allocate memory.
FreeBlock func(unsafe.Pointer, unsafe.Pointer, uint) // A function to call once when the [CMBlockBuffer] is disposed.
RefCon unsafe.Pointer // Contextual information passed to both the allocate and free function calls.
Version uint32
}
C struct types CMBlockBufferCustomBlockSource - A structure to support custom memory allocation and deallocation for a block used in a block buffer.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMBlockBufferCustomBlockSource
type CMBlockBufferFlags ¶
type CMBlockBufferFlags = uint32
CMBlockBufferFlags is a type for flags that control behaviors and features of block buffer APIs.
See: https://developer.apple.com/documentation/CoreMedia/CMBlockBufferFlags
type CMBlockBufferRef ¶
type CMBlockBufferRef uintptr
CMBlockBufferRef is a reference to a block buffer instance.
See: https://developer.apple.com/documentation/CoreMedia/CMBlockBuffer
type CMBufferCallbacks ¶
type CMBufferCallbacks struct {
Compare CMBufferCompareCallback // This callback is called multiple times from [CMBufferQueueEnqueue(_:buffer:)](<doc://com.apple.coremedia/documentation/CoreMedia/CMBufferQueueEnqueue(_:buffer:)>), to perform an insertion sort.
DataBecameReadyNotification corefoundation.CFStringRef // If triggers of type `kCMBufferQueueTrigger_WhenDataBecomesReady` are installed, the queue will listen for this notification on the head buffer.
GetDecodeTimeStamp CMBufferGetTimeCallback // Client callback that returns a [CMTime] from a [CMBuffer].
GetDuration CMBufferGetTimeCallback // This callback is called (once) during enqueue and dequeue operations to update the total duration of the queue.
GetPresentationTimeStamp CMBufferGetTimeCallback // Client callback that returns a [CMTime] from a [CMBuffer].
GetSize CMBufferGetSizeCallback
IsDataReady CMBufferGetBooleanCallback // This callback is called from [CMBufferQueueDequeueIfDataReady(_:)](<doc://com.apple.coremedia/documentation/CoreMedia/CMBufferQueueDequeueIfDataReady(_:)>), to ask if the buffer that is about to be dequeued is ready.
Refcon unsafe.Pointer // Contextual data to be passed to all callbacks.
Version uint32 // The callback version.
}
CMBufferCallbacks - A structure that stores the callbacks that perform buffer operations.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMBufferCallbacks
func CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS ¶
func CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS() *CMBufferCallbacks
CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS returns a pointer to a structure that contains callbacks to sort sample buffers by output presentation timestamp.
func CMBufferQueueGetCallbacksForUnsortedSampleBuffers ¶
func CMBufferQueueGetCallbacksForUnsortedSampleBuffers() *CMBufferCallbacks
CMBufferQueueGetCallbacksForUnsortedSampleBuffers returns a pointer to a callback structure for unsorted sample buffers.
type CMBufferCompareCallback ¶
type CMBufferCompareCallback = func(unsafe.Pointer, unsafe.Pointer, unsafe.Pointer) corefoundation.CFComparisonResult
CMBufferCompareCallback is callback that compares one [CMBuffer] with another.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferCompareCallback
type CMBufferCompareHandler ¶
type CMBufferCompareHandler = func(unsafe.Pointer, unsafe.Pointer) corefoundation.CFComparisonResult
See: https://developer.apple.com/documentation/CoreMedia/CMBufferCompareHandler
type CMBufferGetBooleanCallback ¶
CMBufferGetBooleanCallback is callback that returns a Boolean value from a [CMBuffer].
See: https://developer.apple.com/documentation/CoreMedia/CMBufferGetBooleanCallback
type CMBufferGetBooleanHandler ¶
See: https://developer.apple.com/documentation/CoreMedia/CMBufferGetBooleanHandler
type CMBufferGetSizeCallback ¶
CMBufferGetSizeCallback is a client callback that returns a size.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferGetSizeCallback
type CMBufferGetSizeHandler ¶
See: https://developer.apple.com/documentation/CoreMedia/CMBufferGetSizeHandler
type CMBufferGetTimeCallback ¶
CMBufferGetTimeCallback is callback that returns a CMTime from a [CMBuffer].
See: https://developer.apple.com/documentation/CoreMedia/CMBufferGetTimeCallback
type CMBufferGetTimeHandler ¶
See: https://developer.apple.com/documentation/CoreMedia/CMBufferGetTimeHandler
type CMBufferHandlers ¶
type CMBufferHandlers struct {
Compare CMBufferCompareHandler // A handler callback the queue uses to perform an insertion sort of the queue.
GetDuration CMBufferGetTimeHandler
GetDecodeTimeStamp CMBufferGetTimeHandler
GetPresentationTimeStamp CMBufferGetTimeHandler
GetSize CMBufferGetSizeHandler
IsDataReady CMBufferGetBooleanHandler
DataBecameReadyNotification corefoundation.CFStringRef
Version uintptr // The version number.
}
CMBufferHandlers - A structure that stores the handlers that perform buffer operations.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMBufferHandlers
type CMBufferQueueRef ¶
type CMBufferQueueRef uintptr
CMBufferQueueRef is a reference to a buffer queue instance.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueue
type CMBufferQueueTriggerCallback ¶
CMBufferQueueTriggerCallback is a callback for the system to invoke when a trigger condition becomes true.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueTriggerCallback
type CMBufferQueueTriggerCondition ¶
type CMBufferQueueTriggerCondition = int32
CMBufferQueueTriggerCondition is a type to specify conditions to associate with a buffer queue trigger.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueTriggerCondition
type CMBufferQueueTriggerHandler ¶
type CMBufferQueueTriggerHandler = func(objectivec.IObject)
CMBufferQueueTriggerHandler is a type alias for a trigger handler.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueTriggerHandler
type CMBufferQueueTriggerToken ¶
type CMBufferQueueTriggerToken = uintptr
CMBufferQueueTriggerToken is a type alias for a trigger token.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueTriggerToken
type CMBufferRef ¶
type CMBufferRef = corefoundation.CFTypeRef
CMBufferRef is a reference to a buffer object.
See: https://developer.apple.com/documentation/CoreMedia/CMBuffer
func CMBufferQueueCopyHead ¶
func CMBufferQueueCopyHead(queue uintptr) CMBufferRef
CMBufferQueueCopyHead.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueCopyHead(_:)
func CMBufferQueueDequeueAndRetain ¶
func CMBufferQueueDequeueAndRetain(queue uintptr) CMBufferRef
CMBufferQueueDequeueAndRetain dequeues a buffer from a queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueDequeue(_:)
func CMBufferQueueDequeueIfDataReadyAndRetain ¶
func CMBufferQueueDequeueIfDataReadyAndRetain(queue uintptr) CMBufferRef
CMBufferQueueDequeueIfDataReadyAndRetain dequeues a buffer from a queue, if it’s ready.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueDequeueIfDataReady(_:)
func CMBufferQueueGetHead
deprecated
func CMBufferQueueGetHead(queue uintptr) CMBufferRef
CMBufferQueueGetHead retrieves the next buffer from a queue, but doesn’t remove it.
Deprecated: Deprecated since macOS 15.0.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetHead(_:)
type CMBufferValidationCallback ¶
CMBufferValidationCallback is a type alias for a callback that tests whether a buffer is in a valid state to add to a queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferValidationCallback
type CMBufferValidationHandler ¶
type CMBufferValidationHandler = func(objectivec.IObject, unsafe.Pointer) int
CMBufferValidationHandler is a type alias for a handler that tests whether a buffer is in a valid state to add to a queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferValidationHandler
type CMClockOrTimebaseRef ¶
type CMClockOrTimebaseRef = corefoundation.CFTypeRef
CMClockOrTimebaseRef is a type you use in argument lists and function results to indicate that you can pass either a clock or timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMClockOrTimebase
func CMTimebaseCopySource ¶
func CMTimebaseCopySource(timebase uintptr) CMClockOrTimebaseRef
CMTimebaseCopySource returns the immediate source — either a clock or timebase — of a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseCopySource(_:)
type CMClockRef ¶
type CMClockRef uintptr
CMClockRef is an object that represents a source of time.
See: https://developer.apple.com/documentation/CoreMedia/CMClock
type CMClosedCaptionDescriptionFlavor ¶
type CMClosedCaptionDescriptionFlavor = corefoundation.CFStringRef
CMClosedCaptionDescriptionFlavor is types that represent closed caption format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMClosedCaptionDescriptionFlavor
type CMClosedCaptionFormatDescriptionRef ¶
type CMClosedCaptionFormatDescriptionRef uintptr
CMClosedCaptionFormatDescriptionRef is a type you use to interact with closed caption format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMClosedCaptionFormatDescription
type CMClosedCaptionFormatType ¶
type CMClosedCaptionFormatType = uint32
CMClosedCaptionFormatType is a closed caption format type.
See: https://developer.apple.com/documentation/CoreMedia/CMClosedCaptionFormatType
type CMFormatDescriptionRef ¶
type CMFormatDescriptionRef uintptr
CMFormatDescriptionRef is an object that describes a media format descriptor.
See: https://developer.apple.com/documentation/CoreMedia/CMFormatDescription
type CMImageDescriptionFlavor ¶
type CMImageDescriptionFlavor = corefoundation.CFStringRef
CMImageDescriptionFlavor is types that represent image format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMImageDescriptionFlavor
var ( // KCMImageDescriptionFlavor_3GPFamily is an image description that selects the 3GP family sample format. // // See: https://developer.apple.com/documentation/CoreMedia/CMImageDescriptionFlavor/mobile3GPFamily KCMImageDescriptionFlavor_3GPFamily CMImageDescriptionFlavor // See: https://developer.apple.com/documentation/CoreMedia/CMImageDescriptionFlavor/isoFamily KCMImageDescriptionFlavor_ISOFamily CMImageDescriptionFlavor // See: https://developer.apple.com/documentation/CoreMedia/CMImageDescriptionFlavor/isoFamilyWithAppleExtensions KCMImageDescriptionFlavor_ISOFamilyWithAppleExtensions CMImageDescriptionFlavor // KCMImageDescriptionFlavor_QuickTimeMovie is an image description that selects the QuickTime format. // // See: https://developer.apple.com/documentation/CoreMedia/CMImageDescriptionFlavor/quickTimeMovie KCMImageDescriptionFlavor_QuickTimeMovie CMImageDescriptionFlavor )
type CMItemCount ¶
type CMItemCount = int
CMItemCount is a datatype that represents an item count.
See: https://developer.apple.com/documentation/CoreMedia/CMItemCount
type CMItemIndex ¶
type CMItemIndex = int
CMItemIndex is a datatype that represents an item index.
See: https://developer.apple.com/documentation/CoreMedia/CMItemIndex
type CMMediaType ¶
type CMMediaType = uint32
CMMediaType is constants that represent media types.
See: https://developer.apple.com/documentation/CoreMedia/CMMediaType
type CMMemoryPoolRef ¶
type CMMemoryPoolRef uintptr
CMMemoryPoolRef is an instance that optimizes memory allocation when working with large blocks of memory.
See: https://developer.apple.com/documentation/CoreMedia/CMMemoryPool
type CMMetadataDescriptionFlavor ¶
type CMMetadataDescriptionFlavor = corefoundation.CFStringRef
CMMetadataDescriptionFlavor is types that represent metadata format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMMetadataDescriptionFlavor
type CMMetadataFormatDescriptionRef ¶
type CMMetadataFormatDescriptionRef uintptr
CMMetadataFormatDescriptionRef is a type you use to interact with metadata format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMMetadataFormatDescription
type CMMetadataFormatType ¶
type CMMetadataFormatType = uint32
CMMetadataFormatType is a metadata format type.
See: https://developer.apple.com/documentation/CoreMedia/CMMetadataFormatType
type CMMutableTagCollectionRef ¶
type CMMutableTagCollectionRef uintptr
CMMutableTagCollectionRef is a mutable reference to a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMMutableTagCollectionRef
type CMMuxedFormatDescriptionRef ¶
type CMMuxedFormatDescriptionRef uintptr
CMMuxedFormatDescriptionRef is a type you use to interact with muxed format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMMuxedFormatDescription
type CMMuxedStreamType ¶
type CMMuxedStreamType = uint32
CMMuxedStreamType is a datatype that represents a muxed stream of data.
See: https://developer.apple.com/documentation/CoreMedia/CMMuxedStreamType
type CMPackingType ¶
type CMPackingType uint64
See: https://developer.apple.com/documentation/CoreMedia/CMPackingType
const ( // KCMPackingType_None: Each frame contains only a single image, and isn’t frame-packed. KCMPackingType_None CMPackingType = 'n'<<24 | 'o'<<16 | 'n'<<8 | 'e' // 'none' // KCMPackingType_OverUnder: The video contains packed frames that have a left eye image on the top and right eye image on the bottom. KCMPackingType_OverUnder CMPackingType = 'o'<<24 | 'v'<<16 | 'e'<<8 | 'r' // 'over' // KCMPackingType_SideBySide: The video contains packed frames that have a left eye image on the left and right eye image on the right. KCMPackingType_SideBySide CMPackingType = 's'<<24 | 'i'<<16 | 'd'<<8 | 'e' // 'side' )
func (CMPackingType) String ¶
func (e CMPackingType) String() string
type CMPersistentTrackID ¶
type CMPersistentTrackID = int32
CMPersistentTrackID is a datatype that represents a persistent track identifier.
See: https://developer.apple.com/documentation/CoreMedia/CMPersistentTrackID
type CMPixelFormatType ¶
type CMPixelFormatType = uint32
CMPixelFormatType is a pixel format type.
See: https://developer.apple.com/documentation/CoreMedia/CMPixelFormatType
type CMProjectionType ¶
type CMProjectionType uint64
See: https://developer.apple.com/documentation/CoreMedia/CMProjectionType
const ( // KCMProjectionType_Equirectangular: Video content displays as a 360 degree equirectangular projection. KCMProjectionType_Equirectangular CMProjectionType = 'e'<<24 | 'q'<<16 | 'u'<<8 | 'i' // 'equi' // KCMProjectionType_Fisheye: Video content displays as a fisheye projection. KCMProjectionType_Fisheye CMProjectionType = 'f'<<24 | 'i'<<16 | 's'<<8 | 'h' // 'fish' // KCMProjectionType_HalfEquirectangular: Video content displays as a 180 degree equirectangular projection. KCMProjectionType_HalfEquirectangular CMProjectionType = 'h'<<24 | 'e'<<16 | 'q'<<8 | 'u' // 'hequ' // KCMProjectionType_Rectangular: Video content displays on a flat, rectangular 2D surface. KCMProjectionType_Rectangular CMProjectionType = 'r'<<24 | 'e'<<16 | 'c'<<8 | 't' // 'rect' )
func (CMProjectionType) String ¶
func (e CMProjectionType) String() string
type CMSampleBufferInvalidateCallback ¶
CMSampleBufferInvalidateCallback is client callback called by [CMSampleBufferInvalidate(_:)].
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferInvalidateCallback
type CMSampleBufferInvalidateHandler ¶
type CMSampleBufferInvalidateHandler = func(objectivec.IObject)
CMSampleBufferInvalidateHandler is client callback called by [CMSampleBufferInvalidate(_:)].
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferInvalidateHandler
type CMSampleBufferMakeDataReadyCallback ¶
CMSampleBufferMakeDataReadyCallback is client callback called by [CMSampleBufferMakeDataReady(_:)].
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferMakeDataReadyCallback
type CMSampleBufferMakeDataReadyHandler ¶
type CMSampleBufferMakeDataReadyHandler = func(objectivec.IObject) int
CMSampleBufferMakeDataReadyHandler is a block the system calls to make the sample buffer ready for use.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferMakeDataReadyHandler
type CMSampleBufferRef ¶
type CMSampleBufferRef uintptr
CMSampleBufferRef is a reference to a buffer of media data.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBuffer
type CMSampleTimingInfo ¶
type CMSampleTimingInfo struct {
DecodeTimeStamp CMTime // The time at which the sample will be decoded.
Duration CMTime // The duration of the sample.
PresentationTimeStamp CMTime // The time at which the sample will be presented.
}
CMSampleTimingInfo - A collection of timing information for a sample in a sample buffer.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMSampleTimingInfo
var ( // See: https://developer.apple.com/documentation/CoreMedia/CMSampleTimingInfo/invalid KCMTimingInfoInvalid CMSampleTimingInfo )
type CMSimpleQueueRef ¶
type CMSimpleQueueRef uintptr
CMSimpleQueueRef is a reference to an instance that provides a simple lockless queue of elements.
See: https://developer.apple.com/documentation/CoreMedia/CMSimpleQueue
type CMSoundDescriptionFlavor ¶
type CMSoundDescriptionFlavor = corefoundation.CFStringRef
CMSoundDescriptionFlavor is types that represent sound format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMSoundDescriptionFlavor
var ( // KCMSoundDescriptionFlavor_3GPFamily is a sound description that selects the 3GP family sample format. // // See: https://developer.apple.com/documentation/CoreMedia/CMSoundDescriptionFlavor/mobile3GPFamily KCMSoundDescriptionFlavor_3GPFamily CMSoundDescriptionFlavor // KCMSoundDescriptionFlavor_ISOFamily is a sound description that selects the ISO family sample format. // // See: https://developer.apple.com/documentation/CoreMedia/CMSoundDescriptionFlavor/isoFamily KCMSoundDescriptionFlavor_ISOFamily CMSoundDescriptionFlavor // KCMSoundDescriptionFlavor_QuickTimeMovie is a sound description that selects the QuickTime movie format. // // See: https://developer.apple.com/documentation/CoreMedia/CMSoundDescriptionFlavor/quickTimeMovie KCMSoundDescriptionFlavor_QuickTimeMovie CMSoundDescriptionFlavor // KCMSoundDescriptionFlavor_QuickTimeMovieV2 is a sound description that selects the second version of the QuickTime movie format. // // See: https://developer.apple.com/documentation/CoreMedia/CMSoundDescriptionFlavor/quickTimeMovieV2 KCMSoundDescriptionFlavor_QuickTimeMovieV2 CMSoundDescriptionFlavor )
type CMStereoViewComponents ¶
type CMStereoViewComponents uint64
See: https://developer.apple.com/documentation/CoreMedia/CMStereoViewComponents
const ( // KCMStereoView_LeftEye: The stereo video track includes a left eye layer. KCMStereoView_LeftEye CMStereoViewComponents = 1 // KCMStereoView_RightEye: The stereo video track includes a right eye layer. KCMStereoView_RightEye CMStereoViewComponents = 2 )
func (CMStereoViewComponents) String ¶
func (e CMStereoViewComponents) String() string
type CMStereoViewInterpretationOptions ¶
type CMStereoViewInterpretationOptions uint64
See: https://developer.apple.com/documentation/CoreMedia/CMStereoViewInterpretationOptions
const ( // KCMStereoViewInterpretation_AdditionalViews: A flag indicating that the video content contains additional views beyond the left or right eye. KCMStereoViewInterpretation_AdditionalViews CMStereoViewInterpretationOptions = 2 // KCMStereoViewInterpretation_StereoOrderReversed: Changes the default ordering of eye data, switching it from left-to-right to right-to-left. KCMStereoViewInterpretation_StereoOrderReversed CMStereoViewInterpretationOptions = 1 )
func (CMStereoViewInterpretationOptions) String ¶
func (e CMStereoViewInterpretationOptions) String() string
type CMStructVersion ¶
type CMStructVersion = uintptr
See: https://developer.apple.com/documentation/CoreMedia/CMStructVersion
type CMSubtitleFormatType ¶
type CMSubtitleFormatType = uint32
CMSubtitleFormatType is a type that represents a text subtitle format.
See: https://developer.apple.com/documentation/CoreMedia/CMSubtitleFormatType
type CMTag ¶
type CMTag struct {
Category CMTagCategory // The category assigned to a tag.
DataType CMTagDataType // The data type for the value stored in the tag.
Value CMTagValue // The value of the tag.
}
CMTag - A tag representing additional metadata on tagged media buffers.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMTag-c.struct
var ( // KCMTagInvalid is a constant representing an invalid tag. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagInvalid KCMTagInvalid CMTag // See: https://developer.apple.com/documentation/CoreMedia/kCMTagMediaSubTypeMebx KCMTagMediaSubTypeMebx CMTag // KCMTagMediaTypeAudio is a value for associating a tag’s media type with audio. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagMediaTypeAudio KCMTagMediaTypeAudio CMTag // KCMTagMediaTypeMetadata is a value for associating a tag’s media type with metadata. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagMediaTypeMetadata KCMTagMediaTypeMetadata CMTag // KCMTagMediaTypeVideo is a value for associating a tag’s media type with video. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagMediaTypeVideo KCMTagMediaTypeVideo CMTag // KCMTagPackingTypeNone is a frame-packing tag value for video without packed frames. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagPackingTypeNone KCMTagPackingTypeNone CMTag // KCMTagPackingTypeOverUnder is a tag stating that associated video has packed frames with a left eye image on the top and right eye image on the bottom. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagPackingTypeOverUnder KCMTagPackingTypeOverUnder CMTag // KCMTagPackingTypeSideBySide is a tag stating that associated video has packed frames with a left eye image on the left and right eye image on the right. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagPackingTypeSideBySide KCMTagPackingTypeSideBySide CMTag // KCMTagProjectionTypeEquirectangular is a value for projection tags indicating that display is on a 360 degree equirectangular projection. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagProjectionTypeEquirectangular KCMTagProjectionTypeEquirectangular CMTag // KCMTagProjectionTypeFisheye is video content displays as a fisheye projection. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagProjectionTypeFisheye KCMTagProjectionTypeFisheye CMTag // See: https://developer.apple.com/documentation/CoreMedia/kCMTagProjectionTypeHalfEquirectangular KCMTagProjectionTypeHalfEquirectangular CMTag // See: https://developer.apple.com/documentation/CoreMedia/kCMTagProjectionTypeParametricImmersive KCMTagProjectionTypeParametricImmersive CMTag // KCMTagProjectionTypeRectangular is a value for projection tags indicating that display is on a flat rectangular surface. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagProjectionTypeRectangular KCMTagProjectionTypeRectangular CMTag // KCMTagStereoInterpretationOrderReversed is a value for a stereo interpretation tag indicating the video data for the left and right eyes are reversed. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagStereoInterpretationOrderReversed KCMTagStereoInterpretationOrderReversed CMTag // KCMTagStereoLeftAndRightEye is a value for a stereo tag indicating the video track has left and right eye layers. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagStereoLeftAndRightEye KCMTagStereoLeftAndRightEye CMTag // KCMTagStereoLeftEye is a value for a stereo tag indicating the video track has a left eye layer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagStereoLeftEye KCMTagStereoLeftEye CMTag // KCMTagStereoNone is a value for a stereo tag indicating the video track has no eye layer data. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagStereoNone KCMTagStereoNone CMTag // KCMTagStereoRightEye is a value for a stereo tag indicating the video track has a right eye layer. // // See: https://developer.apple.com/documentation/CoreMedia/kCMTagStereoRightEye KCMTagStereoRightEye CMTag )
func CMTagCollectionApplyUntil ¶
func CMTagCollectionApplyUntil(tagCollection CMTagCollectionRef, applier CMTagCollectionTagFilterFunction, context unsafe.Pointer) CMTag
CMTagCollectionApplyUntil applies a Boolean function to tags in a collection, stopping when it returns true.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionApplyUntil
func CMTagMakeFromDictionary ¶
func CMTagMakeFromDictionary(dict corefoundation.CFDictionaryRef) CMTag
CMTagMakeFromDictionary create a new tag from a dictionary object.
See: https://developer.apple.com/documentation/CoreMedia/CMTagMakeFromDictionary
func CMTagMakeWithFlagsValue ¶
func CMTagMakeWithFlagsValue(category CMTagCategory, flagsForTag uint64) CMTag
CMTagMakeWithFlagsValue creates a new tag with a given category and a value interpreted as a 64-bit flag field.
See: https://developer.apple.com/documentation/CoreMedia/CMTagMakeWithFlagsValue
func CMTagMakeWithFloat64Value ¶
func CMTagMakeWithFloat64Value(category CMTagCategory, value float64) CMTag
CMTagMakeWithFloat64Value creates a new tag with a given category and a 64-bit floating point value.
See: https://developer.apple.com/documentation/CoreMedia/CMTagMakeWithFloat64Value
func CMTagMakeWithOSTypeValue ¶
func CMTagMakeWithOSTypeValue(category CMTagCategory, value uint32) CMTag
CMTagMakeWithOSTypeValue creates a new tag with a given category and a 64-bit value for use by the framework.
See: https://developer.apple.com/documentation/CoreMedia/CMTagMakeWithOSTypeValue
func CMTagMakeWithSInt64Value ¶
func CMTagMakeWithSInt64Value(category CMTagCategory, value int64) CMTag
CMTagMakeWithSInt64Value creates a new tag with a given category and a 64-bit signed integer.
See: https://developer.apple.com/documentation/CoreMedia/CMTagMakeWithSInt64Value
type CMTagCategory ¶
type CMTagCategory int
See: https://developer.apple.com/documentation/CoreMedia/CMTagCategory
const ( KCMTagCategory_ChannelID CMTagCategory = 'v'<<24 | 'c'<<16 | 'h'<<8 | 'n' // 'vchn' KCMTagCategory_MediaSubType CMTagCategory = 'm'<<24 | 's'<<16 | 'u'<<8 | 'b' // 'msub' KCMTagCategory_MediaType CMTagCategory = 'm'<<24 | 'd'<<16 | 'i'<<8 | 'a' // 'mdia' KCMTagCategory_PackingType CMTagCategory = 'p'<<24 | 'a'<<16 | 'c'<<8 | 'k' // 'pack' KCMTagCategory_PixelFormat CMTagCategory = 'p'<<24 | 'i'<<16 | 'x'<<8 | 'f' // 'pixf' KCMTagCategory_ProjectionType CMTagCategory = 'p'<<24 | 'r'<<16 | 'o'<<8 | 'j' // 'proj' KCMTagCategory_StereoView CMTagCategory = 'e'<<24 | 'y'<<16 | 'e'<<8 | 's' // 'eyes' KCMTagCategory_StereoViewInterpretation CMTagCategory = 'e'<<24 | 'y'<<16 | 'i'<<8 | 'p' // 'eyip' KCMTagCategory_TrackID CMTagCategory = 't'<<24 | 'r'<<16 | 'a'<<8 | 'k' // 'trak' KCMTagCategory_VideoLayerID CMTagCategory = 'v'<<24 | 'l'<<16 | 'a'<<8 | 'y' // 'vlay' )
func (CMTagCategory) String ¶
func (e CMTagCategory) String() string
type CMTagCollectionApplierFunction ¶
CMTagCollectionApplierFunction is a type for function application over elements of a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionApplierFunction
type CMTagCollectionError ¶
type CMTagCollectionError int
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionError
type CMTagCollectionRef ¶
type CMTagCollectionRef uintptr
CMTagCollectionRef is a reference to a tag collection.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionRef
func CMTaggedBufferGroupGetTagCollectionAtIndex ¶
func CMTaggedBufferGroupGetTagCollectionAtIndex(group CMTaggedBufferGroupRef, index int) CMTagCollectionRef
CMTaggedBufferGroupGetTagCollectionAtIndex gets the collection of tags for a buffer at a given index in the group.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupGetTagCollectionAtIndex
type CMTagCollectionTagFilterFunction ¶
CMTagCollectionTagFilterFunction is a type for filtering of tag collections.
See: https://developer.apple.com/documentation/CoreMedia/CMTagCollectionTagFilterFunction
type CMTagDataType ¶
type CMTagDataType uint32
See: https://developer.apple.com/documentation/CoreMedia/CMTagDataType
func CMTagGetValueDataType ¶
func CMTagGetValueDataType(tag CMTag) CMTagDataType
CMTagGetValueDataType retrieves the data type of a tag.
See: https://developer.apple.com/documentation/CoreMedia/CMTagGetValueDataType
type CMTagError ¶
type CMTagError int
See: https://developer.apple.com/documentation/CoreMedia/CMTagError
type CMTagValue ¶
type CMTagValue = uint64
CMTagValue is the type used to represent tag values.
See: https://developer.apple.com/documentation/CoreMedia/CMTagValue
type CMTaggedBufferGroupError ¶
type CMTaggedBufferGroupError int
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupError
type CMTaggedBufferGroupFormatDescriptionRef ¶
type CMTaggedBufferGroupFormatDescriptionRef uintptr
CMTaggedBufferGroupFormatDescriptionRef is a type for tagged buffer format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupFormatDescription
type CMTaggedBufferGroupFormatType ¶
type CMTaggedBufferGroupFormatType = uint32
CMTaggedBufferGroupFormatType is a type for tagged buffer format information.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupFormatType
type CMTaggedBufferGroupRef ¶
type CMTaggedBufferGroupRef uintptr
CMTaggedBufferGroupRef is a reference to a tagged buffer group instance.
See: https://developer.apple.com/documentation/CoreMedia/CMTaggedBufferGroupRef
func CMSampleBufferGetTaggedBufferGroup ¶
func CMSampleBufferGetTaggedBufferGroup(sbuf uintptr) CMTaggedBufferGroupRef
CMSampleBufferGetTaggedBufferGroup gets the tagged buffer group of a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetTaggedBufferGroup
type CMTextDescriptionFlavor ¶
type CMTextDescriptionFlavor = corefoundation.CFStringRef
CMTextDescriptionFlavor is types that represent text format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMTextDescriptionFlavor
type CMTextDisplayFlags ¶
type CMTextDisplayFlags = uint32
CMTextDisplayFlags is an integer value that describes the display mode flags for text media.
See: https://developer.apple.com/documentation/CoreMedia/CMTextDisplayFlags
type CMTextFormatDescriptionRef ¶
type CMTextFormatDescriptionRef uintptr
CMTextFormatDescriptionRef is a type you use to interact with text format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMTextFormatDescription
type CMTextFormatType ¶
type CMTextFormatType = uint32
CMTextFormatType is a text format type.
See: https://developer.apple.com/documentation/CoreMedia/CMTextFormatType
type CMTextJustificationValue ¶
type CMTextJustificationValue = int8
CMTextJustificationValue is an integer value that describes the justification modes for text media.
See: https://developer.apple.com/documentation/CoreMedia/CMTextJustificationValue
type CMTime ¶
type CMTime struct {
Value int64 // A time value that represents the numerator of a rational time.
Timescale int32 // A timescale that represents the denominator of a rational time.
Flags uint32 // The flags associated with a time.
Epoch int64 // The epoch of the time.
}
CMTime - A structure that represents time.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMTime
var ( // KCMTimeIndefinite is a value that represents an indefinite time. // // See: https://developer.apple.com/documentation/CoreMedia/CMTime/indefinite KCMTimeIndefinite CMTime // KCMTimeInvalid is a value that represents an invalid time. // // See: https://developer.apple.com/documentation/CoreMedia/CMTime/invalid KCMTimeInvalid CMTime // KCMTimeNegativeInfinity is a value that represents negative infinity. // // See: https://developer.apple.com/documentation/CoreMedia/CMTime/negativeInfinity KCMTimeNegativeInfinity CMTime // KCMTimePositiveInfinity is a value that represents positive infinity. // // See: https://developer.apple.com/documentation/CoreMedia/CMTime/positiveInfinity KCMTimePositiveInfinity CMTime // KCMTimeZero is a value that represents time zero. // // See: https://developer.apple.com/documentation/CoreMedia/CMTime/zero KCMTimeZero CMTime )
func CMBufferQueueGetDuration ¶
CMBufferQueueGetDuration gets the duration of a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetDuration(_:)
func CMBufferQueueGetEndPresentationTimeStamp ¶
CMBufferQueueGetEndPresentationTimeStamp gets the greatest end presentation timestamp of a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetEndPresentationTimeStamp(_:)
func CMBufferQueueGetFirstDecodeTimeStamp ¶
CMBufferQueueGetFirstDecodeTimeStamp gets the decode timestamp of the first buffer in a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetFirstDecodeTimeStamp(_:)
func CMBufferQueueGetFirstPresentationTimeStamp ¶
CMBufferQueueGetFirstPresentationTimeStamp gets the presentation timestamp of the first buffer in a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetFirstPresentationTimeStamp(_:)
func CMBufferQueueGetMaxPresentationTimeStamp ¶
CMBufferQueueGetMaxPresentationTimeStamp gets the greatest presentation timestamp of a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetMaxPresentationTimeStamp(_:)
func CMBufferQueueGetMinDecodeTimeStamp ¶
CMBufferQueueGetMinDecodeTimeStamp gets the earliest decode timestamp of a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetMinDecodeTimeStamp(_:)
func CMBufferQueueGetMinPresentationTimeStamp ¶
CMBufferQueueGetMinPresentationTimeStamp gets the earliest presentation timestamp of a buffer queue.
See: https://developer.apple.com/documentation/CoreMedia/CMBufferQueueGetMinPresentationTimeStamp(_:)
func CMClockGetTime ¶
CMClockGetTime returns the current time from a clock.
See: https://developer.apple.com/documentation/CoreMedia/CMClockGetTime(_:)
func CMClockMakeHostTimeFromSystemUnits ¶
CMClockMakeHostTimeFromSystemUnits converts a host time from native units to a core media time structure.
See: https://developer.apple.com/documentation/CoreMedia/CMClockMakeHostTimeFromSystemUnits(_:)
func CMSampleBufferGetDecodeTimeStamp ¶
CMSampleBufferGetDecodeTimeStamp returns the decode timestamp that’s the earliest numerically of all the samples in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetDecodeTimeStamp(_:)
func CMSampleBufferGetDuration ¶
CMSampleBufferGetDuration returns the total duration of a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetDuration(_:)
func CMSampleBufferGetOutputDecodeTimeStamp ¶
CMSampleBufferGetOutputDecodeTimeStamp returns the output decode timestamp of a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetOutputDecodeTimeStamp(_:)
func CMSampleBufferGetOutputDuration ¶
CMSampleBufferGetOutputDuration returns the output duration of a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetOutputDuration(_:)
func CMSampleBufferGetOutputPresentationTimeStamp ¶
CMSampleBufferGetOutputPresentationTimeStamp returns the output presentation timestamp of a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetOutputPresentationTimeStamp(_:)
func CMSampleBufferGetPresentationTimeStamp ¶
CMSampleBufferGetPresentationTimeStamp returns the presentation timestamp that’s the earliest numerically of all the samples in a sample buffer.
See: https://developer.apple.com/documentation/CoreMedia/CMSampleBufferGetPresentationTimeStamp(_:)
func CMSyncConvertTime ¶
func CMSyncConvertTime(time CMTime, fromClockOrTimebase CMClockOrTimebaseRef, toClockOrTimebase CMClockOrTimebaseRef) CMTime
CMSyncConvertTime converts a time from one timebase or clock to another timebase or clock.
See: https://developer.apple.com/documentation/CoreMedia/CMSyncConvertTime(_:from:to:)
func CMSyncGetTime ¶
func CMSyncGetTime(clockOrTimebase CMClockOrTimebaseRef) CMTime
CMSyncGetTime returns the time from a clock or timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMSyncGetTime(_:)
func CMTimeAbsoluteValue ¶
CMTimeAbsoluteValue returns the absolute value of a time.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeAbsoluteValue(_:)
func CMTimeAdd ¶
CMTimeAdd returns the sum of two times.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeAdd(_:_:)
func CMTimeClampToRange ¶
func CMTimeClampToRange(time CMTime, range_ CMTimeRange) CMTime
CMTimeClampToRange returns the nearest time value inside the time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeClampToRange(_:range:)
func CMTimeCodeFormatDescriptionGetFrameDuration ¶
func CMTimeCodeFormatDescriptionGetFrameDuration(timeCodeFormatDescription CMTimeCodeFormatDescriptionRef) CMTime
CMTimeCodeFormatDescriptionGetFrameDuration returns the duration of each frame.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCodeFormatDescriptionGetFrameDuration(_:)
func CMTimeConvertScale ¶
func CMTimeConvertScale(time CMTime, newTimescale int32, method CMTimeRoundingMethod) CMTime
CMTimeConvertScale converts the source time to a new timescale using the specified rounding method.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeConvertScale(_:timescale:method:)
func CMTimeFoldIntoRange ¶
func CMTimeFoldIntoRange(time CMTime, foldRange CMTimeRange) CMTime
CMTimeFoldIntoRange folds a time into a time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeFoldIntoRange(_:foldRange:)
func CMTimeMake ¶
CMTimeMake creates a time with a value and timescale.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMake(value:timescale:)
func CMTimeMakeFromDictionary ¶
func CMTimeMakeFromDictionary(dictionaryRepresentation corefoundation.CFDictionaryRef) CMTime
CMTimeMakeFromDictionary creates a time from a dictionary representation of its fields.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMakeFromDictionary(_:)
func CMTimeMakeWithEpoch ¶
CMTimeMakeWithEpoch creates a time with a value, timescale, and epoch.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMakeWithEpoch(value:timescale:epoch:)
func CMTimeMakeWithSeconds ¶
CMTimeMakeWithSeconds creates a time that represents a number of seconds in a preferred timescale.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMakeWithSeconds(_:preferredTimescale:)
func CMTimeMapDurationFromRangeToRange ¶
func CMTimeMapDurationFromRangeToRange(dur CMTime, fromRange CMTimeRange, toRange CMTimeRange) CMTime
CMTimeMapDurationFromRangeToRange translates a duration through a mapping from two time ranges.
func CMTimeMapTimeFromRangeToRange ¶
func CMTimeMapTimeFromRangeToRange(t CMTime, fromRange CMTimeRange, toRange CMTimeRange) CMTime
CMTimeMapTimeFromRangeToRange translates a time through a mapping from two time ranges.
func CMTimeMaximum ¶
CMTimeMaximum returns the greater of two time values.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMaximum(_:_:)
func CMTimeMinimum ¶
CMTimeMinimum returns the lesser of two time values.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMinimum(_:_:)
func CMTimeMultiply ¶
CMTimeMultiply returns the result of multiplying a time by an integer multiplier.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMultiply(_:multiplier:)
func CMTimeMultiplyByFloat64 ¶
CMTimeMultiplyByFloat64 returns the result of multiplying a time by a floating-point multiplier.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMultiplyByFloat64(_:multiplier:)
func CMTimeMultiplyByRatio ¶
CMTimeMultiplyByRatio returns the result of multiplying a time by an integer multiplier, and then dividing the result by the divisor.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMultiplyByRatio(_:multiplier:divisor:)
func CMTimeRangeGetEnd ¶
func CMTimeRangeGetEnd(range_ CMTimeRange) CMTime
CMTimeRangeGetEnd returns a time value that represents the end of a time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeGetEnd(_:)
func CMTimeSubtract ¶
CMTimeSubtract returns the difference between two times.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeSubtract(_:_:)
func CMTimebaseGetTime ¶
CMTimebaseGetTime returns the current time from a timebase.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebaseGetTime(_:)
func CMTimebaseGetTimeWithTimeScale ¶
func CMTimebaseGetTimeWithTimeScale(timebase uintptr, timescale int32, method CMTimeRoundingMethod) CMTime
CMTimebaseGetTimeWithTimeScale returns the current time from a timebase in the specified timescale.
type CMTimeCodeDescriptionFlavor ¶
type CMTimeCodeDescriptionFlavor = corefoundation.CFStringRef
CMTimeCodeDescriptionFlavor is types that represent time code format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCodeDescriptionFlavor
type CMTimeCodeFormatDescriptionRef ¶
type CMTimeCodeFormatDescriptionRef uintptr
CMTimeCodeFormatDescriptionRef is a type you use to interact with time code format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCodeFormatDescription
type CMTimeCodeFormatType ¶
type CMTimeCodeFormatType = uint32
CMTimeCodeFormatType is a time code format type.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeCodeFormatType
type CMTimeEpoch ¶
type CMTimeEpoch = int64
CMTimeEpoch is an epoch for a time.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeEpoch
type CMTimeFlags ¶
type CMTimeFlags uint32
See: https://developer.apple.com/documentation/CoreMedia/CMTimeFlags
const ( // KCMTimeFlags_HasBeenRounded: A flag that indicates a previous time calculation rounded the result. KCMTimeFlags_HasBeenRounded CMTimeFlags = 2 // KCMTimeFlags_ImpliedValueFlagsMask: A flag that indicates the time is positive or negative infinity, or indefinite. KCMTimeFlags_ImpliedValueFlagsMask CMTimeFlags = 4 // KCMTimeFlags_Indefinite: A flag that indicates the time is indefinite. KCMTimeFlags_Indefinite CMTimeFlags = 16 // KCMTimeFlags_NegativeInfinity: A flag that indicates the time is negative infinity. KCMTimeFlags_NegativeInfinity CMTimeFlags = 8 // KCMTimeFlags_PositiveInfinity: A flag that indicates the time is positive infinity. KCMTimeFlags_PositiveInfinity CMTimeFlags = 4 // KCMTimeFlags_Valid: A flag that indicates a time is valid. KCMTimeFlags_Valid CMTimeFlags = 1 )
func (CMTimeFlags) String ¶
func (e CMTimeFlags) String() string
type CMTimeMapping ¶
type CMTimeMapping struct {
Source CMTimeRange // A time range on the source timeline.
Target CMTimeRange // A time range on the target timeline.
}
CMTimeMapping - A structure that maps a segment of a source time range to a target time range.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMTimeMapping
var ( // KCMTimeMappingInvalid is an invalid time mapping. // // See: https://developer.apple.com/documentation/CoreMedia/CMTimeMapping/invalid KCMTimeMappingInvalid CMTimeMapping )
func CMTimeMappingMake ¶
func CMTimeMappingMake(source CMTimeRange, target CMTimeRange) CMTimeMapping
CMTimeMappingMake creates a time mapping with a source and target time range.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMappingMake(source:target:)
func CMTimeMappingMakeEmpty ¶
func CMTimeMappingMakeEmpty(target CMTimeRange) CMTimeMapping
CMTimeMappingMakeEmpty creates a valid time mapping with an empty source.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMappingMakeEmpty(target:)
func CMTimeMappingMakeFromDictionary ¶
func CMTimeMappingMakeFromDictionary(dictionaryRepresentation corefoundation.CFDictionaryRef) CMTimeMapping
CMTimeMappingMakeFromDictionary creates a time mapping from a dictionary representation.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeMappingMakeFromDictionary(_:)
type CMTimeRange ¶
type CMTimeRange struct {
Start CMTime // The start time of the time range.
Duration CMTime // The duration of the time range.
}
CMTimeRange - A structure that represents a time range.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMTimeRange
var ( // KCMTimeRangeInvalid is a constant for generating an invalid time range. // // See: https://developer.apple.com/documentation/CoreMedia/CMTimeRange/invalid KCMTimeRangeInvalid CMTimeRange // KCMTimeRangeZero is a constant for generating an empty time range at zero. // // See: https://developer.apple.com/documentation/CoreMedia/CMTimeRange/zero KCMTimeRangeZero CMTimeRange )
func CMTimeRangeFromTimeToTime ¶
func CMTimeRangeFromTimeToTime(start CMTime, end CMTime) CMTimeRange
CMTimeRangeFromTimeToTime creates a valid time range from a start and end time.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeFromTimeToTime(start:end:)
func CMTimeRangeGetIntersection ¶
func CMTimeRangeGetIntersection(range_ CMTimeRange, otherRange CMTimeRange) CMTimeRange
CMTimeRangeGetIntersection returns a new time range with the time elements that are common between the input.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeGetIntersection(_:otherRange:)
func CMTimeRangeGetUnion ¶
func CMTimeRangeGetUnion(range_ CMTimeRange, otherRange CMTimeRange) CMTimeRange
CMTimeRangeGetUnion returns a new time range with the time elements of the input.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeGetUnion(_:otherRange:)
func CMTimeRangeMake ¶
func CMTimeRangeMake(start CMTime, duration CMTime) CMTimeRange
CMTimeRangeMake creates a valid time range with a start time and duration.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeMake(start:duration:)
func CMTimeRangeMakeFromDictionary ¶
func CMTimeRangeMakeFromDictionary(dictionaryRepresentation corefoundation.CFDictionaryRef) CMTimeRange
CMTimeRangeMakeFromDictionary creates a time range from a dictionary representation of its fields.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRangeMakeFromDictionary(_:)
type CMTimeRoundingMethod ¶
type CMTimeRoundingMethod uint32
See: https://developer.apple.com/documentation/CoreMedia/CMTimeRoundingMethod
const ( // KCMTimeRoundingMethod_QuickTime: Rounds using the QuickTime method. KCMTimeRoundingMethod_QuickTime CMTimeRoundingMethod = 4 // KCMTimeRoundingMethod_RoundAwayFromZero: Rounds away from zero. KCMTimeRoundingMethod_RoundAwayFromZero CMTimeRoundingMethod = 3 // KCMTimeRoundingMethod_RoundHalfAwayFromZero: Rounds half away from zero. KCMTimeRoundingMethod_RoundHalfAwayFromZero CMTimeRoundingMethod = 1 // KCMTimeRoundingMethod_RoundTowardNegativeInfinity: Rounds toward negative infinity. KCMTimeRoundingMethod_RoundTowardNegativeInfinity CMTimeRoundingMethod = 6 // KCMTimeRoundingMethod_RoundTowardPositiveInfinity: Rounds toward positive infinity. KCMTimeRoundingMethod_RoundTowardPositiveInfinity CMTimeRoundingMethod = 5 // KCMTimeRoundingMethod_RoundTowardZero: Rounds toward zero. KCMTimeRoundingMethod_RoundTowardZero CMTimeRoundingMethod = 2 )
func (CMTimeRoundingMethod) String ¶
func (e CMTimeRoundingMethod) String() string
type CMTimeScale ¶
type CMTimeScale = int32
CMTimeScale is an integer timescale.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeScale
type CMTimeValue ¶
type CMTimeValue = int64
CMTimeValue is an integer time value.
See: https://developer.apple.com/documentation/CoreMedia/CMTimeValue
type CMTimebaseRef ¶
type CMTimebaseRef uintptr
CMTimebaseRef is a model of a timeline under application control.
See: https://developer.apple.com/documentation/CoreMedia/CMTimebase
type CMVideoCodecType ¶
type CMVideoCodecType = uint32
CMVideoCodecType is a video codec type.
See: https://developer.apple.com/documentation/CoreMedia/CMVideoCodecType
type CMVideoDimensions ¶
type CMVideoDimensions struct {
Height int32 // The height of the video.
Width int32 // The width of the video.
}
CMVideoDimensions - A structure that represents video dimensions.
[Full Topic] [Full Topic]: https://developer.apple.com/documentation/CoreMedia/CMVideoDimensions
func CMVideoFormatDescriptionGetDimensions ¶
func CMVideoFormatDescriptionGetDimensions(videoDesc uintptr) CMVideoDimensions
CMVideoFormatDescriptionGetDimensions returns the video dimensions, in encoded pixels.
See: https://developer.apple.com/documentation/CoreMedia/CMVideoFormatDescriptionGetDimensions(_:)
type CMVideoFormatDescriptionRef ¶
type CMVideoFormatDescriptionRef uintptr
CMVideoFormatDescriptionRef is a type you use to interact with video format descriptions.
See: https://developer.apple.com/documentation/CoreMedia/CMVideoFormatDescription
type KCMAudioFormatDescriptionMask ¶
type KCMAudioFormatDescriptionMask uint
const ( // KCMAudioFormatDescriptionMask_All: A mask that represents all parts of an audio format description. KCMAudioFormatDescriptionMask_All KCMAudioFormatDescriptionMask = 0 // KCMAudioFormatDescriptionMask_ChannelLayout: A mask that represents the audio channel layout. KCMAudioFormatDescriptionMask_ChannelLayout KCMAudioFormatDescriptionMask = 0 // KCMAudioFormatDescriptionMask_Extensions: A mask that represents the format description extensions. KCMAudioFormatDescriptionMask_Extensions KCMAudioFormatDescriptionMask = 0 // KCMAudioFormatDescriptionMask_MagicCookie: A mask that represents the magic cookie. KCMAudioFormatDescriptionMask_MagicCookie KCMAudioFormatDescriptionMask = 0 // KCMAudioFormatDescriptionMask_StreamBasicDescription: A mask that represents the audio stream description. KCMAudioFormatDescriptionMask_StreamBasicDescription KCMAudioFormatDescriptionMask = 0 )
func (KCMAudioFormatDescriptionMask) String ¶
func (e KCMAudioFormatDescriptionMask) String() string
type KCMBlockBuffer ¶
type KCMBlockBuffer uint
const ( // KCMBlockBufferAlwaysCopyDataFlag: Used with CMBlockBuffer to cause it to always produce an allocated copy of the desired data. KCMBlockBufferAlwaysCopyDataFlag KCMBlockBuffer = 0 // KCMBlockBufferAssureMemoryNowFlag: When passed to routines that accept block allocators, causes the memory block to be allocated immediately. KCMBlockBufferAssureMemoryNowFlag KCMBlockBuffer = 0 // KCMBlockBufferBadCustomBlockSourceErr: An error code that indicates the custom block source is invalid. KCMBlockBufferBadCustomBlockSourceErr KCMBlockBuffer = 0 // KCMBlockBufferBadLengthParameterErr: An error code that indicates the block length is zero or doesn’t equal the size of the memory block. KCMBlockBufferBadLengthParameterErr KCMBlockBuffer = 0 // KCMBlockBufferBadOffsetParameterErr: An error code that indicates the offset doesn’t point to the location of data in the memory block. KCMBlockBufferBadOffsetParameterErr KCMBlockBuffer = 0 // KCMBlockBufferBadPointerParameterErr: An error code that indicates the block buffer reference is invalid. KCMBlockBufferBadPointerParameterErr KCMBlockBuffer = 0 // KCMBlockBufferBlockAllocationFailedErr: An error code that indicates the block allocator failed to allocate a memory block. KCMBlockBufferBlockAllocationFailedErr KCMBlockBuffer = 0 // KCMBlockBufferDontOptimizeDepthFlag: Passed to block buffers to suppress reference depth optimization. KCMBlockBufferDontOptimizeDepthFlag KCMBlockBuffer = 0 // KCMBlockBufferEmptyBBufErr: An error code that indicates the block buffer is empty. KCMBlockBufferEmptyBBufErr KCMBlockBuffer = 0 // KCMBlockBufferInsufficientSpaceErr: An error code that indicates the system failed to create a new buffer because of insufficient space at the buffer out location. KCMBlockBufferInsufficientSpaceErr KCMBlockBuffer = 0 // KCMBlockBufferNoErr: A code that indicates the system successfully created a block buffer with no errors. KCMBlockBufferNoErr KCMBlockBuffer = 0 // KCMBlockBufferPermitEmptyReferenceFlag: Passed to CMBlockBuffer and CMBlockBuffer to allow references into a [CMBlockBuffer] that may not yet be populated. KCMBlockBufferPermitEmptyReferenceFlag KCMBlockBuffer = 0 // KCMBlockBufferStructureAllocationFailedErr: An error code that indicates the structure allocator failed to allocate a block buffer. KCMBlockBufferStructureAllocationFailedErr KCMBlockBuffer = 0 // KCMBlockBufferUnallocatedBlockErr: An error code that indicates the system encountered an unallocated memory block. KCMBlockBufferUnallocatedBlockErr KCMBlockBuffer = 0 )
func (KCMBlockBuffer) String ¶
func (e KCMBlockBuffer) String() string
type KCMBufferQueueError ¶
type KCMBufferQueueError int
const ( // KCMBufferQueueError_AllocationFailed: The system failed to allocate memory. KCMBufferQueueError_AllocationFailed KCMBufferQueueError = 0 // KCMBufferQueueError_BadTriggerDuration: You specified an invalid trigger duration. KCMBufferQueueError_BadTriggerDuration KCMBufferQueueError = 0 // KCMBufferQueueError_CannotModifyQueueFromTriggerCallback: A trigger callback attempted to modify a queue. KCMBufferQueueError_CannotModifyQueueFromTriggerCallback KCMBufferQueueError = 0 // KCMBufferQueueError_EnqueueAfterEndOfData: You attempted to enqueue a buffer on a queue that disallows it. KCMBufferQueueError_EnqueueAfterEndOfData KCMBufferQueueError = 0 // KCMBufferQueueError_InvalidBuffer: A buffer validation callback rejected the buffer. KCMBufferQueueError_InvalidBuffer KCMBufferQueueError = 0 // KCMBufferQueueError_InvalidCMBufferCallbacksStruct: The format of a callbacks structure isn’t correct. KCMBufferQueueError_InvalidCMBufferCallbacksStruct KCMBufferQueueError = 0 // KCMBufferQueueError_InvalidTriggerCondition: You specified an invalid trigger condition. KCMBufferQueueError_InvalidTriggerCondition KCMBufferQueueError = 0 // KCMBufferQueueError_InvalidTriggerToken: You specified a trigger token that isn’t a trigger currently associated with this queue. KCMBufferQueueError_InvalidTriggerToken KCMBufferQueueError = 0 // KCMBufferQueueError_QueueIsFull: You attempted to enqueue a buffer on a queue that’s full. KCMBufferQueueError_QueueIsFull KCMBufferQueueError = 0 // KCMBufferQueueError_RequiredParameterMissing: You failed to provide a valid value for a required parameter. KCMBufferQueueError_RequiredParameterMissing KCMBufferQueueError = 0 )
func (KCMBufferQueueError) String ¶
func (e KCMBufferQueueError) String() string
type KCMClockError ¶
type KCMClockError int
const ( // KCMClockError_AllocationFailed: A clock error that indicates the memory allocation fails. KCMClockError_AllocationFailed KCMClockError = 0 // KCMClockError_InvalidParameter: A clock error that indicates a parameter isn’t valid. KCMClockError_InvalidParameter KCMClockError = 0 // KCMClockError_MissingRequiredParameter: A clock error that indicates a parameter is missing. KCMClockError_MissingRequiredParameter KCMClockError = 0 // KCMClockError_UnsupportedOperation: A clock error that indicates the operation isn’t supported. KCMClockError_UnsupportedOperation KCMClockError = 0 )
func (KCMClockError) String ¶
func (e KCMClockError) String() string
type KCMClosedCaptionFormatType ¶
type KCMClosedCaptionFormatType uint
const ( // KCMClosedCaptionFormatType_ATSC: A type that describes ATSC-compliant samples. KCMClosedCaptionFormatType_ATSC KCMClosedCaptionFormatType = 0 // KCMClosedCaptionFormatType_CEA608: A type that describes CEA 608-compliant samples. KCMClosedCaptionFormatType_CEA608 KCMClosedCaptionFormatType = 0 // KCMClosedCaptionFormatType_CEA708: A type that describes CEA 708-compliant samples. KCMClosedCaptionFormatType_CEA708 KCMClosedCaptionFormatType = 0 )
func (KCMClosedCaptionFormatType) String ¶
func (e KCMClosedCaptionFormatType) String() string
type KCMFormatDescriptionBridgeError ¶
type KCMFormatDescriptionBridgeError int
const ( // KCMFormatDescriptionBridgeError_AllocationFailed: A bridge error that indicates when an allocation fails. KCMFormatDescriptionBridgeError_AllocationFailed KCMFormatDescriptionBridgeError = 0 // KCMFormatDescriptionBridgeError_IncompatibleFormatDescription: A bridge error that indicates the format description has an unknown format. KCMFormatDescriptionBridgeError_IncompatibleFormatDescription KCMFormatDescriptionBridgeError = 0 // KCMFormatDescriptionBridgeError_InvalidFormatDescription: A bridge error that indicates the format description isn’t valid. KCMFormatDescriptionBridgeError_InvalidFormatDescription KCMFormatDescriptionBridgeError = 0 // KCMFormatDescriptionBridgeError_InvalidParameter: A bridge error that indicates that the function recieves an empty value for a parameter it requires. KCMFormatDescriptionBridgeError_InvalidParameter KCMFormatDescriptionBridgeError = 0 // KCMFormatDescriptionBridgeError_InvalidSerializedSampleDescription: A bridge error that indicates that the sample isn’t valid. KCMFormatDescriptionBridgeError_InvalidSerializedSampleDescription KCMFormatDescriptionBridgeError = 0 // KCMFormatDescriptionBridgeError_InvalidSlice: A bridge error that indicates the slice isn’t valid. KCMFormatDescriptionBridgeError_InvalidSlice KCMFormatDescriptionBridgeError = 0 // KCMFormatDescriptionBridgeError_UnsupportedSampleDescriptionFlavor: A bridge error that indicates the sample isn’t supported for the format flavor you specify. KCMFormatDescriptionBridgeError_UnsupportedSampleDescriptionFlavor KCMFormatDescriptionBridgeError = 0 )
func (KCMFormatDescriptionBridgeError) String ¶
func (e KCMFormatDescriptionBridgeError) String() string
type KCMFormatDescriptionError ¶
type KCMFormatDescriptionError int
const ( // KCMFormatDescriptionError_AllocationFailed: An error that indicates when an allocation fails. KCMFormatDescriptionError_AllocationFailed KCMFormatDescriptionError = 0 // KCMFormatDescriptionError_InvalidParameter: An error that indicates that the function recieves an empty value for a parameter it requires. KCMFormatDescriptionError_InvalidParameter KCMFormatDescriptionError = 0 // KCMFormatDescriptionError_ValueNotAvailable: An error that indicates the format description doesn’t contain the value you request. KCMFormatDescriptionError_ValueNotAvailable KCMFormatDescriptionError = 0 )
func (KCMFormatDescriptionError) String ¶
func (e KCMFormatDescriptionError) String() string
type KCMMPEG2VideoProfile ¶
type KCMMPEG2VideoProfile uint
const ( // KCMMPEG2VideoProfile_HDV_1080i50: A profile that represents the Apple Intermediate Codec HDV 1080i50 format. KCMMPEG2VideoProfile_HDV_1080i50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_1080i60: A profile that represents the Apple Intermediate Codec HDV 1080i60 format. KCMMPEG2VideoProfile_HDV_1080i60 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_1080p24: A profile that represents the Apple ProRes 422 codec HDV 1080p24 format. KCMMPEG2VideoProfile_HDV_1080p24 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_1080p25: A profile that represents the HDV 1080p25 format. KCMMPEG2VideoProfile_HDV_1080p25 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_1080p30: A profile that represents the HDV 1080p30 format. KCMMPEG2VideoProfile_HDV_1080p30 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_720p24: A profile that represents the HDV 720p24 format. KCMMPEG2VideoProfile_HDV_720p24 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_720p25: A profile that represents the HDV_720p25 format. KCMMPEG2VideoProfile_HDV_720p25 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_720p30: A profile that represents the Apple Intermediate Codec HDV 720p30 format. KCMMPEG2VideoProfile_HDV_720p30 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_720p50: A profile that represents the HDV 720p50 format. KCMMPEG2VideoProfile_HDV_720p50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_HDV_720p60: A profile that represents the HDV 720p60 format. KCMMPEG2VideoProfile_HDV_720p60 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_1080i50_VBR35: A profile that represents the XDCAM EX 1080i50 HQ video format with HQ 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_1080i50_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_1080i60_VBR35: A profile that represents the XDCAM EX 1080i60 HQ video format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_1080i60_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_1080p24_VBR35: A profile that represents the XDCAM EX 1080p24 HQ video format with HQ 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_1080p24_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_1080p25_VBR35: A profile that represents the XDCAM EX 1080p25 HQ video format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_1080p25_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_1080p30_VBR35: A profile that represents the XDCAM EX 1080p30 HQ video format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_1080p30_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_720p24_VBR35: A profile that represents the XDCAM EX 720p24 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_720p24_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_720p25_VBR35: A profile that represents the XDCAM EX 720p25 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_720p25_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_720p30_VBR35: A profile that represents the XDCAM EX 720p30 video HQ format with 35 Mbps bit rate . KCMMPEG2VideoProfile_XDCAM_EX_720p30_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_720p50_VBR35: A profile that represents the XDCAM EX 720p50 HQ video format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_720p50_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_EX_720p60_VBR35: A profile that represents the XDCAM EX 720p60 HQ video format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_EX_720p60_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_1080i50_CBR50: A profile that represents the XDCAM HD422 1080i50 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_1080i50_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_1080i60_CBR50: A profile that represents the XDCAM HD422 1080i60 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_1080i60_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_1080p24_CBR50: A profile that represents the XDCAM HD422 1080p24 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_1080p24_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_1080p25_CBR50: A profile that represents the XDCAM HD422 1080p25 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_1080p25_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_1080p30_CBR50: A profile that represents the XDCAM HD422 1080p30 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_1080p30_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_540p: A profile that represents the XDCAM HD422 540 video format. KCMMPEG2VideoProfile_XDCAM_HD422_540p KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_720p24_CBR50: A profile that represents the XDCAM HD 422 720p24 video format. KCMMPEG2VideoProfile_XDCAM_HD422_720p24_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_720p25_CBR50: A profile that represents the XDCAM HD 422 720p25 video format. KCMMPEG2VideoProfile_XDCAM_HD422_720p25_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_720p30_CBR50: A profile that represents the XDCAM HD 422 720p30 video format. KCMMPEG2VideoProfile_XDCAM_HD422_720p30_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_720p50_CBR50: A profile that represents the XDCAM HD422 720p50 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_720p50_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD422_720p60_CBR50: A profile that represents the XDCAM HD422 720p60 video format with 50 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD422_720p60_CBR50 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD_1080i50_VBR35: A profile that represents the XDCAM HD 1080i50 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD_1080i50_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD_1080i60_VBR35: A profile that represents the XDCAM HD 1080i60 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD_1080i60_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD_1080p24_VBR35: A profile that represents the XDCAM HD 1080p24 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD_1080p24_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD_1080p25_VBR35: A profile that represents the XDCAM HD 1080p25 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD_1080p25_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD_1080p30_VBR35: A profile that represents the DCAM HD 1080p30 video HQ format with 35 Mbps bit rate. KCMMPEG2VideoProfile_XDCAM_HD_1080p30_VBR35 KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XDCAM_HD_540p: A profile that represents the XDCAM HD 540p video format. KCMMPEG2VideoProfile_XDCAM_HD_540p KCMMPEG2VideoProfile = 0 // KCMMPEG2VideoProfile_XF: A profile that represents the XF video format. KCMMPEG2VideoProfile_XF KCMMPEG2VideoProfile = 0 )
func (KCMMPEG2VideoProfile) String ¶
func (e KCMMPEG2VideoProfile) String() string
type KCMMediaType ¶
type KCMMediaType uint
const ( // KCMMediaType_Audio: Audio media. KCMMediaType_Audio KCMMediaType = 0 // KCMMediaType_ClosedCaption: Closed-caption media. KCMMediaType_ClosedCaption KCMMediaType = 0 // KCMMediaType_Metadata: Meta data. KCMMediaType_Metadata KCMMediaType = 0 // KCMMediaType_Muxed: Muxed media. KCMMediaType_Muxed KCMMediaType = 0 // KCMMediaType_Subtitle: Subtitle media. KCMMediaType_Subtitle KCMMediaType = 0 // KCMMediaType_TaggedBufferGroup: Media containing a tagged buffer group. KCMMediaType_TaggedBufferGroup KCMMediaType = 0 // KCMMediaType_Text: Text media. KCMMediaType_Text KCMMediaType = 0 // KCMMediaType_TimeCode: Time code media. KCMMediaType_TimeCode KCMMediaType = 0 // KCMMediaType_Video: Video media. KCMMediaType_Video KCMMediaType = 0 )
func (KCMMediaType) String ¶
func (e KCMMediaType) String() string
type KCMMemoryPoolError ¶
type KCMMemoryPoolError int
const ( // KCMMemoryPoolError_AllocationFailed: An error that indicates the system failed to allocate an internal data structure. KCMMemoryPoolError_AllocationFailed KCMMemoryPoolError = 0 // KCMMemoryPoolError_InvalidParameter: An error that indicates you called an API with an invalid parameter. KCMMemoryPoolError_InvalidParameter KCMMemoryPoolError = 0 )
func (KCMMemoryPoolError) String ¶
func (e KCMMemoryPoolError) String() string
type KCMMetadataDataTypeRegistryError ¶
type KCMMetadataDataTypeRegistryError int
const ( // KCMMetadataDataTypeRegistryError_AllocationFailed: An error that indicates the allocation fails. KCMMetadataDataTypeRegistryError_AllocationFailed KCMMetadataDataTypeRegistryError = 0 // KCMMetadataDataTypeRegistryError_BadDataTypeIdentifier: An error that indicates a bad datatype identifier. KCMMetadataDataTypeRegistryError_BadDataTypeIdentifier KCMMetadataDataTypeRegistryError = 0 // KCMMetadataDataTypeRegistryError_DataTypeAlreadyRegistered: An error that indicates the datatype is in a registered state. KCMMetadataDataTypeRegistryError_DataTypeAlreadyRegistered KCMMetadataDataTypeRegistryError = 0 // KCMMetadataDataTypeRegistryError_MultipleConformingBaseTypes: An error that indicates that type you provide has more than one base data type. KCMMetadataDataTypeRegistryError_MultipleConformingBaseTypes KCMMetadataDataTypeRegistryError = 0 // KCMMetadataDataTypeRegistryError_RequiredParameterMissing: An error that indicates a parameter the function requires is empty. KCMMetadataDataTypeRegistryError_RequiredParameterMissing KCMMetadataDataTypeRegistryError = 0 // KCMMetadataDataTypeRegistryError_RequiresConformingBaseType: An error that indicates the data type you specify requires a conforming data type that resolves to a base data type. KCMMetadataDataTypeRegistryError_RequiresConformingBaseType KCMMetadataDataTypeRegistryError = 0 )
func (KCMMetadataDataTypeRegistryError) String ¶
func (e KCMMetadataDataTypeRegistryError) String() string
type KCMMetadataFormatType ¶
type KCMMetadataFormatType uint
const ( // KCMMetadataFormatType_Boxed: CoreMedia boxed format. KCMMetadataFormatType_Boxed KCMMetadataFormatType = 0 KCMMetadataFormatType_EMSG KCMMetadataFormatType = 0 // KCMMetadataFormatType_ICY: SHOUTCast format. KCMMetadataFormatType_ICY KCMMetadataFormatType = 0 // KCMMetadataFormatType_ID3: ID3 format. KCMMetadataFormatType_ID3 KCMMetadataFormatType = 0 )
func (KCMMetadataFormatType) String ¶
func (e KCMMetadataFormatType) String() string
type KCMMetadataIdentifierError ¶
type KCMMetadataIdentifierError int
const ( // KCMMetadataIdentifierError_AllocationFailed: An error that indicates an allocation fails. KCMMetadataIdentifierError_AllocationFailed KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_BadIdentifier: An error that indicates the identifier isn’t valid. KCMMetadataIdentifierError_BadIdentifier KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_BadKey: An error that indicates a key isn’t valid. KCMMetadataIdentifierError_BadKey KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_BadKeyLength: An error that indicates that a key doesn’t have the correct length. KCMMetadataIdentifierError_BadKeyLength KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_BadKeySpace: An error that indicates the keyspace isn’t valid. KCMMetadataIdentifierError_BadKeySpace KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_BadKeyType: An error that indicates a key has a bad type. KCMMetadataIdentifierError_BadKeyType KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_BadNumberKey: An error that indicates the number for a key isn’t valid. KCMMetadataIdentifierError_BadNumberKey KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_NoKeyValueAvailable: An error that indicates a request for a key value in the anonymous keyspace. KCMMetadataIdentifierError_NoKeyValueAvailable KCMMetadataIdentifierError = 0 // KCMMetadataIdentifierError_RequiredParameterMissing: An error that indicates a parameter the function requires is empty. KCMMetadataIdentifierError_RequiredParameterMissing KCMMetadataIdentifierError = 0 )
func (KCMMetadataIdentifierError) String ¶
func (e KCMMetadataIdentifierError) String() string
type KCMMuxedStreamType ¶
type KCMMuxedStreamType uint
const ( // KCMMuxedStreamType_DV: DV stream. KCMMuxedStreamType_DV KCMMuxedStreamType = 0 KCMMuxedStreamType_EmbeddedDeviceScreenRecording KCMMuxedStreamType = 0 // KCMMuxedStreamType_MPEG1System: MPEG-1 System stream. KCMMuxedStreamType_MPEG1System KCMMuxedStreamType = 0 // KCMMuxedStreamType_MPEG2Program: MPEG-2 Program stream. KCMMuxedStreamType_MPEG2Program KCMMuxedStreamType = 0 // KCMMuxedStreamType_MPEG2Transport: MPEG-2 Transport stream. KCMMuxedStreamType_MPEG2Transport KCMMuxedStreamType = 0 )
func (KCMMuxedStreamType) String ¶
func (e KCMMuxedStreamType) String() string
type KCMPixelFormat ¶
type KCMPixelFormat uint
const ( // KCMPixelFormat_16BE555: A type that describes 16-bit big-endian 5-5-5. KCMPixelFormat_16BE555 KCMPixelFormat = 0 // KCMPixelFormat_16BE565: A type that describes 16-bit big-endian 5-6-5. KCMPixelFormat_16BE565 KCMPixelFormat = 0 // KCMPixelFormat_16LE555: A type that describes 16-bit little-endian 5-5-5. KCMPixelFormat_16LE555 KCMPixelFormat = 0 // KCMPixelFormat_16LE5551: A type that describes 16-bit little-endian 5-5-5-1. KCMPixelFormat_16LE5551 KCMPixelFormat = 0 // KCMPixelFormat_16LE565: A type that describes 16-bit little-endian 5-6-5. KCMPixelFormat_16LE565 KCMPixelFormat = 0 // KCMPixelFormat_24RGB: A type that describes 24-bit RGB. KCMPixelFormat_24RGB KCMPixelFormat = 0 // KCMPixelFormat_32ARGB: A type that describes 32-bit ARGB. KCMPixelFormat_32ARGB KCMPixelFormat = 0 // KCMPixelFormat_32BGRA: A type that describes 32-bit BGRA. KCMPixelFormat_32BGRA KCMPixelFormat = 0 // KCMPixelFormat_422YpCbCr10: A type that describes component Y’CbCr 10-bit 4:2:2. KCMPixelFormat_422YpCbCr10 KCMPixelFormat = 0 // KCMPixelFormat_422YpCbCr16: A type that describes component Y’CbCr 10,12,14,16-bit 4:2:2. KCMPixelFormat_422YpCbCr16 KCMPixelFormat = 0 // KCMPixelFormat_422YpCbCr8: A type that describes component Y’CbCr 8-bit 4:2:2 ordered Cb Y’0 Cr Y’1. KCMPixelFormat_422YpCbCr8 KCMPixelFormat = 0 // KCMPixelFormat_422YpCbCr8_yuvs: A type that describes component Y’CbCr 8-bit 4:2:2 ordered Y’0 Cb Y’1 Cr. KCMPixelFormat_422YpCbCr8_yuvs KCMPixelFormat = 0 // KCMPixelFormat_4444YpCbCrA8: A type that describes component Y’CbCrA 8-bit 4:4:4:4. KCMPixelFormat_4444YpCbCrA8 KCMPixelFormat = 0 // KCMPixelFormat_444YpCbCr10: A type that describes component Y’CbCr 10-bit 4:4:4 KCMPixelFormat_444YpCbCr10 KCMPixelFormat = 0 // KCMPixelFormat_444YpCbCr8: A type that describes component Y’CbCr 8-bit 4:4:4. KCMPixelFormat_444YpCbCr8 KCMPixelFormat = 0 // KCMPixelFormat_8IndexedGray_WhiteIsZero: A type that describes 8-bit indexed gray, white is zero. KCMPixelFormat_8IndexedGray_WhiteIsZero KCMPixelFormat = 0 )
func (KCMPixelFormat) String ¶
func (e KCMPixelFormat) String() string
type KCMSampleBufferError ¶
type KCMSampleBufferError int
const ( // KCMSampleBufferError_AllocationFailed: An error code that indicates the system failed to allocate memory. KCMSampleBufferError_AllocationFailed KCMSampleBufferError = 0 // KCMSampleBufferError_AlreadyHasDataBuffer: An error code that indicates an attempt to set data on a sample buffer failed because that buffer already contains media data. KCMSampleBufferError_AlreadyHasDataBuffer KCMSampleBufferError = 0 // KCMSampleBufferError_ArrayTooSmall: An error code that indicates the output array isn’t large enough to hold the requested array. KCMSampleBufferError_ArrayTooSmall KCMSampleBufferError = 0 // KCMSampleBufferError_BufferHasNoSampleSizes: An error code that indicates a request for sample sizes on a buffer failed because the buffer doesn’t provide that information. KCMSampleBufferError_BufferHasNoSampleSizes KCMSampleBufferError = 0 // KCMSampleBufferError_BufferHasNoSampleTimingInfo: An error code that indicates a request for sample timing on a buffer failed because the buffer doesn’t contain that information. KCMSampleBufferError_BufferHasNoSampleTimingInfo KCMSampleBufferError = 0 // KCMSampleBufferError_BufferNotReady: An error code that indicates the system can’t make the buffer’s data ready for use. KCMSampleBufferError_BufferNotReady KCMSampleBufferError = 0 // KCMSampleBufferError_CannotSubdivide: An error code that indicates a sample buffer doesn’t contain sample sizes. KCMSampleBufferError_CannotSubdivide KCMSampleBufferError = 0 // KCMSampleBufferError_DataCanceled: An error code that indicates a sample buffer canceled its data-loading operation. KCMSampleBufferError_DataCanceled KCMSampleBufferError = 0 // KCMSampleBufferError_DataFailed: An error code that indicates a sample buffer failed to load its data. KCMSampleBufferError_DataFailed KCMSampleBufferError = 0 // KCMSampleBufferError_InvalidEntryCount: An error code that indicates a timing or size value isn’t within the allowed range. KCMSampleBufferError_InvalidEntryCount KCMSampleBufferError = 0 // KCMSampleBufferError_InvalidMediaFormat: An error code that indicates the media format doesn’t match the sample buffer’s format description. KCMSampleBufferError_InvalidMediaFormat KCMSampleBufferError = 0 // KCMSampleBufferError_InvalidMediaTypeForOperation: An error code that indicates the media type that the format description defines isn’t a value for the requested operation. KCMSampleBufferError_InvalidMediaTypeForOperation KCMSampleBufferError = 0 // KCMSampleBufferError_InvalidSampleData: An error code that indicates the sample buffer contains bad data. KCMSampleBufferError_InvalidSampleData KCMSampleBufferError = 0 // KCMSampleBufferError_Invalidated: An error code that indicates a sample buffer invalidated its data. KCMSampleBufferError_Invalidated KCMSampleBufferError = 0 // KCMSampleBufferError_RequiredParameterMissing: An error code that indicates a required parameter’s value is invalid. KCMSampleBufferError_RequiredParameterMissing KCMSampleBufferError = 0 // KCMSampleBufferError_SampleIndexOutOfRange: An error code that indicates the sample index is outside the range of samples that the buffer contains. KCMSampleBufferError_SampleIndexOutOfRange KCMSampleBufferError = 0 // KCMSampleBufferError_SampleTimingInfoInvalid: An error code that indicates the sample buffer unexpectedly contains nonnumeric sample-timing information. KCMSampleBufferError_SampleTimingInfoInvalid KCMSampleBufferError = 0 )
func (KCMSampleBufferError) String ¶
func (e KCMSampleBufferError) String() string
type KCMSimpleQueueError ¶
type KCMSimpleQueueError int
const ( // KCMSimpleQueueError_AllocationFailed: The system failed to allocate memory. KCMSimpleQueueError_AllocationFailed KCMSimpleQueueError = 0 // KCMSimpleQueueError_ParameterOutOfRange: You passed a parameter to a function that’s outside the range of allowed values. KCMSimpleQueueError_ParameterOutOfRange KCMSimpleQueueError = 0 // KCMSimpleQueueError_QueueIsFull: An operation failed because the queue is full. KCMSimpleQueueError_QueueIsFull KCMSimpleQueueError = 0 // KCMSimpleQueueError_RequiredParameterMissing: You failed to pass a required parameter to a function. KCMSimpleQueueError_RequiredParameterMissing KCMSimpleQueueError = 0 )
func (KCMSimpleQueueError) String ¶
func (e KCMSimpleQueueError) String() string
type KCMSubtitleFormatType ¶
type KCMSubtitleFormatType uint
const ( KCMSubtitleFormatType_3GText KCMSubtitleFormatType = 0 KCMSubtitleFormatType_WebVTT KCMSubtitleFormatType = 0 )
func (KCMSubtitleFormatType) String ¶
func (e KCMSubtitleFormatType) String() string
type KCMSyncError ¶
type KCMSyncError int
const ( // KCMSyncError_AllocationFailed: A sync error that indicates the memory allocation fails. KCMSyncError_AllocationFailed KCMSyncError = 0 // KCMSyncError_InvalidParameter: A sync error that indicates a parameter isn’t valid. KCMSyncError_InvalidParameter KCMSyncError = 0 // KCMSyncError_MissingRequiredParameter: A sync error that indicates a parameter is missing. KCMSyncError_MissingRequiredParameter KCMSyncError = 0 // KCMSyncError_RateMustBeNonZero: A sync error that indicates the rate is nonzero. KCMSyncError_RateMustBeNonZero KCMSyncError = 0 )
func (KCMSyncError) String ¶
func (e KCMSyncError) String() string
type KCMTextDisplayFlag ¶
type KCMTextDisplayFlag uint
const ( // KCMTextDisplayFlag_allSubtitlesForced: A flag that describes treating all subtitle samples as if they contain forced subtitles. KCMTextDisplayFlag_allSubtitlesForced KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_continuousKaraoke: A flag that describes enabling the continuous karaoke mode where the range of karaoke highlighting extends to include additional ranges rather than the highlighting moves onto the next range. KCMTextDisplayFlag_continuousKaraoke KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_fillTextRegion: A flag that describes the subtitle display bounds are to be filled with the color specified by `kCMTextFormatDescriptionExtension_BackgroundColor`. KCMTextDisplayFlag_fillTextRegion KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_forcedSubtitlesPresent: A flag that describes forcing subtitles are present, for example, a subtitle which only displays during foreign language sections of the video. KCMTextDisplayFlag_forcedSubtitlesPresent KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_obeySubtitleFormatting: A flag that describes using the subtitle display bounds to determine if the system places the subtitltes near the top or bottom of the video. KCMTextDisplayFlag_obeySubtitleFormatting KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollDirectionMask: A flag that describes the scrolling direction is set by a two-bit field, obtained from displayFlags using kCMTextDisplayFlag_scrollDirectionMask. KCMTextDisplayFlag_scrollDirectionMask KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollDirection_bottomToTop: A flag that describes the text is vertically scrolled up (“credits style”), entering from the bottom and leaving towards the top. KCMTextDisplayFlag_scrollDirection_bottomToTop KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollDirection_leftToRight: A flag that describes the text is horizontally scrolled, entering from the left and leaving towards the right. KCMTextDisplayFlag_scrollDirection_leftToRight KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollDirection_rightToLeft: A flag that describes the text is horizontally scrolled (“marquee style”), entering from the right and leaving towards the left. KCMTextDisplayFlag_scrollDirection_rightToLeft KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollDirection_topToBottom: A flag that describes the text is vertically scrolled down, entering from the top and leaving towards the bottom. KCMTextDisplayFlag_scrollDirection_topToBottom KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollIn: A flag that describes the text scrolls into the display region. KCMTextDisplayFlag_scrollIn KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_scrollOut: A flag that describes the text scrolls out of the display region. KCMTextDisplayFlag_scrollOut KCMTextDisplayFlag = 0 // KCMTextDisplayFlag_writeTextVertically: A flag that describes the text renders vertically. KCMTextDisplayFlag_writeTextVertically KCMTextDisplayFlag = 0 )
func (KCMTextDisplayFlag) String ¶
func (e KCMTextDisplayFlag) String() string
type KCMTextFormatType ¶
type KCMTextFormatType uint
const ( // KCMTextFormatType_3GText: A type that describes 3GPP text media. KCMTextFormatType_3GText KCMTextFormatType = 0 // KCMTextFormatType_QTText: A type that describes QuickTime text media. KCMTextFormatType_QTText KCMTextFormatType = 0 )
func (KCMTextFormatType) String ¶
func (e KCMTextFormatType) String() string
type KCMTextJustification ¶
type KCMTextJustification uint
const ( // KCMTextJustification_bottom_right: A type that describes bottom justification when specified for vertical justification, right justification for horizontal justification. KCMTextJustification_bottom_right KCMTextJustification = 0 // KCMTextJustification_centered: A type that describes center justification (both horizontal and vertical justification). KCMTextJustification_centered KCMTextJustification = 0 // KCMTextJustification_left_top: A type that describes left justification when specified for horizontal justification, top justification for vertical justification. KCMTextJustification_left_top KCMTextJustification = 0 )
func (KCMTextJustification) String ¶
func (e KCMTextJustification) String() string
type KCMTimeCodeFlag ¶
type KCMTimeCodeFlag uint
const ( // KCMTimeCodeFlag_24HourMax: A type that describes timecode rolls over every 24 hours. KCMTimeCodeFlag_24HourMax KCMTimeCodeFlag = 0 // KCMTimeCodeFlag_DropFrame: A type that describes timecodes are to be rendered in drop-frame format. KCMTimeCodeFlag_DropFrame KCMTimeCodeFlag = 0 // KCMTimeCodeFlag_NegTimesOK: A type that describes that the track may contain negative timecodes. KCMTimeCodeFlag_NegTimesOK KCMTimeCodeFlag = 0 )
func (KCMTimeCodeFlag) String ¶
func (e KCMTimeCodeFlag) String() string
type KCMTimeCodeFormatType ¶
type KCMTimeCodeFormatType uint
const ( // KCMTimeCodeFormatType_Counter32: 32-bit counter-mode sample. KCMTimeCodeFormatType_Counter32 KCMTimeCodeFormatType = 0 // KCMTimeCodeFormatType_Counter64: 64-bit counter-mode sample. KCMTimeCodeFormatType_Counter64 KCMTimeCodeFormatType = 0 // KCMTimeCodeFormatType_TimeCode32: 32-bit time code sample. KCMTimeCodeFormatType_TimeCode32 KCMTimeCodeFormatType = 0 // KCMTimeCodeFormatType_TimeCode64: 64-bit time code sample. KCMTimeCodeFormatType_TimeCode64 KCMTimeCodeFormatType = 0 )
func (KCMTimeCodeFormatType) String ¶
func (e KCMTimeCodeFormatType) String() string
type KCMTimebaseError ¶
type KCMTimebaseError int
const ( // KCMTimebaseError_AllocationFailed: A timebase error that indicates the memory allocation fails. KCMTimebaseError_AllocationFailed KCMTimebaseError = 0 // KCMTimebaseError_InvalidParameter: A timebase error that indicates a parameter isn’t valid. KCMTimebaseError_InvalidParameter KCMTimebaseError = 0 // KCMTimebaseError_MissingRequiredParameter: A timebase error that indicates a parameter is missing. KCMTimebaseError_MissingRequiredParameter KCMTimebaseError = 0 // KCMTimebaseError_ReadOnly: A timebase error that indicates the system attempts to modify a read-only timebase. KCMTimebaseError_ReadOnly KCMTimebaseError = 0 // KCMTimebaseError_TimerIntervalTooShort: A timebase error that indicates the time interval is too short. KCMTimebaseError_TimerIntervalTooShort KCMTimebaseError = 0 )
func (KCMTimebaseError) String ¶
func (e KCMTimebaseError) String() string
type KCMVideoCodecType ¶
type KCMVideoCodecType uint
const ( // KCMVideoCodecType_422YpCbCr8: A type that identifies a component with the format of Y’CbCr 8-bit 4:2:2 ordered Cb Y’0 Cr Y’1. KCMVideoCodecType_422YpCbCr8 KCMVideoCodecType = 0 KCMVideoCodecType_AV1 KCMVideoCodecType = 0 // KCMVideoCodecType_Animation: A type that identifies the apple animation format. KCMVideoCodecType_Animation KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProRes422: A type that identifies the Apple ProRes 422 format. KCMVideoCodecType_AppleProRes422 KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProRes422HQ: A type that identifies the Apple ProRes 422 HQ format. KCMVideoCodecType_AppleProRes422HQ KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProRes422LT: A type that identifies the Apple ProRes 422 LT format. KCMVideoCodecType_AppleProRes422LT KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProRes422Proxy: A type that identifies the Apple ProRes 422 proxy format. KCMVideoCodecType_AppleProRes422Proxy KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProRes4444: A type that identifies the Apple ProRes 4444 format. KCMVideoCodecType_AppleProRes4444 KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProRes4444XQ: A type that identifies the Apple ProRes 4444 XQ format. KCMVideoCodecType_AppleProRes4444XQ KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProResRAW: A type that identifies the Apple ProRes RAW format. KCMVideoCodecType_AppleProResRAW KCMVideoCodecType = 0 // KCMVideoCodecType_AppleProResRAWHQ: A type that identifies the Apple ProRes RAW HQ format. KCMVideoCodecType_AppleProResRAWHQ KCMVideoCodecType = 0 // KCMVideoCodecType_Cinepak: A type that identifies the cinepak format. KCMVideoCodecType_Cinepak KCMVideoCodecType = 0 // KCMVideoCodecType_DVCNTSC: A type that identifies the DV NTSC format. KCMVideoCodecType_DVCNTSC KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPAL: A type that identifies the DV PAL format. KCMVideoCodecType_DVCPAL KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPROHD1080i50: A type that identifies the Panasonic DVCPro-HD 1080i50 format. KCMVideoCodecType_DVCPROHD1080i50 KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPROHD1080i60: A type that identifies the Panasonic DVCPro-HD 1080i60 format. KCMVideoCodecType_DVCPROHD1080i60 KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPROHD1080p25: A type that identifies the Panasonic DVCPro-HD 1080p25 format. KCMVideoCodecType_DVCPROHD1080p25 KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPROHD1080p30: A type that identifies the Panasonic DVCPro-HD 1080p30 format. KCMVideoCodecType_DVCPROHD1080p30 KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPROHD720p50: A type that identifies the Panasonic DVCPro-HD 720p50 format. KCMVideoCodecType_DVCPROHD720p50 KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPROHD720p60: A type that identifies the Panasonic DVCPro-HD 720p60 format. KCMVideoCodecType_DVCPROHD720p60 KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPro50NTSC: A type that identifies the Panasonic DVCPro-50 NTSC format. KCMVideoCodecType_DVCPro50NTSC KCMVideoCodecType = 0 // KCMVideoCodecType_DVCPro50PAL: A type that identifies the Panasonic DVCPro-50 PAL format. KCMVideoCodecType_DVCPro50PAL KCMVideoCodecType = 0 // KCMVideoCodecType_DVCProPAL: A type that identifies the Panasonic DVCPro PAL format. KCMVideoCodecType_DVCProPAL KCMVideoCodecType = 0 // KCMVideoCodecType_DepthHEVC: A type that identifies the depth HEVC format. KCMVideoCodecType_DepthHEVC KCMVideoCodecType = 0 // KCMVideoCodecType_DisparityHEVC: A type that identifies the disparity HEVC format. KCMVideoCodecType_DisparityHEVC KCMVideoCodecType = 0 // KCMVideoCodecType_DolbyVisionHEVC: A type that identifies the Dolby Vision HEVC format. KCMVideoCodecType_DolbyVisionHEVC KCMVideoCodecType = 0 // KCMVideoCodecType_H263: A type that identifies the ITU-T H.263 format. KCMVideoCodecType_H263 KCMVideoCodecType = 0 // KCMVideoCodecType_H264: A type that identifies the ITU-T H.264 format. KCMVideoCodecType_H264 KCMVideoCodecType = 0 // KCMVideoCodecType_HEVC: A type that identifies the ITU-T HEVC format. KCMVideoCodecType_HEVC KCMVideoCodecType = 0 // KCMVideoCodecType_HEVCWithAlpha: A type that identifies the HEVC format with alpha support. KCMVideoCodecType_HEVCWithAlpha KCMVideoCodecType = 0 // KCMVideoCodecType_JPEG: A type that identifies the Joint Photographic Experts Group (JPEG) format. KCMVideoCodecType_JPEG KCMVideoCodecType = 0 // KCMVideoCodecType_JPEG_OpenDML: A type that identifies the JPEG format with Open-DML extensions. KCMVideoCodecType_JPEG_OpenDML KCMVideoCodecType = 0 KCMVideoCodecType_JPEG_XL KCMVideoCodecType = 0 // KCMVideoCodecType_MPEG1Video: A type that identifies the MPEG-1 video format. KCMVideoCodecType_MPEG1Video KCMVideoCodecType = 0 // KCMVideoCodecType_MPEG2Video: A type that identifies the MPEG-2 video format. KCMVideoCodecType_MPEG2Video KCMVideoCodecType = 0 // KCMVideoCodecType_MPEG4Video: A type that identifies the Moving Picture Experts Group (MPEG) MPEG-4 Part 2 video format. KCMVideoCodecType_MPEG4Video KCMVideoCodecType = 0 // KCMVideoCodecType_SorensonVideo: A type that identifies the sorenson video format. KCMVideoCodecType_SorensonVideo KCMVideoCodecType = 0 // KCMVideoCodecType_SorensonVideo3: A type that identifies the sorenson 3 video format. KCMVideoCodecType_SorensonVideo3 KCMVideoCodecType = 0 // KCMVideoCodecType_VP9: A type that identifies the VP9 format. KCMVideoCodecType_VP9 KCMVideoCodecType = 0 )
func (KCMVideoCodecType) String ¶
func (e KCMVideoCodecType) String() string
type KcmattachmentmodeShould ¶
type KcmattachmentmodeShould uint
const ( // KCMAttachmentMode_ShouldNotPropagate: A mode that doesn’t propagate attachments to another object. KCMAttachmentMode_ShouldNotPropagate KcmattachmentmodeShould = 0 // KCMAttachmentMode_ShouldPropagate: A mode that propagates attachments to another object. KCMAttachmentMode_ShouldPropagate KcmattachmentmodeShould = 0 )
func (KcmattachmentmodeShould) String ¶
func (e KcmattachmentmodeShould) String() string
type KcmaudiocodectypeAac ¶
type KcmaudiocodectypeAac uint
const ( // KCMAudioCodecType_AAC_AudibleProtected: Audible’s protected AAC. KCMAudioCodecType_AAC_AudibleProtected KcmaudiocodectypeAac = 0 // KCMAudioCodecType_AAC_LCProtected: iTMS protected low-complexity AAC. KCMAudioCodecType_AAC_LCProtected KcmaudiocodectypeAac = 0 )
func (KcmaudiocodectypeAac) String ¶
func (e KcmaudiocodectypeAac) String() string
type KcmbufferqueuetriggerWhen ¶
type KcmbufferqueuetriggerWhen uint
const ( // KCMBufferQueueTrigger_WhenBufferCountBecomesGreaterThan: Trigger fires when buffer count becomes > the specified threshold number. KCMBufferQueueTrigger_WhenBufferCountBecomesGreaterThan KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenBufferCountBecomesLessThan: Trigger fires when buffer count becomes less than the specified threshold number. KCMBufferQueueTrigger_WhenBufferCountBecomesLessThan KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenDataBecomesReady: Trigger fires when next dequeueable buffer becomes ready (that is, CMBufferQueueDequeueIfDataReady(_:) will now succeed). KCMBufferQueueTrigger_WhenDataBecomesReady KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenDurationBecomesGreaterThan: Trigger fires when queue duration becomes greater than the specified duration. KCMBufferQueueTrigger_WhenDurationBecomesGreaterThan KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenDurationBecomesGreaterThanOrEqualTo: Trigger fires when queue duration becomes greater than or equal to the specified duration. KCMBufferQueueTrigger_WhenDurationBecomesGreaterThanOrEqualTo KcmbufferqueuetriggerWhen = 0 KCMBufferQueueTrigger_WhenDurationBecomesGreaterThanOrEqualToAndBufferCountBecomesGreaterThan KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenDurationBecomesLessThan: Trigger fires when queue duration becomes less than the specified duration. KCMBufferQueueTrigger_WhenDurationBecomesLessThan KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenDurationBecomesLessThanOrEqualTo: Trigger fires when queue duration becomes less than or equal to the specified duration. KCMBufferQueueTrigger_WhenDurationBecomesLessThanOrEqualTo KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenEndOfDataReached: Trigger fires when CMBufferQueueIsAtEndOfData’s condition becomes true. KCMBufferQueueTrigger_WhenEndOfDataReached KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenMaxPresentationTimeStampChanges: Trigger fires when the maximum presentation timestamp changes (triggerDuration is ignored). KCMBufferQueueTrigger_WhenMaxPresentationTimeStampChanges KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenMinPresentationTimeStampChanges: Trigger fires when the minimum presentation timestamp changes (triggerDuration is ignored). KCMBufferQueueTrigger_WhenMinPresentationTimeStampChanges KcmbufferqueuetriggerWhen = 0 // KCMBufferQueueTrigger_WhenReset: Trigger fires when CMBufferQueueReset called. KCMBufferQueueTrigger_WhenReset KcmbufferqueuetriggerWhen = 0 )
func (KcmbufferqueuetriggerWhen) String ¶
func (e KcmbufferqueuetriggerWhen) String() string
type KcmmediatypeAuxiliarypicture ¶
type KcmmediatypeAuxiliarypicture uint
const (
KCMMediaType_AuxiliaryPicture KcmmediatypeAuxiliarypicture = 0
)
func (KcmmediatypeAuxiliarypicture) String ¶
func (e KcmmediatypeAuxiliarypicture) String() string
type KcmpersistenttrackidInvalid ¶
type KcmpersistenttrackidInvalid uint
const ( // KCMPersistentTrackID_Invalid: Indicates an invalid track ID. KCMPersistentTrackID_Invalid KcmpersistenttrackidInvalid = 0 )
func (KcmpersistenttrackidInvalid) String ¶
func (e KcmpersistenttrackidInvalid) String() string
type KcmsamplebufferflagAudiobufferlistAssure16bytealignment ¶
type KcmsamplebufferflagAudiobufferlistAssure16bytealignment uint
const ( // KCMSampleBufferFlag_AudioBufferList_Assure16ByteAlignment: Indicates that memory involved in audio buffer lists is 16-byte aligned. KCMSampleBufferFlag_AudioBufferList_Assure16ByteAlignment KcmsamplebufferflagAudiobufferlistAssure16bytealignment = 0 )
func (KcmsamplebufferflagAudiobufferlistAssure16bytealignment) String ¶
func (e KcmsamplebufferflagAudiobufferlistAssure16bytealignment) String() string
type KcmtaggedbuffergroupformattypeTaggedbuffergroup ¶
type KcmtaggedbuffergroupformattypeTaggedbuffergroup uint
const (
KCMTaggedBufferGroupFormatType_TaggedBufferGroup KcmtaggedbuffergroupformattypeTaggedbuffergroup = 0
)
func (KcmtaggedbuffergroupformattypeTaggedbuffergroup) String ¶
func (e KcmtaggedbuffergroupformattypeTaggedbuffergroup) String() string