bitdepths

This commit is contained in:
Erik Fröjdh
2025-01-07 12:27:01 +01:00
parent da67f58323
commit d07da42745
3 changed files with 34 additions and 19 deletions

View File

@ -66,6 +66,9 @@ class RawSubFile {
size_t pixels_per_frame() const { return m_rows * m_cols; }
size_t bytes_per_pixel() const { return m_bitdepth / 8; }
private:
template <typename T>
void read_with_map(std::byte *image_buf);
};