mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-07 05:10:39 +02:00
more tests
This commit is contained in:
parent
d80ea2269f
commit
77785fa89b
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user