25 File(std::filesystem::path fname, std::string mode,
FileConfig cfg = {});
26 void write(
Frame &frame);
28 Frame iread(
size_t frame_number);
29 std::vector<Frame> read(
size_t n_frames);
30 void read_into(std::byte *image_buf);
31 void read_into(std::byte *image_buf,
size_t n_frames);
32 size_t frame_number(
size_t frame_index);
33 size_t bytes_per_frame();
35 void seek(
size_t frame_number);
37 size_t total_frames()
const;
40 ssize_t bitdepth()
const;
FileInterface class to define the interface for file operations.
Definition FileInterface.hpp:33
RAII File class for reading and writing image files in various formats wrapper on a FileInterface to ...
Definition File.hpp:11
FileInterface * file_impl
Definition File.hpp:13
Frame class to represent a single frame of data model class should be able to work with streams comin...
Definition CircularFifo.hpp:11
FileConfig structure to store the configuration of a file dtype: data type of the file rows: number o...
Definition FileInterface.hpp:17