Performs progressive decoding of the AC coefficients from an 8x8 block of the quantized DCT coefficients (first scan).
IppStatus ippiDecodeHuffman8x8_ACFirst_JPEG_1u16s_C1(const Ipp8u* pSrc, int srcLenBytes, int* pSrcCurrPos, Ipp16s* pDst, int* pMarker, int Ss, int Se, int Al, IppiDecodeHuffmanSpec* pAcTable, IppiDecodeHuffmanState* pDecHuffState);
pSrc |
Pointer to the buffer with the JPEG bit stream. |
srcLenBytes |
Length in bytes of the buffer for the bit stream. |
pSrcCurrPos |
Shift in bytes of the current byte in the buffer. |
pDst |
Pointer to the 8x8 block of the quantized DCT coefficients. |
pMarker |
Pointer to a variable that will receive JPEG marker detected during decoding. |
Ss |
Spectral selection start index. |
Se |
Spectral selection end index. |
Al |
Successive approximation bit positions low, it specifies the actual point transform. |
pAcTable |
Pointer to the Huffman table for the AC coefficients. |
pDecHuffState |
Pointer to the IppiDecodeHuffmanState structure. |
The function ippiDecodeHuffman8x8_ACFirst_JPEG is declared in the ippj.h file. This function decodes AC coefficients from an 8x8 block of the quantized DCT coefficients, progressive mode, the first scan, using pAcTable table. The decoding procedure conforms to [ISO10918], Annex G.2, Progressive Decoding of the DCT . If a JPEG marker is detected during decoding, the function stops decoding and writes the marker to a location indicated by pMarker.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if one or all of the specified pointers are NULL. |
ippStsJPEGDCTRangeErr |
Indicates an error condition if the DCT coefficient is out of the allowed range (-1023..1023). |
ippStsJPEGOutOfBufErr |
Indicates an error condition if the buffer limits are exceeded. |
ippStsJPEGMarkerWarn |
Indicates a warning if a JPEG marker is detected. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.