mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-09 11:42:04 +02:00
eiger image assemble routine.
This commit is contained in:
@@ -26,7 +26,7 @@ public:
|
||||
size_t meta_n_bytes,
|
||||
size_t data_n_bytes,
|
||||
int n_modules,
|
||||
int n_slots=buffer_config::RAM_BUFFER_N_SLOTS);
|
||||
int n_slots);
|
||||
|
||||
~RamBuffer();
|
||||
|
||||
@@ -43,7 +43,6 @@ public:
|
||||
const uint64_t image_id, const uint64_t module_id) const;
|
||||
char* get_slot_meta(const uint64_t image_id) const;
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define EIGER_H
|
||||
|
||||
#include <cstdint>
|
||||
#include <stdint.h>
|
||||
|
||||
#define N_MODULES 1
|
||||
#define BYTES_PER_PACKET 4144
|
||||
@@ -27,6 +28,9 @@
|
||||
|
||||
|
||||
#define N_BYTES_PER_MODULE_LINE(bit_depth) ((MODULE_X_SIZE * bit_depth) / 8)
|
||||
#define N_BYTES_PER_MODULE_FRAME(bit_depth) ((131072 * bit_depth) / 8)
|
||||
|
||||
|
||||
// #define N_BYTES_PER_IMAGE_LINE(bit_depth, n_submodules) ((n_submodules / 2 * MODULE_X_SIZE * bit_depth) / 8)
|
||||
|
||||
// DR 16
|
||||
|
||||
Reference in New Issue
Block a user