Debian Codegraph @

src/c-blosc2/blosc/trunc-prec.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_TRUNC_PREC_H
12 #define BLOSC_TRUNC_PREC_H
13
14 #include <stdint.h>
15
16 int truncate_precision(int8_t prec_bits, int32_t typesize, int32_t nbytes,
17 const uint8_t* src, uint8_t* dest);
18
19 #endif /* BLOSC_TRUNC_PREC_H */