summaryrefslogtreecommitdiff
path: root/src/camera/ov9281.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera/ov9281.h')
-rw-r--r--src/camera/ov9281.h5
1 files changed, 3 insertions, 2 deletions
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<std::shared_ptr<Pixels>> newPixels;
+ libcamera::Signal<std::shared_ptr<Image>> newImage;
private:
explicit OV9281(const std::shared_ptr<libcamera::Camera> &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<libcamera::FrameBufferAllocator> m_allocator{nullptr};
// TODO: set exposureTime from outside
- int32_t m_exposureTime{1000};
+ int32_t m_exposureTime{100};
};