From c81e60b1f5d62b74a2ebc269348b36bf91df5015 Mon Sep 17 00:00:00 2001 From: Nikita Kostovsky Date: Sun, 9 Nov 2025 08:53:54 +0100 Subject: fix memcpy_neon --- src/image.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/image.h') diff --git a/src/image.h b/src/image.h index a3c4476..e4cf9eb 100644 --- a/src/image.h +++ b/src/image.h @@ -17,8 +17,6 @@ struct Image Image(Image &other) = delete; Image(Image &&other) = delete; Image &operator=(Image &&other) = default; - int width{0}; - int height{0}; // uint8_t data[img_height][img_width] = {{0}}; using row_t = std::array; @@ -27,7 +25,9 @@ struct Image using column_t = rotated_row_t; using rotated_data_t = std::array; // data_t d; - data_t data; + alignas(128) data_t data; + int width{0}; + int height{0}; // data_t *data; // uint8_t *data = {nullptr}; // uint8_t &dataAt(size_t row, size_t col); -- cgit v1.2.3-70-g09d2