Rev | Line | |
---|
[981e22c] | 1 | /********************************************************************* |
---|
| 2 | Blosc - Blocked Shuffling and Compression Library |
---|
| 3 | |
---|
| 4 | Author: Francesc Alted <[email protected]> |
---|
| 5 | |
---|
| 6 | See LICENSES/BLOSC.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 shuffle_generic(const size_t bytesoftype, const size_t blocksize, |
---|
| 13 | const uint8_t* const _src, uint8_t* const _dest) |
---|
| 14 | { |
---|
| 15 | /* Non-optimized shuffle */ |
---|
| 16 | shuffle_generic_inline(bytesoftype, 0, blocksize, _src, _dest); |
---|
| 17 | } |
---|
| 18 | |
---|
| 19 | /* Unshuffle a block. This can never fail. */ |
---|
| 20 | void unshuffle_generic(const size_t bytesoftype, const size_t blocksize, |
---|
| 21 | const uint8_t* const _src, uint8_t* const _dest) |
---|
| 22 | { |
---|
| 23 | /* Non-optimized unshuffle */ |
---|
| 24 | unshuffle_generic_inline(bytesoftype, 0, blocksize, _src, _dest); |
---|
| 25 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.