media::TimelineFunction

Summary

Constructors and Destructors

TimelineFunction()
TimelineFunction(int64_t subject_time, int64_t reference_time, uint32_t subject_delta, uint32_t reference_delta)
TimelineFunction(int64_t subject_time, int64_t reference_time, TimelineRate rate)
TimelineFunction(TimelineRate rate)

Public static functions

Apply(int64_t subject_time, int64_t reference_time, TimelineRate rate, int64_t reference_input)
int64_t
ApplyInverse(int64_t subject_time, int64_t reference_time, TimelineRate rate, int64_t subject_input)
int64_t
Compose(const TimelineFunction & bc, const TimelineFunction & ab, bool exact)

Public functions

Apply(int64_t reference_input) const
int64_t
ApplyInverse(int64_t subject_input) const
int64_t
Inverse() const
invertible() const
bool
operator()(int64_t reference_input) const
int64_t
rate() const
const TimelineRate &
reference_delta() const
uint32_t
reference_time() const
int64_t
subject_delta() const
uint32_t
subject_time() const
int64_t

Public static functions

Apply

int64_t Apply(
  int64_t subject_time,
  int64_t reference_time,
  TimelineRate rate,
  int64_t reference_input
)

ApplyInverse

int64_t ApplyInverse(
  int64_t subject_time,
  int64_t reference_time,
  TimelineRate rate,
  int64_t subject_input
)

Compose

TimelineFunction Compose(
  const TimelineFunction & bc,
  const TimelineFunction & ab,
  bool exact
)

Public functions

Apply

int64_t Apply(
  int64_t reference_input
) const 

ApplyInverse

int64_t ApplyInverse(
  int64_t subject_input
) const 

Inverse

TimelineFunction Inverse() const 

TimelineFunction

 TimelineFunction()

TimelineFunction

 TimelineFunction(
  int64_t subject_time,
  int64_t reference_time,
  uint32_t subject_delta,
  uint32_t reference_delta
)

TimelineFunction

 TimelineFunction(
  int64_t subject_time,
  int64_t reference_time,
  TimelineRate rate
)

TimelineFunction

 TimelineFunction(
  TimelineRate rate
)

invertible

bool invertible() const 

operator()

int64_t operator()(
  int64_t reference_input
) const 

rate

const TimelineRate & rate() const 

reference_delta

uint32_t reference_delta() const 

reference_time

int64_t reference_time() const 

subject_delta

uint32_t subject_delta() const 

subject_time

int64_t subject_time() const