diff --git a/util.h b/util.h index e6e3c15..facb50b 100644 --- a/util.h +++ b/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*/ \ No newline at end of file diff --git a/writer.h b/writer.h index 3c0f220..62db4bb 100644 --- a/writer.h +++ b/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