Structure

CMTimeMapping

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

Declaration

typedef struct {
    ...
} CMTimeMapping;

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 a Timebase

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.

Utility Functions

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).

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).

Instance Properties

source

The time range on the source time line.

target

The time range on the target time line.