Use NvBufSurface together with a custom cuda kernel

Hi,

This should be resolved per
SIGSEGV when accessing CUeglFrame pPitch data - #4 by elhe