Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
timecode.cpp File Reference

Implementation parts of the timecode handling library. More...

Go to the source code of this file.

Description

Implementation parts of the timecode handling library.

Todo:
a started implementation exists since 2010, yet crucial parts still need to be filled in as of 2016

Definition in file timecode.cpp.

#include "lib/time/timecode.hpp"
#include "lib/time/timevalue.hpp"
#include "lib/time/timequant.hpp"
#include "lib/time/formats.hpp"
#include "lib/util.hpp"
#include "lib/util-quant.hpp"
#include <regex>
#include <functional>
#include <boost/lexical_cast.hpp>

Namespaces

namespace  lumiera
 Lumiera public interface.
 
namespace  lumiera::error
 
namespace  lib
 Implementation namespace for support and library code.
 
namespace  lib::time
 
namespace  lib::time::format
 
namespace  lib::time::anonymous_namespace{timecode.cpp}
 

Macros

#define SUB_EXPR(N)   lexical_cast<int> (match[N])
 

Typedefs

typedef util::IDiv< int > Div
 

Functions

 LUMIERA_ERROR_DEFINE (INVALID_TIMECODE, "timecode format error, illegal value encountered")
 
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}
 

Macro Definition Documentation

◆ SUB_EXPR

#define SUB_EXPR (   N)    lexical_cast<int> (match[N])