121constexpr u8 Signature = 0x77;
130 std::shared_ptr<Pipe::CPipe> _pipe_in = std::make_shared<Pipe::CNullPipe>();
131 std::shared_ptr<Pipe::CPipe> _pipe_out = std::make_shared<Pipe::CNullPipe>();
132 void _Output(std::shared_ptr<Pipe::CPipe> pipe_mem_huf_packed_);
140 void SetIn(std::shared_ptr<Pipe::CPipe> pipe_in_);
147 void SetOut(std::shared_ptr<Pipe::CPipe> pipe_out_);
162 std::shared_ptr< Pipe::CPipe > _pipe_in = std::make_shared< Pipe::CNullPipe >();
163 std::shared_ptr< Pipe::CPipe > _pipe_out = std::make_shared< Pipe::CNullPipe >();
171 DECODE_ERR_INVALID_SIGNATURE,
188 void SetIn ( std::shared_ptr< Pipe::CPipe > pipe_in_ );
195 void SetOut( std::shared_ptr< Pipe::CPipe > pipe_out_ );
Class for Huffman decoding.
Definition huffman.h:161
void SetIn(std::shared_ptr< Pipe::CPipe > pipe_in_)
Sets the input pipe for the decoder.
Definition huffman.cpp:609
CHuffmanDecoder::DecodeResult Decode()
Performs Huffman decoding on the input data.
Definition huffman.cpp:540
DecodeResult
Enumeration for the result of the decoding process.
Definition huffman.h:169
void SetOut(std::shared_ptr< Pipe::CPipe > pipe_out_)
Sets the output pipe for the decoder.
Definition huffman.cpp:613
Class for Huffman encoding.
Definition huffman.h:129
void SetIn(std::shared_ptr< Pipe::CPipe > pipe_in_)
Sets the input pipe for the encoder.
Definition huffman.cpp:342
void SetOut(std::shared_ptr< Pipe::CPipe > pipe_out_)
Sets the output pipe for the encoder.
Definition huffman.cpp:346
void Encode()
Performs Huffman encoding on the input data.
Definition huffman.cpp:357
Module for data pipeline processing using pipes.
@ Huffman
Huffman encoding only.
Definition zpack.h:77