常用方法
常用方法
常用方法
常用方法
// finishing async operations on the device public void DecodeJpegDevice(ref nvjpegImage destination, CudaStream cudaStream) { res = NvJpegNativeMethods.nvjpegDecodeJpegDevice(_nvJpeg.Handle, _decoder.Decoder, _state, ref destination, cudaStream.Stream); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nvjpegDecodeJpegDevice", res)); if (res != nvjpegStatus.Success) { throw new NvJpegException(res); } }