/src/c-blosc/blosc/shuffle-generic.c
Line | Count | Source |
1 | | /********************************************************************* |
2 | | Blosc - Blocked Shuffling and Compression Library |
3 | | |
4 | | Author: Francesc Alted <francesc@blosc.org> |
5 | | |
6 | | See LICENSE.txt for details about copyright and rights to use. |
7 | | **********************************************************************/ |
8 | | |
9 | | #include "shuffle-generic.h" |
10 | | |
11 | | /* Shuffle a block. This can never fail. */ |
12 | | void blosc_internal_shuffle_generic(const size_t bytesoftype, const size_t blocksize, |
13 | | const uint8_t* const _src, uint8_t* const _dest) |
14 | 0 | { |
15 | | /* Non-optimized shuffle */ |
16 | 0 | shuffle_generic_inline(bytesoftype, 0, blocksize, _src, _dest); |
17 | 0 | } |
18 | | |
19 | | /* Unshuffle a block. This can never fail. */ |
20 | | void blosc_internal_unshuffle_generic(const size_t bytesoftype, const size_t blocksize, |
21 | | const uint8_t* const _src, uint8_t* const _dest) |
22 | 2.33k | { |
23 | | /* Non-optimized unshuffle */ |
24 | 2.33k | unshuffle_generic_inline(bytesoftype, 0, blocksize, _src, _dest); |
25 | 2.33k | } |