How to use NPP?

Hi,

I am trying to use NPP Library for JPEG encoding.
How can I save JPEG file after I call nppiDCTQuantFwd8x8LS_JPEG_8u16s_C1R (*pSrc, srcStep, *pDst, dstStep, *pQuantFwdTable, oSizeROI) function?
Is there any related API?

Thanks for any advise.