#include "lz_optional.hpp"
template <int LEFT_BYTES = 64> static void lzFilter ( hls::stream <compressd_dt>& inStream, hls::stream <compressd_dt>& outStream, uint32_t input_size )
This module checks if match length exists, and if match length exists it filters the match length -1 characters writing to output stream.
Parameters:
| MATCH_LEN | length of matched segment |
| OFFSET_WINDOW | output window |
| inStream | input stream |
| outStream | output stream |
| input_size | input stream size |
| left_bytes | bytes left in block |