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

Method Image

src/nvcv/src/priv/Image.cpp:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136Image::Image(NVCVImageRequirements reqs, IAllocator &alloc)
137 : m_alloc{alloc}
138 , m_reqs{std::move(reqs)}
139 // coverity[ctor_dtor_leak] - m_memBuffer is properly freed in destructor via m_alloc->freeCudaMem
140 , m_memBuffer{AllocateBuffer(alloc, m_reqs)}
141{
142 // Validation and allocation now happen in the member initializer list for exception safety
143}
144
145Image::~Image()
146{

Callers 15

mainFunction · 0.45
image_to_tensorFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
test_op_copymakeborderFunction · 0.45
test_op_eraseFunction · 0.45
clone_image_batchFunction · 0.45
test_op_inpaint_varshapeFunction · 0.45

Calls

no outgoing calls