source: icGREP/icgrep-devel/icgrep/lz4/LZ4GeneratorNew.h @ 5921

Last change on this file since 5921 was 5921, checked in by xwa163, 13 months ago
  1. Initial checkin for new approach for lz4 index decoder that always use 4MB buffer
  2. Add test case for new approach (for now test cases will fail when test file is larger than 4MB)
File size: 474 bytes
Line 
1
2
3#ifndef ICGREP_LZ4GENERATORNEW_H
4#define ICGREP_LZ4GENERATORNEW_H
5
6#include "LZ4Generator.h"
7
8class LZ4GeneratorNew: public LZ4Generator {
9public:
10    LZ4GeneratorNew();
11protected:
12    int get4MbBufferBlocks();
13    virtual int getInputBufferBlocks() override;
14    virtual int getDecompressedBufferBlocks() override;
15    virtual void generateExtractAndDepositMarkers(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
16};
17
18
19#endif //ICGREP_LZ4GENERATORNEW_H
Note: See TracBrowser for help on using the repository browser.