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

Functions

int dropframe_frames (raw_time_64 timecode)
 
int dropframe_seconds (raw_time_64 timecode)
 
int dropframe_minutes (raw_time_64 timecode)
 
int dropframe_hours (raw_time_64 timecode)
 
int time_hours (raw_time_64 time)
 
int time_minutes (raw_time_64 time)
 
int time_seconds (raw_time_64 time)
 
int time_millis (raw_time_64 time)
 

Variables

const int FRAMES = 15
 
const int MILLIS = 700
 
const int SECONDS = 20
 
const int MINUTES = 55
 
const int HOURS = 3
 
const auto TIME_SCALE_sec {lib::time::TimeValue::SCALE }
 
const auto TIME_SCALE_ms {lib::time::TimeValue::SCALE / 1'000}
 

Function Documentation

◆ dropframe_frames()

int dropframe_frames ( raw_time_64  timecode)

Definition at line 52 of file time-dropframe-test.cpp.

References lib::time::calculate_ntsc_drop_frame_number(), and dropframe_frames().

Referenced by dropframe_frames().

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

◆ dropframe_seconds()

int dropframe_seconds ( raw_time_64  timecode)

Definition at line 58 of file time-dropframe-test.cpp.

References lib::time::calculate_ntsc_drop_frame_number(), and dropframe_seconds().

Referenced by dropframe_seconds().

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

◆ dropframe_minutes()

int dropframe_minutes ( raw_time_64  timecode)

Definition at line 64 of file time-dropframe-test.cpp.

References lib::time::calculate_ntsc_drop_frame_number(), and dropframe_minutes().

Referenced by dropframe_minutes().

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

◆ dropframe_hours()

int dropframe_hours ( raw_time_64  timecode)

Definition at line 70 of file time-dropframe-test.cpp.

References lib::time::calculate_ntsc_drop_frame_number(), and dropframe_hours().

Referenced by dropframe_hours().

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

◆ time_hours()

int time_hours ( raw_time_64  time)

Definition at line 76 of file time-dropframe-test.cpp.

References time_hours().

Referenced by time_hours().

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

◆ time_minutes()

int time_minutes ( raw_time_64  time)

Definition at line 82 of file time-dropframe-test.cpp.

References time_minutes().

Referenced by time_minutes().

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

◆ time_seconds()

int time_seconds ( raw_time_64  time)

Definition at line 88 of file time-dropframe-test.cpp.

References time_seconds().

Referenced by time_seconds().

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

◆ time_millis()

int time_millis ( raw_time_64  time)

Definition at line 94 of file time-dropframe-test.cpp.

References time_millis().

Referenced by time_millis().

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

Variable Documentation

◆ FRAMES

const int FRAMES = 15

Definition at line 39 of file time-dropframe-test.cpp.

◆ MILLIS

const int MILLIS = 700

Definition at line 40 of file time-dropframe-test.cpp.

◆ SECONDS

const int SECONDS = 20

Definition at line 41 of file time-dropframe-test.cpp.

◆ MINUTES

const int MINUTES = 55

Definition at line 42 of file time-dropframe-test.cpp.

◆ HOURS

const int HOURS = 3

Definition at line 43 of file time-dropframe-test.cpp.

◆ TIME_SCALE_sec

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

Definition at line 48 of file time-dropframe-test.cpp.

◆ TIME_SCALE_ms

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

Definition at line 49 of file time-dropframe-test.cpp.