huffmanDecoderLL - 2024.2 English

Vitis Libraries

Release Date
2024-11-29
Version
2024.2 English
#include "huffman_decoder.hpp"
template <
    eHuffmanType DECODER = FULL,
    FileFormat FORMAT = BOTH
    >
void huffmanDecoderLL (
    hls::stream <ap_uint <16>>& inStream,
    hls::stream <bool>& inEos,
    hls::stream <ap_uint <16>>& outStream
    )

This module is ZLIB/GZIP Fixed, Dynamic and Stored block supported decoder. It takes ZLIB/GZIP Huffman encoded data as input and generates decoded data in LZ77 format (Literal, Length, Offset).

Parameters:

DECODER Fixed, Full, Dynamic huffman block support
FORMAT switch that controls GZIP/ZLIB header processing
inStream input bit packed data
inEos input bit to mark end of file
outStream output bytes for LZ module (Literal, Length, Offset)
checkSum support checksum in gzip decompress