Sgie custom preprocessing

There is a sample of how to read NvBufSurface with CPU, please refer to the sample DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums