source: thirdparty/blosc/shuffle-generic.c @ 981e22c

Revision 981e22c, 915 bytes checked in by Hal Finkel <hfinkel@…>, 8 years ago (diff)

Upgrade to latest blosc library

blosc git: e394f327ccc78319d90a06af0b88bce07034b8dd

  • Property mode set to 100644
Line 
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. */
12void 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. */
20void 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.