/// <summary> /// Constructs a new NvJpeg wrapper instance. /// </summary> public NvJpeg(NvJpegAPIVersion?version) { API = NvJpegAPI.Create(version); }
/// <summary> /// Constructs a new instance to wrap an NvJpeg library. /// </summary> public NvJpegLibrary(NvJpegAPI api, IntPtr libHandle) { API = api; LibHandle = libHandle; }
/// <summary> /// Constructs a new instance to wrap an NvJpeg state. /// </summary> public NvJpegState(NvJpegAPI api, IntPtr stateHandle) { API = api; StateHandle = stateHandle; }