Decode progressive AC initial
FwStatus | fwiDecodeHuffman8x8_ACFirst_JPEG_1u16s_C1 | ( | const Fw8u * pSrc, int srcLenBytes, int * pSrcCurrPos, Fw16s * pDst, int * pMarker, int Ss, int Se, int Al, const FwiDecodeHuffmanSpec * pAcTable, FwiDecodeHuffmanState * pDecHuffState ); |
Al | Progressive JPEG successive approximation parameter for actual point transform. | |
Se | Progressive JPEG spectral selection end index. | |
Ss | Progressive JPEG spectral selection start index. | |
pAcTable | Pointer to the Huffman AC coefficient table. | |
pDecHuffState | Pointer to the FwiDecodeHuffmanState structure. | |
pDst | Pointer to a location in a destination buffer. | |
pMarker | Pointer to the JPEG marker position. | |
pSrc | Pointer to a location in a source buffer. | |
pSrcCurrPos | Pointer to the shift value at the current source buffer in bytes. | |
srcLenBytes | Source buffer length in bytes. |
This function performs the first scan for progressive decoding of the AC coefficients of an 8X8 data block.
The decoding process follows CCITT Rec. T.81, Annex G.2.2.
When the function detects a JPEG marker, it stops decoding and writes the marker to the location specified by pMarker.