Library/ManagedCuda/NPP/JPEGCompression.cs
/// <summary>
/// Inverse DCT, de-quantization and level shift part of the JPEG decoding.
/// Input is expected in 64x1 macro blocks and output is expected to be in 8x8
/// macro blocks.
/// </summary>
/// <param name="src">Source image.</param>
/// <param name="dst">Destination image</param>
/// <param name="QuantInvTable">Inverse quantization tables for JPEG decoding created using QuantInvTableInit()</param>
/// <param name="oSizeRoi">Roi size (in macro blocks?).</param>
Inverse DCT, de-quantization and level shift part of the JPEG decoding.
Input is expected in 64x1 macro blocks and output is expected to be in 8x8
macro blocks.
Inverse DCT de - quantization and level shift part of the JPEG decoding . Input is expected in 64x1 macro blocks and output is expected to be in 8x8 macro blocks .
public static void DCTQuantInv8x8LS(NPPImage_16sC1 src, NPPImage_8uC1 dst, CudaDeviceVariable<ushort> QuantInvTable, NppiSize oSizeRoi)
		{
			NppStatus status;
			status = NPPNativeMethods.NPPi.ImageCompression.nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R(src.DevicePointer, src.Pitch, dst.DevicePointer, dst.Pitch, QuantInvTable.DevicePointer, oSizeRoi);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void DCTQuantInv8x8LS ( NPPImage_16sC1 src , NPPImage_8uC1 dst , CudaDeviceVariable < ushort > QuantInvTable , NppiSize oSizeRoi ) { NppStatus status ; status = NPPNativeMethods . NPPi . ImageCompression . nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R ( src . DevicePointer , src . Pitch , dst . DevicePointer , dst . Pitch , QuantInvTable . DevicePointer , oSizeRoi ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
Inverse DCT, de-quantization and level shift part of the JPEG decoding.
Inverse DCT de - quantization and level shift part of the JPEG decoding .
src
NPPImage_16sC1
None
dst
NPPImage_8uC1
None
QuantInvTable
CudaDeviceVariable<ushort>
Inverse quantization tables for JPEG decoding created using QuantInvTableInit()
Inverse quantization tables for JPEG decoding created using QuantInvTableInit ()
oSizeRoi
NppiSize
Roi size (in macro blocks?).
Roi size ( in macro blocks? ) .