/src/c-blosc2/blosc/shuffle-generic.c
Line | Count | Source (jump to first uncovered line) |
1 | | /********************************************************************* |
2 | | Blosc - Blocked Shuffling and Compression Library |
3 | | |
4 | | Copyright (c) 2021 Blosc Development Team <blosc@blosc.org> |
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 | | #include "shuffle-generic.h" |
12 | | |
13 | | /* Shuffle a block. This can never fail. */ |
14 | | void shuffle_generic(const int32_t bytesoftype, const int32_t blocksize, |
15 | 0 | const uint8_t *_src, uint8_t *_dest) { |
16 | | /* Non-optimized shuffle */ |
17 | 0 | shuffle_generic_inline(bytesoftype, 0, blocksize, _src, _dest); |
18 | 0 | } |
19 | | |
20 | | /* Unshuffle a block. This can never fail. */ |
21 | | void unshuffle_generic(const int32_t bytesoftype, const int32_t blocksize, |
22 | 7.68k | const uint8_t *_src, uint8_t *_dest) { |
23 | | /* Non-optimized unshuffle */ |
24 | 7.68k | unshuffle_generic_inline(bytesoftype, 0, blocksize, _src, _dest); |
25 | 7.68k | } |