Skip to content
Snippets Groups Projects
Commit d8014139 authored by Olivier BICHLER's avatar Olivier BICHLER Committed by Maxence Naud
Browse files
parent 82c52a0f
No related branches found
No related tags found
1 merge request!17version 0.0.3
...@@ -90,6 +90,8 @@ public: ...@@ -90,6 +90,8 @@ public:
// native interface // native interface
const cv::Mat & data() const override { return mData; } const cv::Mat & data() const override { return mData; }
inline std::size_t capacity() const noexcept override { return (mData.total() * mData.channels()); }
inline std::size_t scalarSize() const noexcept override final { return sizeof(T); } inline std::size_t scalarSize() const noexcept override final { return sizeof(T); }
void copy(const void *src, NbElts_t length, NbElts_t offset = 0) override final { void copy(const void *src, NbElts_t length, NbElts_t offset = 0) override final {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment