move VideoSpecs to util
This commit is contained in:
parent
41272ce08e
commit
555098cdba
12
util.h
12
util.h
@ -37,4 +37,16 @@ struct ImageSettings {
|
||||
Pylon::EImageOrientation orientation;
|
||||
};
|
||||
|
||||
|
||||
struct VideoSpecs {
|
||||
std::string filename;
|
||||
uint32_t width, height, quality = 10;
|
||||
int fps;
|
||||
double exposureTime;
|
||||
double detectorGain;
|
||||
Pylon::EPixelType pixelType;
|
||||
Pylon::EImageOrientation orientation;
|
||||
VideoFormat format = VideoFormat::raw;
|
||||
};
|
||||
|
||||
#endif /*UTIL_H*/
|
12
writer.h
12
writer.h
@ -11,18 +11,6 @@
|
||||
#include "projectsettings.h"
|
||||
#include "util.h"
|
||||
|
||||
struct VideoSpecs {
|
||||
std::string filename;
|
||||
uint32_t width, height, quality = 10;
|
||||
uint32_t xoffset, yoffset = 0;
|
||||
int fps;
|
||||
double exposureTime;
|
||||
double detectorGain;
|
||||
Pylon::EPixelType pixelType;
|
||||
Pylon::EImageOrientation orientation;
|
||||
VideoFormat format = VideoFormat::raw;
|
||||
};
|
||||
|
||||
class Writer : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
Loading…
Reference in New Issue
Block a user