MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / apply

Method apply

dnn/src/common/cv/filter.cpp:267–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265
266template <typename ST, typename FT>
267void FilterEngine<ST, FT>::apply(const Mat<ST>& src, Mat<ST>& dst) {
268 int src_step = src.step() * sizeof(ST);
269 int dst_step = dst.step() * sizeof(ST);
270 start(src);
271 proceed(reinterpret_cast<const uchar*>(src.ptr()), static_cast<int>(src_step),
272 m_whole_size.height(), reinterpret_cast<uchar*>(dst.ptr()),
273 static_cast<int>(dst_step));
274}
275
276//! explicit instantiation template
277template FilterEngine<uchar, int>::FilterEngine(

Callers 6

separable_filter_execMethod · 0.45
gaussian_blur_execMethod · 0.45
gaussian_blur_exec_8uMethod · 0.45
separable_filter_execMethod · 0.45

Calls 3

stepMethod · 0.45
ptrMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected