move VideoSpecs to util

This commit is contained in:
Jan Grewe 2024-03-12 14:56:25 +01:00
parent 41272ce08e
commit 555098cdba
2 changed files with 12 additions and 12 deletions

12
util.h
View File

@ -37,4 +37,16 @@ struct ImageSettings {
Pylon::EImageOrientation orientation; 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*/ #endif /*UTIL_H*/

View File

@ -11,18 +11,6 @@
#include "projectsettings.h" #include "projectsettings.h"
#include "util.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 class Writer : public QThread
{ {
Q_OBJECT Q_OBJECT