Hello, similar to Performance issues using vpiImageCreate*Wrapper
I have performance problems when using the following code
VPIImage img;
VPIImageData data = {};
data.bufferType = VPI_IMAGE_BUFFER_CUDA_PITCH_LINEAR;
data.buffer.pitch.numPlanes = 1;
data.buffer.pitch.format = VPI_IMAGE_FORMAT_U8;
data.buffer.pitch.planes[0].width = mvImagePyramid[level]->getWidth();
data.buffer.pitch.planes[0].height = mvImagePyramid[level]->getHeight();
data.buffer.pitch.planes[0].data = mvImagePyramid[level]->getRaw(); // get ptr allocated by CudaMallocManaged
data.buffer.pitch.planes[0].pitchBytes = mvImagePyramid[level]->getStep();
//data.buffer.pitch.planes[0].pixelType = VPI_PIXEL_TYPE_DEFAULT;
vpiImageCreateWrapper(&data, nullptr, 0, &img);
I just wanted to ask if there is anything else I can do/if this is a problem/ if you are aware of this problem?
Best,
Marc