20 #ifndef GNASH_VIDEOINPUTGST_H
21 #define GNASH_VIDEOINPUTGST_H
24 #include <boost/cstdint.hpp>
37 class GnashWebcamPrivate;
151 double fps()
const {
return _fps; }
154 size_t height()
const {
return _height; }
157 size_t width()
const {
return _width; }
160 size_t index()
const {
return _index; }
183 bool muted()
const {
return _muted; }
188 const std::string&
name()
const {
return _name; }
306 void getSelectedCaps(gint dev_select);
318 void getSupportedFormats(GnashWebcam *cam, GstCaps *caps);
329 void addSupportedFormat(GnashWebcam *cam,
WebcamVidFormat *video_format,
330 GstStructure *format_structure);
345 GstStructure *structure);
353 gboolean checkForSupportedFramerate (GnashWebcamPrivate *webcam,
int fps);
375 gboolean webcamCreateSourceBin();
382 gboolean webcamChangeSourceBin();
394 gboolean webcamCreateMainBin();
406 gboolean webcamCreateDisplayBin();
413 GnashWebcamPrivate* getGlobalWebcam() {
return _globalWebcam;}
422 static void findVidDevs(std::vector<GnashWebcam*>& cams);
426 std::vector<GnashWebcam*> _vidVect;
441 GnashWebcamPrivate *_globalWebcam;
449 double _activityLevel;
Definition: GnashKey.h:163
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
char ** names[EV_MAX+1]
Definition: evtest.c:357
Definition: GnashKey.h:159