Computes Huffman symbols statistics for the progressive encoding (AC coefficients, subsequent scans).
IppStatus ippiGetHuffmanStatistics8x8_ACRefine_JPEG_16s_C1(const Ipp16s* pSrc, int pAcStatistics [256], int Ss, int Se, int Al, IppiEncodeHuffmanState* pEncHuffState, int bFlushState);
pSrc |
Pointer to the 8x8 block of the quantized DCT coefficients. |
pAcStatistics |
Pointer to the Huffman symbols statistics buffer for the AC coefficients. |
Ss |
Spectral selection start index. |
Se |
Spectral selection end index. |
Al |
Successive approximation bit positions low, it specifies the actual point transform. |
pEncHuffState |
Pointer to the IppiEncodeHuffmanState structure. |
bFlushState |
Set to 1 for the last 8x8 block in the scan. |
The function ippiGetHuffmanStatistics8x8_ACRefine_JPEG is declared in the ippj.h file. This function computes the Huffman symbols statistics for an 8x8 block of the quantized DCT coefficients for progressive encoding, the subsequent scans, AC coefficients.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if one or all of the specified pointers are NULL. |
ippStsJPEGOutOfBufErr |
Indicates an error condition if the buffer limits are exceeded. |
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.