Share via


CoreMedia Namespace

The CoreMedia namespace provides low-level classes for processing and managing audio and video media data.

Classes

Name Description
CMAttachmentBearer

Static and extension methods for objects that can bear attachments.

CMAudioFormatDescription

A CMFormatDescription that describes an audio format.

CMBlockBuffer

A contiguous range of data offsets over a possibly non-contiguous memory region.

CMBufferQueue

CoreMedia Buffer Queue.

CMClock

A source of time information, such as the system clock.

CMClockOrTimebase

The base class for CMClock and CMTimebase.

CMCompressionPropertyCameraCalibration
CMCompressionPropertyCameraCalibrationKey
CMCustomBlockAllocator
CMFormatDescription

Describes media data for audio, video, text and time codes

CMFormatDescriptionAlphaChannelModeExtensions

Extension methods for the CMFormatDescriptionAlphaChannelMode enumeration.

CMFormatDescriptionCameraCalibrationExtrinsicOriginSourceExtensions

Extension methods for the CMFormatDescriptionCameraCalibrationExtrinsicOriginSource enumeration.

CMFormatDescriptionCameraCalibrationLensAlgorithmKindExtensions

Extension methods for the CMFormatDescriptionCameraCalibrationLensAlgorithmKind enumeration.

CMFormatDescriptionCameraCalibrationLensDomainExtensions

Extension methods for the CMFormatDescriptionCameraCalibrationLensDomain enumeration.

CMFormatDescriptionCameraCalibrationLensRoleExtensions

Extension methods for the CMFormatDescriptionCameraCalibrationLensRole enumeration.

CMFormatDescriptionChromaLocationExtensions

Extension methods for the CMFormatDescriptionChromaLocation enumeration.

CMFormatDescriptionCleanAperture
CMFormatDescriptionCleanApertureKeys
CMFormatDescriptionColorPrimariesExtensions

Extension methods for the CMFormatDescriptionColorPrimaries enumeration.

CMFormatDescriptionExtensionKeys
CMFormatDescriptionExtensions
CMFormatDescriptionFieldDetailExtensions

Extension methods for the CMFormatDescriptionFieldDetail enumeration.

CMFormatDescriptionHeroEyeExtensions

Extension methods for the CMFormatDescriptionHeroEye enumeration.

CMFormatDescriptionLogTransferFunctionExtensions

Extension methods for the CMFormatDescriptionLogTransferFunction enumeration.

CMFormatDescriptionPixelAspectRatio
CMFormatDescriptionPixelAspectRatioKeys
CMFormatDescriptionProjectionKindExtensions

Extension methods for the CMFormatDescriptionProjectionKind enumeration.

CMFormatDescriptionTransferFunctionExtensions

Extension methods for the CMFormatDescriptionTransferFunction enumeration.

CMFormatDescriptionViewPackingKindExtensions

Extension methods for the CMFormatDescriptionViewPackingKind enumeration.

CMFormatDescriptionYCbCrMatrixExtensions

Extension methods for the CMFormatDescriptionYCbCrMatrix enumeration.

CMHevcTemporalLevelInfoSettings
CMMemoryPool

Class that manages the repetitive allocation and deallocation of large blocks of memory.

CMMetadataBaseDataTypeExtensions

Extension methods for the CMMetadataBaseDataType enumeration.

CMMetadataFormatDescription
CMMetadataFormatDescriptionKeys
CMMetadataIdentifierExtensions

Extension methods for the CMMetadataIdentifier enumeration.

CMSampleBuffer

A container of zero-or-more samples of a particular media type.

CMSampleBufferAttachmentKeyExtensions

Extension methods for the CMSampleBufferAttachmentKey enumeration.

CMSampleBufferAttachmentSettings

The keys for CMSampleBuffer attachments.

CMTagCollection

An unordered collection of zero or more CMTag values.

CMTaggedBufferGroup

This class contains a list of pixel buffers or sample buffers, where each buffer is associated with a CMTagCollection.

CMTextMarkupAttributes

Manages the attributes used by AVTextStyleRule.

CMTimebase

Encapsulates an application-controlled timeline.

CMVideoFormatDescription

A CMFormatDescription that describes video.

Structs

Name Description
CMSampleTimingInfo

Timing information for a CMSampleBuffer.

CMTag

A structure that is used to add additional data (tags) to a resource.

CMTime

A time value that represents a rational number Value/TimeScale.

CMTimeMapping

Specifies a mapping between a source CMTimeRange and a target CMTimeRange.

CMTimeRange

A duration of time.

CMTimeScale

A value to be used as a denominator in a CMTime calculation.

CMVideoDimensions

Struct that contains the width and height of video media.

TextMarkupColor

A color to be used with BackgroundColor and ForegroundColor.

Interfaces

Name Description
ICMAttachmentBearer

Marker interface for type that can bear attachments.

Enums

Name Description
CMAttachmentMode

Enumerates attachment propagation policies.

CMAudioCodecType
CMBlockBufferError

An enumeration whose values specify errors relating to CMBlockBuffers.

CMBlockBufferFlags

An enumeration of flags to be used with CreateEmpty(UInt32, CMBlockBufferFlags, CMBlockBufferError).

CMBufferQueue.TriggerCondition

Enumerates trigger conditions for a buffer queue trigger.

CMClockError

An enumeration whose values specify errors relating to CMClocks.

CMClosedCaptionFormatType

An enumeration whose values specify a closed-captioning standard.

CMFormatDescriptionAlphaChannelMode
CMFormatDescriptionCameraCalibrationExtrinsicOriginSource
CMFormatDescriptionCameraCalibrationLensAlgorithmKind
CMFormatDescriptionCameraCalibrationLensDomain
CMFormatDescriptionCameraCalibrationLensRole
CMFormatDescriptionChromaLocation
CMFormatDescriptionColorPrimaries
CMFormatDescriptionError

An enumeration whose values specify errors relating to CMFormatDescriptions.

CMFormatDescriptionFieldDetail
CMFormatDescriptionHeroEye
CMFormatDescriptionLogTransferFunction
CMFormatDescriptionProjectionKind
CMFormatDescriptionTransferFunction
CMFormatDescriptionViewPackingKind
CMFormatDescriptionYCbCrMatrix
CMMediaSubType

This enum contains most values that can be returned from MediaSubType.

CMMediaType

An enumeration whose values specify valid types of media.

CMMetadataBaseDataType
CMMetadataFormatType

An enumeration whose values specify types of timed metadata.

CMMetadataIdentifier
CMMPEG2VideoProfile
CMMuxedStreamType

An enumeration whose values specify valid types of multiplexed media.

CMPackingType
CMPixelFormat

Enumerates pixel formats.

CMProjectionType
CMSampleBufferAttachmentKey
CMSampleBufferError

An enumeration whose values specify errors relating to CMSampleBuffers.

CMStereoViewComponents
CMStereoViewInterpretationOptions
CMSubtitleFormatType

An enumeration whose values specify a subtitling standard.

CMSyncError

An enumeration whose values specify errors returned by GetRelativeRateAndAnchorTime(CMClockOrTimebase, CMClockOrTimebase, Double, CMTime, CMTime).

CMTagCategory
CMTagCollectionError
CMTagDataType
CMTagError
CMTaggedBufferGroupError
CMTaggedBufferGroupFormatType
CMTextFormatType
CMTime.Flags

An enumeration whose values are flags used by CMTime.

CMTimebaseError

An enumeration whose values specify errors relating to CMTimebases.

CMTimeCodeFormatType

An enumeration whose values specify the type of a time code.

CMTimeRoundingMethod

An enumeration whose values specify the rounding method to be used with a CMTime.

CMVideoCodecType

An enumeration whose values specify types of video codecs.

LensStabilizationStatus

Delegates

Name Description
CMBufferCompare

Delegate signature to compare two CoreFoundation objects, used to sort objects in a CMBufferQueue.

CMBufferGetBool

Delegate signature to determine if the specified buffer that is about to be dequeued is ready.

CMBufferGetSize

Delegate for getting media buffer sizes.

CMBufferGetTime

Returns the CMTime object for the specified buffer.

CMTagCollectionApplyFunction

A delegate that is used to iterate over a CMTagCollection.

CMTagCollectionTagFilterFunction

A delegate that is used to filter when iterating over a CMTagCollection.