Library/ManagedCuda/NPP/JPEGCompression.cs
/// <summary>
/// Inverse DCT in WebP decoding. Input is the bitstream that contains the coefficients of 16x16 blocks.
/// These coefficients are based on a 4x4 sub-block unit, e.g., 
/// Coeffs in 0th 4x4 block, 1st 4x4 block 2nd 4x4 block, etc.
/// Output is the coefficients after inverse DCT transform.
/// The output is put in an image format (i.e. raster scan order), different from the input order.
/// </summary>
/// <param name="src">Source image.</param>
/// <param name="dst">Destination image</param>
/// <param name="oSizeRoi">Roi size (in pixels).</param>
Inverse DCT in WebP decoding. Input is the bitstream that contains the coefficients of 16x16 blocks.
These coefficients are based on a 4x4 sub-block unit, e.g.,
Coeffs in 0th 4x4 block, 1st 4x4 block 2nd 4x4 block, etc.
Output is the coefficients after inverse DCT transform.
The output is put in an image format , different from the input order.
Inverse DCT in WebP decoding . Input is the bitstream that contains the coefficients of 16x16 blocks . These coefficients are based on a 4x4 sub - block unit e . g . Coeffs in 0th 4x4 block 1st 4x4 block 2nd 4x4 block etc . Output is the coefficients after inverse DCT transform . The output is put in an image format different from the input order .
public void DCTQuant16Fwd8x8LS(NPPImage_16sC1 src, NPPImage_16sC1 dst, NppiSize oSizeRoi)
        {
            status = NPPNativeMethods.NPPi.CompressionDCT.nppiDCTInv4x4_WebP_16s_C1R(src.DevicePointer, src.Pitch, dst.DevicePointer, dst.Pitch, oSizeRoi);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDCTInv4x4_WebP_16s_C1R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void DCTQuant16Fwd8x8LS ( NPPImage_16sC1 src , NPPImage_16sC1 dst , NppiSize oSizeRoi ) { status = NPPNativeMethods . NPPi . CompressionDCT . nppiDCTInv4x4_WebP_16s_C1R ( src . DevicePointer , src . Pitch , dst . DevicePointer , dst . Pitch , oSizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Inverse DCT in WebP decoding.
Inverse DCT in WebP decoding .
src
NPPImage_16sC1
None
dst
NPPImage_16sC1
None
oSizeRoi
NppiSize
Roi size (in pixels).
Roi size ( in pixels ) .