| 580 | } |
| 581 | |
| 582 | std::shared_ptr<Image> Image::WrapExternalBuffer(ExternalBuffer &buffer, nvcv::ImageFormat fmt) |
| 583 | { |
| 584 | py::object obj = py::cast(buffer.shared_from_this()); |
| 585 | return WrapExternalBufferVector({obj}, fmt); |
| 586 | } |
| 587 | |
| 588 | std::vector<std::shared_ptr<Image>> Image::WrapExternalBufferMany(std::vector<std::shared_ptr<ExternalBuffer>> &buffers, |
| 589 | nvcv::ImageFormat fmt) |
nothing calls this directly
no test coverage detected