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