Random cleanup (#861)

Co-authored-by: Seker <murat.seker@barco.com>
This commit is contained in:
Murat Seker
2020-07-12 09:19:59 +02:00
committed by GitHub
parent de9ece5139
commit 138b7d9c94
74 changed files with 115 additions and 234 deletions

View File

@@ -18,7 +18,7 @@ public:
/// @param[in] height The heigth of the captured screenshot
///
AmlogicGrabber(const unsigned width, const unsigned height);
~AmlogicGrabber();
~AmlogicGrabber() override;
///
/// Captures a single snapshot of the display and writes the data to the given image. The

View File

@@ -20,11 +20,6 @@ public:
///
AmlogicWrapper(const unsigned grabWidth, const unsigned grabHeight);
///
/// Destructor of this dispmanx frame grabber. Releases any claimed resources.
///
virtual ~AmlogicWrapper() {};
public slots:
///
/// Performs a single frame grab and computes the led-colors

View File

@@ -27,7 +27,7 @@ public:
/// @param[in] height The heigth of the captured screenshot
///
DispmanxFrameGrabber(const unsigned width, const unsigned height);
~DispmanxFrameGrabber();
~DispmanxFrameGrabber() override;
///

View File

@@ -36,5 +36,4 @@ int vc_dispmanx_resource_read_data(DISPMANX_RESOURCE_HANDLE_T vc_resource, VC_R
void vc_dispmanx_rect_set(VC_RECT_T *rectangle, int left, int top, int width, int height);
int vc_dispmanx_snapshot(int, DISPMANX_RESOURCE_HANDLE_T resource, int vc_flags);
#endif

View File

@@ -22,11 +22,6 @@ public:
///
DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
///
/// Destructor of this dispmanx frame grabber. Releases any claimed resources.
///
virtual ~DispmanxWrapper() {};
public slots:
///
/// Performs a single frame grab and computes the led-colors

View File

@@ -18,7 +18,6 @@ public:
/// @param[in] height The heigth of the captured screenshot
///
FramebufferFrameGrabber(const QString & device, const unsigned width, const unsigned height);
~FramebufferFrameGrabber();
///
/// Captures a single snapshot of the display and writes the data to the given image. The
@@ -36,12 +35,6 @@ public:
virtual void setDevicePath(const QString& path);
private:
/// Framebuffer file descriptor
int _fbfd;
/// Pointer to framebuffer
unsigned char * _fbp;
/// Framebuffer device e.g. /dev/fb0
QString _fbDevice;
};

View File

@@ -22,11 +22,6 @@ public:
///
FramebufferWrapper(const QString & device, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
///
/// Destructor of this framebuffer frame grabber. Releases any claimed resources.
///
virtual ~FramebufferWrapper() {};
public slots:
///
/// Performs a single frame grab and computes the led-colors

View File

@@ -25,7 +25,7 @@ public:
/// @param[in] height The heigth of the captured screenshot
///
OsxFrameGrabber(const unsigned display, const unsigned width, const unsigned height);
~OsxFrameGrabber();
~OsxFrameGrabber() override;
///
/// Captures a single snapshot of the display and writes the data to the given image. The

View File

@@ -22,11 +22,6 @@ public:
///
OsxWrapper(const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
///
/// Destructor of this osx frame grabber. Releases any claimed resources.
///
virtual ~OsxWrapper() {};
public slots:
///
/// Performs a single frame grab and computes the led-colors

View File

@@ -17,7 +17,7 @@ public:
QtGrabber(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display);
virtual ~QtGrabber();
~QtGrabber() override;
///
/// Captures a single snapshot of the display and writes the data to the given image. The

View File

@@ -21,11 +21,6 @@ public:
///
QtWrapper(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display, const unsigned updateRate_Hz);
///
/// Destructor of this qt frame grabber. Releases any claimed resources.
///
virtual ~QtWrapper() {};
public slots:
///
/// Performs a single frame grab and computes the led-colors

View File

@@ -16,7 +16,6 @@ public:
VideoStandard videoStandard,
PixelFormat pixelFormat,
int pixelDecimation );
virtual ~V4L2Wrapper() {};
bool getSignalDetectionEnable();

View File

@@ -19,7 +19,7 @@ public:
X11Grabber(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation);
virtual ~X11Grabber();
~X11Grabber() override;
bool Setup();

View File

@@ -26,11 +26,6 @@ public:
///
X11Wrapper(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, const unsigned updateRate_Hz);
///
/// Destructor of this framebuffer frame grabber. Releases any claimed resources.
///
virtual ~X11Wrapper() {};
public slots:
///
/// Performs a single frame grab and computes the led-colors