Gnash
0.8.11dev
|
#include <VideoInputFfmpeg.h>
Public Member Functions | |
VideoInputFfmpeg () | |
Constructor for the VideoInputFfmpeg class. More... | |
virtual | ~VideoInputFfmpeg () |
Destructor for the VideoInputFfmpeg class. More... | |
double | activityLevel () const |
Return the current activity level of the webcam. More... | |
size_t | bandwidth () const |
The maximum available bandwidth for outgoing connections. More... | |
void | setBandwidth (size_t bandwidth) |
Set the bandwidth for outgoing connections. More... | |
double | currentFPS () const |
The current frame rate of the webcam. More... | |
double | fps () const |
The maximum FPS rate of the webcam. More... | |
size_t | height () const |
Return the height of the webcam's frame. More... | |
size_t | width () const |
Return the width of the webcam's frame. More... | |
size_t | index () const |
The index of the camera. More... | |
void | requestMode (size_t width, size_t height, double fps, bool favorArea) |
Request a native mode most closely matching the passed variables. More... | |
void | setMotionLevel (int m) |
Set the amount of motion required before notifying the core. More... | |
int | motionLevel () const |
Return the current motionLevel setting. More... | |
void | setMotionTimeout (int m) |
Set time without motion in milliseconds before core is notified. More... | |
int | motionTimeout () const |
Return the current motionTimeout setting. More... | |
void | mute (bool m) |
bool | muted () const |
const std::string & | name () const |
Return the name of this webcam. More... | |
void | setQuality (int q) |
Set the quality of the webcam. More... | |
int | quality () const |
Return the current quality of the webcam. More... | |
bool | play () |
Function starts up the pipeline designed earlier in code execution. This puts everything into motion. More... | |
bool | stop () |
Function stops the pipeline designed earlier in code execution. More... | |
![]() | |
DSOEXPORT | VideoInput () |
virtual | ~VideoInput () |
Static Public Member Functions | |
static void | getNames (std::vector< std::string > &) |
gnash::media::ffmpeg::VideoInputFfmpeg::VideoInputFfmpeg | ( | ) |
Constructor for the VideoInputFfmpeg class.
TODO: most of these properties need not be stored, but should rather be queried from the input device.
|
virtual |
Destructor for the VideoInputFfmpeg class.
|
inlinevirtual |
Return the current activity level of the webcam.
Implements gnash::media::VideoInput.
|
inlinevirtual |
The maximum available bandwidth for outgoing connections.
TODO: see if this should really be here.
Implements gnash::media::VideoInput.
Referenced by setBandwidth().
|
inlinevirtual |
The current frame rate of the webcam.
Implements gnash::media::VideoInput.
|
inlinevirtual |
The maximum FPS rate of the webcam.
Implements gnash::media::VideoInput.
Referenced by index(), and requestMode().
|
inlinestatic |
|
inlinevirtual |
Return the height of the webcam's frame.
Implements gnash::media::VideoInput.
Referenced by index(), and requestMode().
|
inlinevirtual |
The index of the camera.
Implements gnash::media::VideoInput.
References fps(), height(), requestMode(), and width().
|
inlinevirtual |
Return the current motionLevel setting.
Implements gnash::media::VideoInput.
|
inlinevirtual |
Return the current motionTimeout setting.
Implements gnash::media::VideoInput.
|
inlinevirtual |
Implements gnash::media::VideoInput.
References gnash::key::m.
|
inlinevirtual |
Implements gnash::media::VideoInput.
|
inlinevirtual |
Return the name of this webcam.
Implements gnash::media::VideoInput.
bool gnash::media::ffmpeg::VideoInputFfmpeg::play | ( | ) |
|
inlinevirtual |
Return the current quality of the webcam.
Implements gnash::media::VideoInput.
|
virtual |
Request a native mode most closely matching the passed variables.
width | The required width |
height | The required height |
fps | The required frame rate |
favorArea | How to match the requested mode. |
Implements gnash::media::VideoInput.
References fps(), height(), and width().
Referenced by index().
|
inlinevirtual |
Set the bandwidth for outgoing connections.
Implements gnash::media::VideoInput.
References bandwidth().
|
inlinevirtual |
Set the amount of motion required before notifying the core.
Implements gnash::media::VideoInput.
References gnash::key::m.
|
inlinevirtual |
Set time without motion in milliseconds before core is notified.
Implements gnash::media::VideoInput.
References gnash::key::m.
|
inlinevirtual |
bool gnash::media::ffmpeg::VideoInputFfmpeg::stop | ( | ) |
|
inlinevirtual |
Return the width of the webcam's frame.
Implements gnash::media::VideoInput.
Referenced by index(), and requestMode().