mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
GrabberFix PiCam
This commit is contained in:
@@ -44,6 +44,8 @@ public:
|
||||
|
||||
bool getSignalDetectionEnabled() { return _signalDetectionEnabled; }
|
||||
|
||||
bool getGrabberFixEnabled() { return _grabberFixEnabled; }
|
||||
|
||||
int grabFrame(Image<ColorRgb> &);
|
||||
|
||||
///
|
||||
@@ -79,6 +81,12 @@ public:
|
||||
///
|
||||
virtual void setSignalDetectionEnable(bool enable);
|
||||
|
||||
virtual void setGrabberFixEnable(bool enable);
|
||||
virtual void setGrabberFixValues(
|
||||
int width,
|
||||
int height,
|
||||
int vtype);
|
||||
|
||||
///
|
||||
/// @brief overwrite Grabber.h implementation
|
||||
///
|
||||
@@ -204,4 +212,10 @@ private:
|
||||
|
||||
bool _initialized;
|
||||
bool _deviceAutoDiscoverEnabled;
|
||||
// grabberfix
|
||||
bool _grabberFixEnabled;
|
||||
int _gf_width;
|
||||
int _gf_height;
|
||||
int _gf_vtype;
|
||||
|
||||
};
|
||||
|
@@ -15,6 +15,7 @@ public:
|
||||
virtual ~V4L2Wrapper() {};
|
||||
|
||||
bool getSignalDetectionEnable();
|
||||
bool getGrabberFixEnable();
|
||||
|
||||
public slots:
|
||||
bool start();
|
||||
@@ -24,6 +25,8 @@ public slots:
|
||||
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 setGrabberFixEnable(bool enable);
|
||||
void setGrabberFixValues(int width, int height, string vtype);
|
||||
void setDeviceVideoStandard(QString device, VideoStandard videoStandard);
|
||||
|
||||
signals:
|
||||
|
@@ -66,6 +66,11 @@ public:
|
||||
/// @brief Apply SignalDetectionEnable (used from v4l)
|
||||
///
|
||||
virtual void setSignalDetectionEnable(bool enable) {};
|
||||
virtual void setGrabberFixEnable(bool enable) {};
|
||||
virtual void setGrabberFixValues(
|
||||
int width,
|
||||
int height,
|
||||
int vtype) {};
|
||||
|
||||
///
|
||||
/// @brief Apply device and videoStanded (used from v4l)
|
||||
|
Reference in New Issue
Block a user