MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_time_map()

void MayaFlux::Kakshya::FrameSeekProcessor::set_time_map ( const std::shared_ptr< const Kinesis::TimeMap > &  map)

Drive the read position from a function of time.

Passing a different map restarts the clock at zero. Passing the map already set is a no-op.

Parameters
mapTime map, or null to go back to FrameAccessProcessor behaviour.

Definition at line 20 of file FrameSeekProcessor.cpp.

21{
22 if (map == m_time_map) {
23 return;
24 }
25
27 reset();
28}
std::shared_ptr< const Kinesis::TimeMap > m_time_map
void reset()
Restart the clock and the repeat.
constexpr T map(T x, T in_lo, T in_hi, T out_lo, T out_hi) noexcept
Map x from [in_lo, in_hi] to [out_lo, out_hi], unclamped.
Definition Scalar.hpp:18

References m_time_map, and reset().

Referenced by trail().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: