Performs Huffman baseline decoding of 8x8 block of the quantized DCT Coefficients.
IppStatus ippiDecodeHuffman8x8_JPEG_1u16s_C1(const Ipp8u* pSrc, int srcLenBytes, int* pSrcCurrPos, Ipp16s* pDst, Ipp16s* pLastDC, int* pMarker, const IppiDecodeHuffmanSpec* pDcTable, const IppiDecodeHuffmanSpec* pAcTable, IppiDecodeHuffmanState* pDecHuffState);
pSrc |
Pointer to the source 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. |
pLastDC |
Pointer to the DC coefficient of the previous 8x8 block. |
pMarker |
Pointer to a variable that will receive JPEG marker detected during decoding. |
pDcTable |
Pointer to the Huffman table for the DC coefficients. |
pAcTable |
Pointer to the Huffman table for the AC coefficients. |
pDecHuffState |
Pointer to the IppiDecodeHuffmanState structure. |
The function ippiDecodeHuffman8x8_JPEG is declared in the ippj.h file. This function decodes an 8x8 block of the quantized DCT coefficients using pDcTable and pAcTable tables. The decoding procedure conforms to [ISO10918], Annex F.2.2, Baseline Huffman Decoding Procedures. 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 of the specified pointers is NULL. |
ippStsSizeErr |
Indicate an error condition if srcLenBytes has a zero or negative value, or pSrcCurrPos is out of srcLenBytes limit. |
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.