|
Gnash
0.8.11dev
|
#include <VideoInputGst.h>
Public Member Functions | |
| FramerateFraction (gint num, gint denom) | |
| Constructor which sets the numerator and denominator fields upon construction. More... | |
| FramerateFraction () | |
| Create a new empty FramerateFraction class. More... | |
Public Attributes | |
| gint | numerator |
| contains a gint value for the numerator portion of a fraction. More... | |
| gint | denominator |
| contains a gint value for the denominator portion of a fraction. More... | |
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.
| 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.
| gnash::media::gst::FramerateFraction::denominator |
contains a gint value for the denominator portion of a fraction.
Referenced by gnash::media::gst::VideoInputGst::requestMode(), and gnash::media::gst::VideoInputGst::setWebcam().
| gnash::media::gst::FramerateFraction::numerator |
contains a gint value for the numerator portion of a fraction.
Referenced by gnash::media::gst::VideoInputGst::requestMode(), and gnash::media::gst::VideoInputGst::setWebcam().
1.8.12