Files
sf_daq_buffer/core-buffer/include/formats.hpp
T
2020-05-22 14:22:47 +02:00

26 lines
657 B
C++

#ifndef SF_DAQ_BUFFER_FORMATS_HPP
#define SF_DAQ_BUFFER_FORMATS_HPP
#include "buffer_config.hpp"
struct ImageMetadataBuffer
{
uint64_t pulse_id[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint64_t frame_index[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint32_t daq_rec[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint8_t is_good_frame[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint64_t data_n_bytes[core_buffer::REPLAY_READ_BUFFER_SIZE];
uint16_t n_images;
};
struct ImageMetadata
{
uint64_t pulse_id;
uint64_t frame_index;
uint32_t daq_rec;
uint8_t is_good_frame;
uint64_t data_n_bytes;
};
#endif //SF_DAQ_BUFFER_FORMATS_HPP