hyperion.ng
Public Slots | Public Member Functions | List of all members
V4L2Wrapper Class Reference
Inheritance diagram for V4L2Wrapper:
GrabberWrapper

Public Slots

bool start ()
 
void stop ()
 
void setSignalThreshold (double redSignalThreshold, double greenSignalThreshold, double blueSignalThreshold)
 
void setCropping (int cropLeft, int cropRight, int cropTop, int cropBottom)
 
void setSignalDetectionOffset (double verticalMin, double horizontalMin, double verticalMax, double horizontalMax)
 
void setSignalDetectionEnable (bool enable)
 
void setDeviceVideoStandard (QString device, VideoStandard videoStandard)
 
- Public Slots inherited from GrabberWrapper
virtual void action ()=0
 virtual method, should perform single frame grab and computes the led-colors
 
virtual void setVideoMode (const VideoMode &videoMode)
 Set the video mode (2D/3D) More...
 
virtual void setCropping (unsigned cropLeft, unsigned cropRight, unsigned cropTop, unsigned cropBottom)
 Set the crop values. More...
 
virtual void handleSettingsUpdate (const settings::type &type, const QJsonDocument &config)
 Handle settings update from HyperionDaemon Settingsmanager emit. More...
 

Public Member Functions

 V4L2Wrapper (const QString &device, VideoStandard videoStandard, PixelFormat pixelFormat, int pixelDecimation)
 
bool getSignalDetectionEnable ()
 
- Public Member Functions inherited from GrabberWrapper
 GrabberWrapper (QString grabberName, Grabber *ggrabber, unsigned width, unsigned height, const unsigned updateRate_Hz=0)
 
virtual bool start ()
 Starts the grabber wich produces led values with the specified update rate.
 
virtual void stop ()
 Stop grabber.
 
template<typename Grabber_T >
bool transferFrame (Grabber_T &grabber)
 

Additional Inherited Members

- Signals inherited from GrabberWrapper
void systemImage (const QString &name, const Image< ColorRgb > &image)
 Emit the final processed image.
 
- Static Public Member Functions inherited from GrabberWrapper
static QStringList availableGrabbers ()
 
- Protected Attributes inherited from GrabberWrapper
QString _grabberName
 
QTimer * _timer
 The timer for generating events with the specified update rate.
 
int _updateInterval_ms
 The calced update rate [ms].
 
Logger_log
 The Logger instance.
 
Grabber_ggrabber
 
Image< ColorRgb_image
 The image used for grabbing frames.
 

The documentation for this class was generated from the following files: