mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Pass primitive types by value (#935)
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
// Hyperion-Dispmanx includes
|
||||
#include "DispmanxWrapper.h"
|
||||
|
||||
DispmanxWrapper::DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight,
|
||||
const VideoMode& videoMode,
|
||||
const unsigned cropLeft, const unsigned cropRight,
|
||||
const unsigned cropTop, const unsigned cropBottom,
|
||||
const unsigned updateRate_Hz) :
|
||||
DispmanxWrapper::DispmanxWrapper(unsigned grabWidth, unsigned grabHeight,
|
||||
VideoMode videoMode,
|
||||
unsigned cropLeft, unsigned cropRight,
|
||||
unsigned cropTop, unsigned cropBottom,
|
||||
unsigned updateRate_Hz) :
|
||||
_timer(this),
|
||||
_grabber(grabWidth, grabHeight)
|
||||
{
|
||||
|
@@ -9,11 +9,11 @@ class DispmanxWrapper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight,
|
||||
const VideoMode& videoMode,
|
||||
const unsigned cropLeft, const unsigned cropRight,
|
||||
const unsigned cropTop, const unsigned cropBottom,
|
||||
const unsigned updateRate_Hz);
|
||||
DispmanxWrapper(unsigned grabWidth, unsigned grabHeight,
|
||||
VideoMode videoMode,
|
||||
unsigned cropLeft, unsigned cropRight,
|
||||
unsigned cropTop, unsigned cropBottom,
|
||||
unsigned updateRate_Hz);
|
||||
|
||||
const Image<ColorRgb> & getScreenshot();
|
||||
|
||||
|
Reference in New Issue
Block a user