Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/time/formats.hpp"
Widely used standard media timecode format.
A SMPTE timestamp addresses individual frames, by specifying time as hour-minute-second plus the frame number within the actual second.
Definition at line 99 of file formats.hpp.
Static Public Member Functions | |
static void | applyRangeLimitStrategy (SmpteTC &) |
handle the limits of SMPTE timecode range. More... | |
static TimeValue | evaluate (SmpteTC const &, QuantR) |
calculate the time point denoted by this SMPTE timecode, by summing up the timecode's components | |
static uint | getFramerate (QuantR, TimeValue const &) |
yield the Framerate in effect at that point. More... | |
static TimeValue | parse (string const &, QuantR) |
static void | rebuild (SmpteTC &, QuantR, TimeValue const &) |
build up a SMPTE timecode by quantising the given time value and then splitting it into hours, minutes, seconds and frame offset. | |
Additional Inherited Members | |
Public Member Functions inherited from NoInstance< X > | |
NoInstance (NoInstance const &) | |
|
static |
yield the Framerate in effect at that point.
Especially Timecode in SMPTE format exposes a "frames" field to contain the remainder of frames in addition to the h:m:s value. Obviously this value has to be kept below the number of frames for a full second and wrap around accordingly.
Definition at line 212 of file timecode.cpp.
|
static |
handle the limits of SMPTE timecode range.
This is an extension and configuration point to control how to handle values beyond the official SMPTE timecode range of 0:0:0:0 to 23:59:59:##. When this strategy function is invoked, the frames, seconds, minutes and hours fields have already been processed and stored into the component digxels, under the assumption the overall value stays in range.
Definition at line 242 of file timecode.cpp.
References SmpteTC::invertOrientation().