From b4e19d620d058cb4ec4725b9d031478755d7492f Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Tue, 6 Jul 2021 16:33:35 +0200 Subject: [PATCH] Adjust ImageMetadata to common standard --- core-buffer/include/formats.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/core-buffer/include/formats.hpp b/core-buffer/include/formats.hpp index 3fc1c6b..c9e5e25 100644 --- a/core-buffer/include/formats.hpp +++ b/core-buffer/include/formats.hpp @@ -26,13 +26,14 @@ struct ModuleFrame { #pragma pack(push) #pragma pack(1) struct ImageMetadata { + uint64_t version; uint64_t id; uint64_t height; uint64_t width; - uint64_t dtype; - uint64_t encoding; - uint64_t source_id; - uint64_t status; + uint16_t dtype; + uint16_t encoding; + uint16_t source_id; + uint16_t status; uint64_t user_1; uint64_t user_2; };