diff options
Diffstat (limited to 'blocksplitter.h')
-rw-r--r-- | blocksplitter.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/blocksplitter.h b/blocksplitter.h index bb7b231..74b8d7e 100644 --- a/blocksplitter.h +++ b/blocksplitter.h @@ -41,10 +41,11 @@ dists: lz77 distances llsize: size of litlens and dists maxblocks: set a limit to the amount of blocks. Set to 0 to mean no limit. */ -void BlockSplitLZ77(const Options* options, - const unsigned short* litlens, const unsigned short* dists, - size_t llsize, size_t maxblocks, - size_t** splitpoints, size_t* npoints); +void ZopfliBlockSplitLZ77(const ZopfliOptions* options, + const unsigned short* litlens, + const unsigned short* dists, + size_t llsize, size_t maxblocks, + size_t** splitpoints, size_t* npoints); /* Does blocksplitting on uncompressed data. @@ -60,15 +61,17 @@ splitpoints: dynamic array to put the resulting split point coordinates into. npoints: pointer to amount of splitpoints, for the dynamic array. The amount of blocks is the amount of splitpoitns + 1. */ -void BlockSplit(const Options* options, - const unsigned char* in, size_t instart, size_t inend, - size_t maxblocks, size_t** splitpoints, size_t* npoints); +void ZopfliBlockSplit(const ZopfliOptions* options, + const unsigned char* in, size_t instart, size_t inend, + size_t maxblocks, size_t** splitpoints, size_t* npoints); /* Divides the input into equal blocks, does not even take LZ77 lengths into account. */ -void BlockSplitSimple(const unsigned char* in, size_t instart, size_t inend, - size_t blocksize, size_t** splitpoints, size_t* npoints); +void ZopfliBlockSplitSimple(const unsigned char* in, + size_t instart, size_t inend, + size_t blocksize, + size_t** splitpoints, size_t* npoints); #endif /* ZOPFLI_BLOCKSPLITTER_H_ */ |