|
Photosine 0.5
|
#include <FrameRate.h>
Classes | |
| struct | FrameRateConfiguration |
| struct | StandardFrameRates |
Public Member Functions | |
| FrameRate () | |
| FrameRate (double fps) | |
| FrameRate (double fps, bool drop) | |
| FrameRate (juce::ValueTree valueTree) | |
| FrameRate (FrameRate::FrameRateConfiguration config) | |
| int | getNominalFrameRate () |
| double | getTrueFrameRate () |
| bool | isDropFrame () |
| int | getDroppdFramesPerMinute () |
| juce::String | toString () |
| juce::ValueTree | getValueTree () |
Static Public Member Functions | |
| static juce::Identifier | getFrameRateValueTreeID () |
Private Member Functions | |
| void | calculateFromDouble (double fps, bool isDrop) |
| void | fromValueTree (juce::ValueTree tree) |
Private Attributes | |
| juce::Identifier | frameRateValueTreeID = "FrameRate" |
| juce::Identifier | nominalFrameRateID = "nominalFrameRate" |
| juce::Identifier | trueFrameRateID = "trueFrameRate" |
| juce::Identifier | isDropID = "isDrop" |
| juce::Identifier | numDroppedFramesID = "numFramesPerDrop" |
| double | trueFR |
| int | nominalFR |
| bool | drop |
| int | numDroppedFrames |
Class for storing frame rate information used for Timecode generation
|
inline |
Creates an invalid FrameRate
|
inline |
Create a FrameRate from double, assuming non-drop
|
inline |
Create a FrameRate from double and specify drop frame
|
inline |
Restore FrameRate from a juce::ValueTree
|
inline |
Create a FrameRate from FrameRateConfiguration. Useful for standard frame rates.
|
inlineprivate |
|
inlineprivate |
|
inline |
Returns the number of frames dropped per minute of timecode.
|
inlinestatic |
|
inline |
Returns frequency of frame rate rounded up to the nearest integer.
|
inline |
Returns actual playback frequency.
|
inline |
Returns juce::ValueTree used to store this FrameRate's data for restoring later or storing inside another juce::ValueTree
|
inline |
Returns true if drop frame is used.
|
inline |
Outputs a juce::String representation of this FrameRate.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |