Hi all
Recently, I want to use CUDA by nvivafilter, I read nvsample_cudaprocess source code and find gpu_process will do CUDA operation, I am confused and don’t know how to set my parameters to usrptr.
static void
gpu_process (EGLImageKHR image, void ** usrptr) {
… //CUDA operation
}
I was just find initialization of function pointers, do not know how to set parameters
extern “C” void
init (CustomerFunction * pFuncs)
{
…
pFuncs->fGPUProcess = gpu_process;
}