From 8c26fb482944ab022345f40c94d80c3ffd5f723c Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Mon, 11 Mar 2024 14:34:53 +0100 Subject: [PATCH] move ImageSettings to util --- pylonwrapper.h | 13 +++---------- util.h | 8 ++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/pylonwrapper.h b/pylonwrapper.h index 1ddf9ee..243b37b 100644 --- a/pylonwrapper.h +++ b/pylonwrapper.h @@ -1,5 +1,5 @@ -#ifndef PYLONRECORDER_H -#define PYLONRECORDER_H +#ifndef PYLONWRAPPER_H +#define PYLONWRAPPER_H #include #include @@ -7,13 +7,6 @@ #include "util.h" #include "myimage.h" -struct ImageSettings { - int64_t width = 0; - int64_t height = 0; - Pylon::EPixelType pixelType; - Pylon::EImageOrientation orientation; -}; - class PylonWrapper { public: @@ -47,4 +40,4 @@ private: }; -#endif // PYLONRECORDER_H +#endif // PYLONWRAPPER_H diff --git a/util.h b/util.h index 0c5aa57..e6e3c15 100644 --- a/util.h +++ b/util.h @@ -29,4 +29,12 @@ enum class VideoFormat { raw, mp4 }; + +struct ImageSettings { + int64_t width = 0; + int64_t height = 0; + Pylon::EPixelType pixelType; + Pylon::EImageOrientation orientation; +}; + #endif /*UTIL_H*/ \ No newline at end of file