inputTime(_:fromTimelineTime:)
Converts from timeline time to time of the filter’s image input.
Declaration
func inputTime(_ inputTime: UnsafeMutablePointer<CMTime>!, fromTimelineTime time: CMTime)Parameters
- inputTime:
The converted time, in
CMTime. - time:
The timeline time, in
CMTime.
Mentioned in
Discussion
In Motion, this timeline time and input time are always equal. In Final Cut Pro, this method provides the calculated input time for any given timeline time. For more information about how to handle time conversion, see Understanding time in FxPlug.
See Also
Accessing Timing Values
frameDuration(_:)sampleDuration(_:)startTime(forEffect:)durationTime(forEffect:)startTimeOfInput(toFilter:)durationTimeOfInput(toFilter:)start(_:ofImageParameter:)durationTime(_:ofImageParameter:)inPointTimeOfTimeline(forEffect:)outPointTimeOfTimeline(forEffect:)timelineTime(_:fromInputTime:)timelineTime(_:fromImageTime:forParameterID:)imageTime(_:forParameterID:fromTimelineTime:)fieldOrderForInput(toFilter:)timelineFpsNumerator(for:)