Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
lib::time::anonymous_namespace{timecode.cpp} Namespace Reference

Typedefs

typedef util::IDiv< int > Div
 

Functions

void wrapFrames (SmpteTC *thisTC, int rawFrames)
 
void wrapSeconds (SmpteTC *thisTC, int rawSecs)
 
void wrapMinutes (SmpteTC *thisTC, int rawMins)
 
void wrapHours (SmpteTC *thisTC, int rawHours)
 
void setupComponentNormalisation (SmpteTC &thisTC)
 bind the individual Digxel mutation functors to normalise raw component values
 

Variables

const auto TIME_SCALE_sec {lib::time::TimeValue::SCALE }
 
const auto TIME_SCALE_ms {lib::time::TimeValue::SCALE / 1'000}
 

Typedef Documentation

◆ Div

typedef util::IDiv<int> Div

Definition at line 242 of file timecode.cpp.

Function Documentation

◆ wrapFrames()

void wrapFrames ( SmpteTC thisTC,
int  rawFrames 
)

Definition at line 245 of file timecode.cpp.

References SmpteTC::frames, SmpteTC::getFps(), SmpteTC::secs, Digxel< NUM, FMT >::setValueRaw(), and wrapFrames().

Referenced by setupComponentNormalisation(), and wrapFrames().

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

◆ wrapSeconds()

void wrapSeconds ( SmpteTC thisTC,
int  rawSecs 
)

Definition at line 253 of file timecode.cpp.

References SmpteTC::mins, SmpteTC::secs, Digxel< NUM, FMT >::setValueRaw(), and wrapSeconds().

Referenced by setupComponentNormalisation(), and wrapSeconds().

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

◆ wrapMinutes()

void wrapMinutes ( SmpteTC thisTC,
int  rawMins 
)

Definition at line 261 of file timecode.cpp.

References SmpteTC::hours, SmpteTC::mins, Digxel< NUM, FMT >::setValueRaw(), and wrapMinutes().

Referenced by setupComponentNormalisation(), and wrapMinutes().

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

◆ wrapHours()

void wrapHours ( SmpteTC thisTC,
int  rawHours 
)

Definition at line 269 of file timecode.cpp.

References Smpte::applyRangeLimitStrategy(), SmpteTC::hours, Digxel< NUM, FMT >::setValueRaw(), and wrapHours().

Referenced by setupComponentNormalisation(), and wrapHours().

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

◆ setupComponentNormalisation()

void setupComponentNormalisation ( SmpteTC thisTC)
inline

bind the individual Digxel mutation functors to normalise raw component values

Definition at line 282 of file timecode.cpp.

References SmpteTC::frames, SmpteTC::hours, Digxel< NUM, FMT >::installMutator(), SmpteTC::mins, SmpteTC::secs, setupComponentNormalisation(), wrapFrames(), wrapHours(), wrapMinutes(), and wrapSeconds().

Referenced by setupComponentNormalisation().

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

Variable Documentation

◆ TIME_SCALE_sec

const auto TIME_SCALE_sec {lib::time::TimeValue::SCALE }

Definition at line 446 of file timecode.cpp.

◆ TIME_SCALE_ms

const auto TIME_SCALE_ms {lib::time::TimeValue::SCALE / 1'000}

Definition at line 447 of file timecode.cpp.