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. The new version of the primitive takes the ROI in image pixel size and
/// works with DCT coefficients that are in zig-zag order.
/// </summary>
/// <param name="src">Source image.</param>
/// <param name="dst">Destination image</param>
/// <param name="QuantInvTable">Quantization Table in zig-zag order.</param>
/// <param name="oSizeRoi">Roi size (in pixels).</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. The new version of the primitive takes the ROI in image pixel size and
works with DCT coefficients that are in zig-zag order.
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 . The new version of the primitive takes the ROI in image pixel size and works with DCT coefficients that are in zig - zag order .
public void DCTQuantInv8x8LS(NPPImage_16sC1 src, NPPImage_8uC1 dst, NppiSize oSizeRoi, CudaDeviceVariable<byte> QuantInvTable)
		{
			status = NPPNativeMethods.NPPi.CompressionDCT.nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R_NEW(src.DevicePointer, src.Pitch, dst.DevicePointer, dst.Pitch, QuantInvTable.DevicePointer, oSizeRoi, _state);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R_NEW", status));
			NPPException.CheckNppStatus(status, null);
		}
public void DCTQuantInv8x8LS ( NPPImage_16sC1 src , NPPImage_8uC1 dst , NppiSize oSizeRoi , CudaDeviceVariable < byte > QuantInvTable ) { status = NPPNativeMethods . NPPi . CompressionDCT . nppiDCTQuantInv8x8LS_JPEG_16s8u_C1R_NEW ( src . DevicePointer , src . Pitch , dst . DevicePointer , dst . Pitch , QuantInvTable . DevicePointer , oSizeRoi , _state ) ; 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
oSizeRoi
NppiSize
Roi size (in pixels).
Roi size ( in pixels ) .
QuantInvTable
CudaDeviceVariable<byte>
Quantization Table in zig-zag order.
Quantization Table in zig - zag order .