Using the NPP library to do CUDA based debayer, and after the call, all subsequent frames from FLIR USB machine vision cameras to that process are ‘incomplete or corrupted’. Narrowed it down to a single reproducable call to nppiCFAToRGB_8u_C1C3R. Exhaustively checked all memory allocation etc to be correct. The call actually functions correctly, but after the call the camera won’t recieve frames.
Assume that under the hood this call is doing some initialization which is clobbering something. FLIR are at a loss and suggest working with Nvidia to track down the problem.
This is the Spinnaker SDK from PointGrey/FLIR rather than V4l2. I don’t believe there are any other variants of that function which take anything other than the timeout (set here to infinite/-1)