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 --- imagealgos.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'imagealgos.h') diff --git a/imagealgos.h b/imagealgos.h index 4094f87..e443e10 100644 --- a/imagealgos.h +++ b/imagealgos.h @@ -6,12 +6,14 @@ #include "image.h" #include "pixels.h" -size_t pgm_save(Image *img, FILE *outfile, bool really_save = false); +size_t pgm_save(std::shared_ptr img, + FILE *outfile = nullptr, + bool really_save = false); -void unpack_10bit(uint8_t const *src, Image const &image, uint16_t *dest); -void unpack_16bit(uint8_t const *src, Image const &image, uint16_t *dest); +// void unpack_10bit(uint8_t const *src, Image const &image, uint16_t *dest); +// void unpack_16bit(uint8_t const *src, Image const &image, uint16_t *dest); -Pixels process_columns(Image & image); +// Pixels process_columns(Image & image); QList pixelsToLines(const Pixels& rawProfile); QList pointsToLines(const QList& points); -- cgit v1.2.3-70-g09d2