Encode data block without bit accumulation


FwStatus   fwiEncodeHuffman8x8_Direct_JPEG_16s1u_C1 ( const Fw16s * pSrcFw8u * pDstint * pDstBitsLenFw16s * pLastDCconst FwiEncodeHuffmanSpec * pDcTableconst FwiEncodeHuffmanSpec * pAcTable );


pAcTable   Pointer to the Huffman AC coefficient table.
pDcTable   Pointer to the Huffman DC coefficient table.
pDst   Pointer to a location in a destination buffer.
pDstBitsLen   Pointer to destination buffer length in bits.
pLastDC   Pointer to the last DC coefficient, which is in the previous 8X8 block.
pSrc   Pointer to a location in a source buffer.


This function performs direct Huffman baseline encoding of an 8X8 data block of quantized DCT coefficients using the DC and AC encoding tables.

The encoding process follows CCITT Rec. T.81, Annex F.1.2. The function writes only full bytes to the output buffer.

Incomplete bits from data blocks are not accumulated in the Huffman encode state structure.