include/bitshuffle/bitshuffle_internals.h File Reference
#include <stdlib.h>
#include "iochain.h"
Go to the source code of this file.
Defines |
| #define | BSHUF_MIN_RECOMMEND_BLOCK 128 |
| #define | BSHUF_BLOCKED_MULT 8 |
| #define | BSHUF_TARGET_BLOCK_SIZE_B 8192 |
| #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 long long | int64_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 BSHUF_BLOCKED_MULT 8 |
| #define BSHUF_MIN_RECOMMEND_BLOCK 128 |
| #define BSHUF_TARGET_BLOCK_SIZE_B 8192 |
| #define CHECK_ERR_FREE |
( |
count, |
|
|
buf |
|
) |
if (count < 0) { free(buf); return count; } |
Typedef Documentation
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 | |
|
) |
| | |