GetHuffmanStatistics8x8_DCFirst_JPEG

Computes Huffman symbols statistics for the progressive encoding (DC coefficients).

Syntax

IppStatus ippiGetHuffmanStatistics8x8_DCFirst_JPEG_16s_C1(const Ipp16s* pSrc, int pDcStatistics[256], Ipp16s* pLastDC, int Al);

Parameters

pSrc

Pointer to the 8x8 block of the quantized DCT coefficients.

pDcStatistics

Pointer to the Huffman symbols statistics buffer for the DC coefficients.

pLastDC

Pointer to the DC coefficient of the previous 8x8 block.

Al

Successive approximation bit position low, it specifies the actual point transform.

Description

The function ippiGetHuffmanStatistics8x8_DCFirst_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 first scan, DC coefficients.

Return Values

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).

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.