Library/ManagedCuda/NPP/JPEGCompression.cs
/// <summary>
/// Apply quality factor to raw 8-bit quantization table.<para/>
/// This is effectively and in-place method that modifies a given raw
/// quantization table based on a quality factor.<para/>
/// Note that this method is a host method and that the pointer to the
/// raw quantization table is a host pointer.
/// </summary>
/// <param name="QuantRawTable">Raw quantization table.</param>
/// <param name="nQualityFactor">Quality factor for the table. Range is [1:100].</param>
Apply quality factor to raw 8-bit quantization table.
This is effectively and in-place method that modifies a given raw
quantization table based on a quality factor.
Note that this method is a host method and that the pointer to the
raw quantization table is a host pointer.
Apply quality factor to raw 8 - bit quantization table . This is effectively and in - place method that modifies a given raw quantization table based on a quality factor . Note that this method is a host method and that the pointer to the raw quantization table is a host pointer .
public static void QuantFwdRawTableInit(byte[] QuantRawTable, int nQualityFactor)
		{
			NppStatus status;
			status = NPPNativeMethods.NPPi.ImageCompression.nppiQuantFwdRawTableInit_JPEG_8u(QuantRawTable, nQualityFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiQuantFwdRawTableInit_JPEG_8u", status));
			NPPException.CheckNppStatus(status, null);
		}
public static void QuantFwdRawTableInit ( byte [ ] QuantRawTable , int nQualityFactor ) { NppStatus status ; status = NPPNativeMethods . NPPi . ImageCompression . nppiQuantFwdRawTableInit_JPEG_8u ( QuantRawTable , nQualityFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , null ) ; }
Apply quality factor to raw 8-bit quantization table.
Apply quality factor to raw 8 - bit quantization table .
QuantRawTable
byte[]
Raw quantization table.
Raw quantization table .
nQualityFactor
int
Quality factor for the table.
Quality factor for the table .