MCPcopy Create free account
hub / github.com/CVCUDA/CV-CUDA / CreateHost

Method CreateHost

python/mod_cvcuda/nvcv/Image.cpp:708–711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708std::shared_ptr<Image> Image::CreateHost(py::buffer buffer, nvcv::ImageFormat fmt, int rowAlign)
709{
710 return CreateHostVector(std::vector{buffer}, fmt, rowAlign);
711}
712
713std::shared_ptr<Image> Image::CreateHostVector(std::vector<py::buffer> buffers, nvcv::ImageFormat fmt, int rowAlign)
714{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected