public:
#ifdef FASTCV_ON
//m_data{(T *)::malloc(rows*cols*channels*sizeof(T)), ::free}
m_data{(T *)::fcvMemAlloc(rows*cols*channels*sizeof(T), 16), ::fcvMemFree}
#else
m_data{new T[rows * cols * channels], std::default_delete<T[]>() }
#endif
protected:
int m_rows, m_cols;
int m_channels;
std::shared_ptr<T> m_data;
沒有留言:
張貼留言