Lumiera  0.pre.03
»edit your freedom«
Frames Struct Reference

#include "lib/time/formats.hpp"

Description

Frame count as timecode format.

An integral number used to count frames can be used as a simple from of time code. Indeed the Lumiera vault layer mostly relies on these frame counts. As with any timecode, the underlying framerate/quantisation remains implicit.

Definition at line 81 of file formats.hpp.

Static Public Member Functions

static TimeValue evaluate (FrameNr const &, QuantR)
 calculate the time point denoted by this frame count
 
static TimeValue parse (string const &, QuantR)
 try to parse a frame number specification More...
 
static void rebuild (FrameNr &, QuantR, TimeValue const &)
 build up a frame count by quantising the given time value
 

Additional Inherited Members

- Public Member Functions inherited from NoInstance< X >
 NoInstance (NoInstance const &)
 

Member Function Documentation

◆ parse()

TimeValue parse ( string const &  frameNumber,
QuantR  frameGrid 
)
static

try to parse a frame number specification

Parameters
frameNumberstring containing an integral number with trailing '#'
frameGridcoordinate system (and thus framerate) to use for the conversion
Returns
(opaque internal) lumiera time value of the given frame's start position
Exceptions
error::Invalidin case of parsing failure
Note
the string may contain any additional content, as long as a regular-expression search is able to pick out a suitable value

Definition at line 72 of file timecode.cpp.

+ Inheritance diagram for Frames:
+ Collaboration diagram for Frames:

The documentation for this struct was generated from the following files: