MCPcopy Create free account
hub / github.com/creatale/node-dv / Buffer

Method Buffer

deps/opencv/modules/core/src/opengl_interop.cpp:478–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476#endif // HAVE_OPENGL
477
478cv::ogl::Buffer::Buffer() : rows_(0), cols_(0), type_(0)
479{
480#ifndef HAVE_OPENGL
481 throw_nogl();
482#else
483 impl_ = Impl::empty();
484#endif
485}
486
487cv::ogl::Buffer::Buffer(int arows, int acols, int atype, unsigned int abufId, bool autoRelease) : rows_(0), cols_(0), type_(0)
488{

Callers

nothing calls this directly

Calls 8

throw_noglFunction · 0.85
createFunction · 0.85
kindMethod · 0.80
emptyFunction · 0.50
getMatMethod · 0.45
isContinuousMethod · 0.45
elemSizeMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected