20 #ifndef GNASH_VIDEOINPUTGST_H 21 #define GNASH_VIDEOINPUTGST_H 37 class GnashWebcamPrivate;
126 static void getNames(std::vector<std::string>&
names);
140 _bandwidth = bandwidth;
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; }
168 void requestMode(
size_t width,
size_t height,
double fps,
bool favorArea);
183 bool muted()
const {
return _muted; }
188 const std::string&
name()
const {
return _name; }
219 bool setWebcam(
size_t index);
237 int makeWebcamDeviceSelection();
250 gboolean webcamMakeVideoSaveLink();
257 gboolean webcamBreakVideoSaveLink();
269 gboolean webcamCreateSaveBin();
279 gboolean webcamMakeVideoDisplayLink();
288 gboolean webcamBreakVideoDisplayLink();
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;
436 GnashWebcamPrivate *_globalWebcam;
444 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: klash_part.cpp:329
Definition: klash_part.cpp:330
Definition: klash_part.cpp:329
size_t findVidDevs(std::vector< data *> &vidVect)
Definition: findwebcams.cpp:56
Definition: klash_part.cpp:330
Definition: GnashKey.h:159