Gnash
0.8.10
|
#include <VideoInputGst.h>
Public Member Functions | |
FramerateFraction (gint num, gint denom) | |
Constructor which sets the numerator and denominator fields upon construction. | |
FramerateFraction () | |
Create a new empty FramerateFraction class. | |
Public Attributes | |
gint | numerator |
contains a gint value for the numerator portion of a fraction. | |
gint | denominator |
contains a gint value for the denominator portion of a fraction. |
Convience wrapper class which allows easily calculating fractions from the information returned from probing hardware cameras for supported framerates.
gnash::media::gst::FramerateFraction::FramerateFraction | ( | gint | num, |
gint | denom | ||
) |
Constructor which sets the numerator and denominator fields upon construction.
num | The integer numerator value to initialize the FramerateFraction class with. |
denom | The integer denominator value to initialzie the FramerateFraction class with. |
Secondary constructor for the FramerateFraction class. This constructor initialzes the structure with the numerator and denominator values passed to the constructor.
References numerator, and denominator.
gnash::media::gst::FramerateFraction::FramerateFraction | ( | ) |
Create a new empty FramerateFraction class.
Default constructor for the FramerateFraction class. This constructor prepares the data structure for data that will come in later. All gint values are initialized to -1 to show that these values have never been set.
References numerator, and denominator.
contains a gint value for the denominator portion of a fraction.
Referenced by FramerateFraction().
contains a gint value for the numerator portion of a fraction.
Referenced by FramerateFraction().