Hello, I am trying to understand why the perspective wrap function is unable to work with the VIC backend. In the documentation it says it should be able to work with VIC.
I am working on a Xavier NV Quark with Jetson 4.6 VPI 1.1.12
Here is a snippet of my code:
vpiImageCreate(mImageWidth, mImageHeight, VPI_IMAGE_FORMAT_NV12_ER, 0, &imgInput);
CHECK_STATUS(vpiSubmitConvertImageFormat(stream, VPI_BACKEND_CUDA, mImgFrame, imgInput, NULL));
CHECK_STATUS(vpiSubmitPerspectiveWarp(stream, VPI_BACKEND_VIC, payload, imgInput, xform, mImgFrameAfterH, VPI_INTERP_LINEAR, VPI_BORDER_ZERO, VPI_WARP_INVERSE ));
CHECK_STATUS(vpiSubmitConvertImageFormat(stream, VPI_BACKEND_CUDA, mImgFrameAfterWrap, imgOutput, NULL));
vpiStreamSync(stream);
When putting VPI_BACKEND_CUDA as the backend for vpiSubmitPerspectiveWarp the code runs as expected. With VPI_BACKEND_VIC I get this error:
VPI_ERROR_INVALID_ARGUMENT: Backend isn’t eligible to execute the algorithm.