src/bitshuffle/bitshuffle_internals.h File Reference

#include <stdlib.h>
#include "iochain.h"

Go to the source code of this file.

Defines

#define CHECK_ERR_FREE(count, buf)   if (count < 0) { free(buf); return count; }

Typedefs

typedef unsigned char uint8_t
typedef unsigned short uint16_t
typedef unsigned int uint32_t
typedef signed int int32_t
typedef unsigned long long uint64_t
typedef int64_t(* bshufBlockFunDef )(ioc_chain *C_ptr, const size_t size, const size_t elem_size)

Functions

int64_t bshuf_trans_bit_elem (const void *in, void *out, const size_t size, const size_t elem_size)
uint32_t bshuf_read_uint32_BE (const void *buf)
void bshuf_write_uint32_BE (void *buf, uint32_t num)
int64_t bshuf_untrans_bit_elem (const void *in, void *out, const size_t size, const size_t elem_size)
int64_t bshuf_blocked_wrap_fun (bshufBlockFunDef fun, const void *in, void *out, const size_t size, const size_t elem_size, size_t block_size)

Define Documentation

#define CHECK_ERR_FREE ( count,
buf   )     if (count < 0) { free(buf); return count; }

Typedef Documentation

typedef int64_t(* bshufBlockFunDef)(ioc_chain *C_ptr, const size_t size, const size_t elem_size)
typedef signed int int32_t
typedef unsigned short uint16_t
typedef unsigned int uint32_t
typedef unsigned long long uint64_t
typedef unsigned char uint8_t

Function Documentation

int64_t bshuf_blocked_wrap_fun ( bshufBlockFunDef  fun,
const void *  in,
void *  out,
const size_t  size,
const size_t  elem_size,
size_t  block_size 
)
uint32_t bshuf_read_uint32_BE ( const void *  buf  ) 
int64_t bshuf_trans_bit_elem ( const void *  in,
void *  out,
const size_t  size,
const size_t  elem_size 
)
int64_t bshuf_untrans_bit_elem ( const void *  in,
void *  out,
const size_t  size,
const size_t  elem_size 
)
void bshuf_write_uint32_BE ( void *  buf,
uint32_t  num 
)

Generated on 28 May 2018 for CAFE by  doxygen 1.6.1