Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void SetSamplingFactors(nvjpegChromaSubsampling chroma_subsampling, CudaStream stream) { res = NvJpegNativeMethods.nvjpegEncoderParamsSetSamplingFactors(_params, chroma_subsampling, stream.Stream); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nvjpegEncoderParamsSetSamplingFactors", res)); if (res != nvjpegStatus.Success) { throw new NvJpegException(res); } }