mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-13 07:47:13 +02:00
more tests
This commit is contained in:
@ -42,7 +42,7 @@ class Frame {
|
|||||||
ssize_t cols() const { return m_cols; }
|
ssize_t cols() const { return m_cols; }
|
||||||
ssize_t bitdepth() const { return m_bitdepth; }
|
ssize_t bitdepth() const { return m_bitdepth; }
|
||||||
ssize_t size() const { return m_rows * m_cols * m_bitdepth / 8; }
|
ssize_t size() const { return m_rows * m_cols * m_bitdepth / 8; }
|
||||||
std::byte *data() { return m_data; }
|
std::byte *data() const { return m_data; }
|
||||||
|
|
||||||
Frame &operator=(Frame &other) {
|
Frame &operator=(Frame &other) {
|
||||||
m_rows = other.rows();
|
m_rows = other.rows();
|
||||||
|
Reference in New Issue
Block a user