From d6871cc204327241ab52f53e4fc9791b38a447d2 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Thu, 23 Apr 2020 10:05:35 +0200 Subject: [PATCH] Additional parameters in buffer_config --- core-buffer/include/buffer_config.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core-buffer/include/buffer_config.hpp b/core-buffer/include/buffer_config.hpp index 83b8050..a602e23 100644 --- a/core-buffer/include/buffer_config.hpp +++ b/core-buffer/include/buffer_config.hpp @@ -8,6 +8,8 @@ namespace core_buffer { const size_t MODULE_X_SIZE = 1024; const size_t MODULE_Y_SIZE = 512; + const size_t MODULE_N_PIXELS = MODULE_X_SIZE * MODULE_Y_SIZE; + const size_t MODULE_N_BYTES = MODULE_N_PIXELS * 2; // How many frames we store in each file. // Must be power of 10 and <= than FOLDER_MOD