Library/ManagedCuda/NPP/JPEGCompression.cs
/// <summary>
/// Initializes a quantization table for DCTQuantInv8x8LS().<para/>
/// The DCTQuantFwd8x8LS() method uses a quantization table
/// in a 16-bit format allowing for faster processing. In addition it converts the 
/// data order from zigzag layout to original row-order layout. Typically raw
/// quantization tables are stored in zigzag format.<para/>
/// This method is a host method. It consumes and produces host data. I.e. the pointers
/// passed to this function must be host pointers. The resulting table needs to be
/// transferred to device memory in order to be used with DCTQuantFwd8x8LS()
/// function.
/// </summary>
/// <param name="QuantRawTable">Raw quantization table.</param>
/// <param name="QuantInvRawTable">Inverse quantization table.</param>
Initializes a quantization table for DCTQuantInv8x8LS().
The DCTQuantFwd8x8LS() method uses a quantization table
in a 16-bit format allowing for faster processing. In addition it converts the
data order from zigzag layout to original row-order layout. Typically raw
quantization tables are stored in zigzag format.
This method is a host method. It consumes and produces host data.
Initializes a quantization table for DCTQuantInv8x8LS () . The DCTQuantFwd8x8LS () method uses a quantization table in a 16 - bit format allowing for faster processing . In addition it converts the data order from zigzag layout to original row - order layout . Typically raw quantization tables are stored in zigzag format . This method is a host method . It consumes and produces host data .
public static void QuantInvTableInit(byte[] QuantRawTable, ushort[] QuantInvRawTable)
		{
			NppStatus status;
			status = NPPNativeMethods.NPPi.ImageCompression.nppiQuantInvTableInit_JPEG_8u16u(QuantRawTable, QuantInvRawTable);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiQuantInvTableInit_JPEG_8u16u", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void QuantInvTableInit ( byte [ ] QuantRawTable , ushort [ ] QuantInvRawTable ) { NppStatus status ; status = NPPNativeMethods . NPPi . ImageCompression . nppiQuantInvTableInit_JPEG_8u16u ( QuantRawTable , QuantInvRawTable ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
Initializes a quantization table for DCTQuantInv8x8LS().
Initializes a quantization table for DCTQuantInv8x8LS () .
QuantRawTable
byte[]
Raw quantization table.
Raw quantization table .
QuantInvRawTable
ushort[]
Inverse quantization table.
Inverse quantization table .