Computes Huffman symbols statistics for the baseline encoding.
IppStatus ippiGetHuffmanStatistics8x8_JPEG_16s_C1(const Ipp16s* pSrc, int pDcStatistics[256], int pAcStatistics[256], Ipp16s* pLastDC);
pSrc |
Pointer to the 8x8 block of the quantized DCT coefficients. |
pDcStatistics |
Pointer to the Huffman symbols statistics buffer for the DC coefficients. |
pAcStatistics |
Pointer to the Huffman symbols statistics buffer for the AC coefficients. |
pLastDC |
Pointer to the DC coefficient of the previous 8x8 block. |
The function ippiGetHuffmanStatistics8x8_JPEG is declared in the ippj.h file. This function computes the statistics of Huffman symbols for an 8x8 block of the quantized DCT coefficients for the baseline encoding.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if one or both of the specified pointers are NULL. |
ippStsJPEGDCTRangeErr |
Indicates an error condition if a DCT coefficient is out of the allowed range (-1023..1023). |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.