CMTimeMapping

A struct used to specify the mapping of a segment of one time line into another.

Overview

A CMTimeMapping specifies the mapping of a segment of one time line (called the source) into another time line (called the target). When used for movie edit lists, the source time line is the media and the target time line is the track or movie.

Topics

Creating Time Mappings

CMTimeMappingMake

Make a valid time mapping with a source and target time range.

CMTimeMappingMakeEmpty

Makes a valid CMTimeMapping with an empty source.

CMTimeMappingMakeFromDictionary

Reconstitutes a CMTimeMapping struct from a CFDictionary previously created by CMTimeMappingCopyAsDictionary.

Performing Utility Operations

CMTimeMappingCopyAsDictionary

Returns a CFDictionary version of a CMTimeMapping.

CMTimeMappingCopyDescription

Creates a CFString with a description of a CMTimeMapping (just like CFCopyDescription).

CMTimeMappingShow

Prints a description of a CMTimeMapping (just like CFShow).

Data Types

CMTimeMapping

A struct used to specify the mapping of a segment of one time line into another.

Constants

kCMTimeMappingInvalid

Used to indicate an invalid CMTimeMapping.

kCMTimeMappingSourceKey

Dictionary key for the source field of a CMTimeMapping (CMTimeRange).

kCMTimeMappingTargetKey

Dictionary key for the target field of a CMTimeMapping (CMTimeRange).

See Also

Time Representation

CMTime

A struct representing a time value such as a timestamp or duration.

CMTimeRange

A struct representing a range of time.