1
#include <nvjpeg.h>
2
3
int saveJpeg(const char * filepath, unsigned char* d_srcBGR, int width, int height, cudaStream_t stream);