Library/ManagedCuda/NPP/JPEGCompression.cs
/// <summary>
/// Creates a Huffman table in a format that is suitable for the decoder on the host.
/// </summary>
/// <param name="pRawHuffmanTable">Huffman table formated as specified in the JPEG standard.</param>
/// <param name="eTableType">Enum specifying type of table (nppiDCTable or nppiACTable)</param>
/// <param name="pHuffmanSpec">Pointer to the Huffman table for the decoder</param>
/// <returns>NPP_NULL_POINTER_ERROR If one of the pointers is 0.</returns>
Creates a Huffman table in a format that is suitable for the decoder on the host.
Creates a Huffman table in a format that is suitable for the decoder on the host .
public static void DecodeHuffmanSpecInitHost(byte[] pRawHuffmanTable, NppiHuffmanTableType eTableType, NppiDecodeHuffmanSpec pHuffmanSpec)
		{
			NppStatus status;
			status = NPPNativeMethods.NPPi.CompressionDCT.nppiDecodeHuffmanSpecInitHost_JPEG(pRawHuffmanTable, eTableType, pHuffmanSpec);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiDecodeHuffmanSpecInitHost_JPEG", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void DecodeHuffmanSpecInitHost ( byte [ ] pRawHuffmanTable , NppiHuffmanTableType eTableType , NppiDecodeHuffmanSpec pHuffmanSpec ) { NppStatus status ; status = NPPNativeMethods . NPPi . CompressionDCT . nppiDecodeHuffmanSpecInitHost_JPEG ( pRawHuffmanTable , eTableType , pHuffmanSpec ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
Creates a Huffman table in a format that is suitable for the decoder on the host.
Creates a Huffman table in a format that is suitable for the decoder on the host .
NPP_NULL_POINTER_ERROR If one of the pointers is 0.
NPP_NULL_POINTER_ERROR If one of the pointers is 0 .
pRawHuffmanTable
byte[]
Huffman table formated as specified in the JPEG standard.
Huffman table formated as specified in the JPEG standard .
eTableType
NppiHuffmanTableType
Enum specifying type of table (nppiDCTable or nppiACTable)
Enum specifying type of table ( nppiDCTable or nppiACTable )
pHuffmanSpec
NppiDecodeHuffmanSpec
Pointer to the Huffman table for the decoder
Pointer to the Huffman table for the decoder