shuffle-sse2.h 976 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*********************************************************************
  2. Blosc - Blocked Shuffling and Compression Library
  3. Author: Francesc Alted <francesc@blosc.org>
  4. See LICENSES/BLOSC.txt for details about copyright and rights to use.
  5. **********************************************************************/
  6. /* SSE2-accelerated shuffle/unshuffle routines. */
  7. #ifndef SHUFFLE_SSE2_H
  8. #define SHUFFLE_SSE2_H
  9. #include "shuffle-common.h"
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /**
  14. SSE2-accelerated shuffle routine.
  15. */
  16. BLOSC_NO_EXPORT void shuffle_sse2(const size_t bytesoftype, const size_t blocksize,
  17. const uint8_t* const _src, uint8_t* const _dest);
  18. /**
  19. SSE2-accelerated unshuffle routine.
  20. */
  21. BLOSC_NO_EXPORT void unshuffle_sse2(const size_t bytesoftype, const size_t blocksize,
  22. const uint8_t* const _src, uint8_t* const _dest);
  23. #ifdef __cplusplus
  24. }
  25. #endif
  26. #endif /* SHUFFLE_SSE2_H */