summaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorNikita Kostovsky <nikita@kostovsky.me>2025-01-23 12:08:26 +0100
committerNikita Kostovsky <nikita@kostovsky.me>2025-01-23 12:08:26 +0100
commit3fa8f19daf8b36b0703002d78a84e5bb7919849b (patch)
treea82c63aac3b415cb5eddba58ba610213e85f9ae1 /src/image.h
parent38acf876313c9bf28e41acd8bc29d6115c1e9285 (diff)
add support of inno-maker ov9281
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/image.h b/src/image.h
index 2fff020..1ec1b93 100644
--- a/src/image.h
+++ b/src/image.h
@@ -9,10 +9,10 @@ struct Image
{
int width{0};
int height{0};
- uint16_t data[img_height][img_width] = {{0}};
- uint16_t rotated_cw[img_width][img_height] = {{0}};
- size_t dataSize{0};
- unsigned int stride{0};
+ uint8_t data[img_height][img_width] = {{0}};
+ uint8_t rotated_cw[img_width][img_height] = {{0}};
+ // size_t dataSize{0};
+ // unsigned int stride{0};
libcamera::PixelFormat pixelFormat{0};
Counters counters{};