diff options
| author | Nikita Kostovsky <luntik2012@gmail.com> | 2025-01-12 17:57:45 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <luntik2012@gmail.com> | 2025-01-12 17:57:45 +0100 |
| commit | 201d98f63131242bb8871ed0c4a3ae9ebd4ef030 (patch) | |
| tree | 763a52710b3c8021c62b93535692b53de90265e5 /src/typedefs.h | |
| parent | 4782e81c32392c78025aae1acb4b2ed1d1395908 (diff) | |
start refactoring. non-working commit
Diffstat (limited to 'src/typedefs.h')
| -rw-r--r-- | src/typedefs.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/typedefs.h b/src/typedefs.h index 2af2921..7ed8411 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -2,8 +2,6 @@ #include <libcamera/pixel_format.h> -#include "constants.h" - struct Counters { uint32_t timestampUs{0}; @@ -11,22 +9,10 @@ struct Counters int32_t encoderPosition{0}; }; -struct Image -{ - int width; - int height; - uint16_t data[img_height][img_width]; - uint16_t rotated_cw[img_width][img_height]; - size_t dataSize; - unsigned int stride; - libcamera::PixelFormat pixelFormat; - Counters counters{}; -}; - struct requested_params_t { - int32_t exposureTime = {1000}; - int32_t laserLevel = {3000}; + int32_t exposureTime{1000}; + int32_t laserLevel{3000}; uint32_t stepsPerMm{200}; }; |
