Library/ManagedCuda/NPP/JPEGCompression.cs
/// <summary>
/// Calculates sizes of additional buffers used by the job.
/// </summary>
/// <param name="pJob">has to point to properly initialized job</param>
Calculates sizes of additional buffers used by the job.
Calculates sizes of additional buffers used by the job .
public SizeT JobMemorySize(NppiJpegDecodeJob pJob)
        {
            SizeT ret = new SizeT();
            status = NPPNativeMethods.NPPi.CompressionDCT.nppiJpegDecodeJobMemorySize(ref pJob, ref ret);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiJpegDecodeJobMemorySize", status));
            NPPException.CheckNppStatus(status, this);
            return ret;
        }
public SizeT JobMemorySize ( NppiJpegDecodeJob pJob ) { SizeT ret = new SizeT ( ) ; status = NPPNativeMethods . NPPi . CompressionDCT . nppiJpegDecodeJobMemorySize ( ref pJob , ref ret ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return ret ; }
Calculates sizes of additional buffers used by the job.
Calculates sizes of additional buffers used by the job .
pJob
NppiJpegDecodeJob
has to point to properly initialized job
has to point to properly initialized job