TimeCode data structure.
More...
#include <fbtime.h>
TimeCode data structure.
Definition at line 281 of file fbtime.h.
◆ FBTimeCode()
◆ GetFrame()
double GetFrame |
( |
| ) |
const |
Return a frame number corresponding to the timecode.
◆ GetFrameRate()
float GetFrameRate |
( |
| ) |
const |
Return the rate of the timecode.
◆ GetRawFrame()
double GetRawFrame |
( |
| ) |
const |
Get the raw value for the frame.
- Returns
- raw value for the frame.
◆ GetRawRate()
double GetRawRate |
( |
| ) |
const |
Get the raw value for the rate.
- Returns
- raw value for the rate.
◆ GetRawSecond()
double GetRawSecond |
( |
| ) |
const |
Get the raw value for the second.
- Returns
- raw value for the second.
◆ GetTime()
Return a Time corresponding to the timecode.
◆ GetTimeCodeString()
Get time as a string.
- Parameters
-
- Returns
- String value of time.
◆ operator!=()
bool operator!= |
( |
const FBTimeCode & |
pTimeCode | ) |
const |
Inequality operator.
- Parameters
-
pTimeCode | time code to compare with. |
- Returns
- true if time codes are not equal.
◆ operator==()
bool operator== |
( |
const FBTimeCode & |
pTimeCode | ) |
const |
Equality operator.
- Parameters
-
pTimeCode | time code to compare with. |
- Returns
- true if time codes are equal.
◆ SetFrame()
void SetFrame |
( |
double |
pFrame | ) |
|
Set Frame according to the given time.
- Parameters
-
pFrame | Frame value to set. |
◆ SetTime()
Set TimeCode according to the given time.
- Parameters
-
◆ SetTimeCode()
void SetTimeCode |
( |
int |
pHour, |
|
|
int |
pMinute = 0 , |
|
|
int |
pSecond = 0 , |
|
|
float |
pFrame = 0 |
|
) |
| |
Set timecode.
- Parameters
-
pHour | Hour value. |
pMinute | Minute value. |
pSecond | Second value. |
pFrame | Frame value. |
◆ SetTimeCodeString()
Set time from string.
- Parameters
-
◆ FILM_23976
◆ FILM_24
◆ FRAMES_11988
◆ FRAMES_30
◆ FRAMES_5994
◆ MPAL_30
-29.971f Currently not supported : "1" is added just to differentiate from NTSC_FULL(-29.97f)
Definition at line 368 of file fbtime.h.
◆ NTSC_DROP
◆ NTSC_FULL
◆ PAL_25
The documentation for this class was generated from the following file: