From 3fa8f19daf8b36b0703002d78a84e5bb7919849b Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Thu, 23 Jan 2025 12:08:26 +0100 Subject: add support of inno-maker ov9281 --- src/camera/ov9281.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/camera/ov9281.h') diff --git a/src/camera/ov9281.h b/src/camera/ov9281.h index f70db2f..e989d96 100644 --- a/src/camera/ov9281.h +++ b/src/camera/ov9281.h @@ -37,6 +37,7 @@ public: // TODO: image->pixels in separate thread // TODO: respect sender/receiver threads libcamera::Signal> newPixels; + libcamera::Signal> newImage; private: explicit OV9281(const std::shared_ptr &camera); @@ -51,7 +52,7 @@ private: // constants private: - static inline constexpr auto pixelFormat{libcamera::formats::R16}; + static inline constexpr auto pixelFormat{libcamera::formats::R8}; static inline constexpr unsigned int bufferCount{2}; static inline constexpr size_t desiredFPS{144}; @@ -64,5 +65,5 @@ private: std::unique_ptr m_allocator{nullptr}; // TODO: set exposureTime from outside - int32_t m_exposureTime{1000}; + int32_t m_exposureTime{100}; }; -- cgit v1.2.3-70-g09d2