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.