Use ImageResampler in V4L2 grabber

Former-commit-id: c6ec92c17b07444a49a303cdced6f59347f98f76
This commit is contained in:
poljvd
2014-12-16 21:30:08 +01:00
parent e608b11caa
commit 2b6d485ea7
2 changed files with 17 additions and 104 deletions

View File

@@ -13,6 +13,7 @@
#include <utils/ColorRgb.h>
#include <utils/PixelFormat.h>
#include <utils/VideoMode.h>
#include <utils/ImageResampler.h>
// grabber includes
#include <grabber/VideoStandard.h>
@@ -108,22 +109,17 @@ private:
PixelFormat _pixelFormat;
int _width;
int _height;
int _lineLength;
int _frameByteSize;
int _cropLeft;
int _cropRight;
int _cropTop;
int _cropBottom;
int _frameDecimation;
int _horizontalPixelDecimation;
int _verticalPixelDecimation;
int _noSignalCounterThreshold;
ColorRgb _noSignalThresholdColor;
VideoMode _mode3D;
int _currentFrame;
int _noSignalCounter;
QSocketNotifier * _streamNotifier;
ImageResampler _imageResampler;
};