Debian Codegraph @

src/c-blosc2/blosc/delta.h

raw
1 /*********************************************************************
2 Blosc - Blocked Shuffling and Compression Library
3
4 Copyright (c) 2021 Blosc Development Team <[email protected]>
5 https://blosc.org
6 License: BSD 3-Clause (see LICENSE.txt)
7
8 See LICENSE.txt for details about copyright and rights to use.
9 **********************************************************************/
10
11 #ifndef BLOSC_DELTA_H
12 #define BLOSC_DELTA_H
13
14 #include <stdint.h>
15
16 void delta_encoder(const uint8_t* dref, int32_t offset, int32_t nbytes,
17 int32_t typesize, const uint8_t* src, uint8_t* dest);
18
19 void delta_decoder(const uint8_t* dref, int32_t offset, int32_t nbytes,
20 int32_t typesize, uint8_t* dest);
21
22 #endif /* BLOSC_DELTA_H */