Ejemplo n.º 1
0
 public void ParseHeader(byte[] data)
 {
     res = NvJpegNativeMethods.nvjpegJpegStreamParseHeader(_nvJpeg.Handle, data, data.Length, _stream);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nvjpegJpegStreamParseHeader", res));
     if (res != nvjpegStatus.Success)
     {
         throw new NvJpegException(res);
     }
 }