mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-06-06 11:38:40 +02:00
detached sync and assembler with zmq recv.
This commit is contained in:
@@ -10,6 +10,8 @@ class EigerAssembler {
|
||||
const int bit_depth_;
|
||||
const int n_eiger_modules_;
|
||||
|
||||
int last_image_status_;
|
||||
|
||||
const uint32_t n_bytes_per_frame_;
|
||||
const uint32_t n_bytes_per_module_line_;
|
||||
const uint32_t n_packets_per_frame_;
|
||||
@@ -21,12 +23,15 @@ class EigerAssembler {
|
||||
const int n_lines_per_frame_;
|
||||
const int image_bytes_;
|
||||
|
||||
|
||||
|
||||
public:
|
||||
EigerAssembler(const int n_modules, const int bit_depth);
|
||||
void assemble_image(const char* src_meta, const char* src_data,
|
||||
char* dst_meta, char* dst_data) const;
|
||||
char* dst_meta, char* dst_data);
|
||||
size_t get_image_n_bytes() const;
|
||||
size_t get_module_n_bytes() const;
|
||||
int get_last_img_status() const;
|
||||
|
||||
friend std::ostream& operator<<(std::ostream& os, const EigerAssembler& p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user