Go to the source code of this file.
|
long | szip_compress_memory (int options_mask, int bits_per_pixel, int pixels_per_block, int pixels_per_scanline, const void *in, long pixels, char *out) |
|
long | szip_uncompress_memory (int new_options_mask, int new_bits_per_pixel, int new_pixels_per_block, int new_pixels_per_scanline, const char *in, long in_bytes, void *out, long out_pixels) |
|
int | szip_check_params (int bits_per_pixel, int pixels_per_block, int pixels_per_scanline, long image_pixels, char **msg) |
|
◆ SZ_ALLOW_K13_OPTION_MASK
#define SZ_ALLOW_K13_OPTION_MASK 1 |
◆ SZ_CHIP_OPTION_MASK
#define SZ_CHIP_OPTION_MASK 2 |
◆ SZ_EC_OPTION_MASK
#define SZ_EC_OPTION_MASK 4 |
◆ SZ_INIT_ERROR
#define SZ_INIT_ERROR (-3) |
◆ SZ_LSB_OPTION_MASK
#define SZ_LSB_OPTION_MASK 8 |
◆ SZ_MAX_BLOCKS_PER_SCANLINE
#define SZ_MAX_BLOCKS_PER_SCANLINE 128 |
◆ SZ_MAX_PIXELS_PER_BLOCK
#define SZ_MAX_PIXELS_PER_BLOCK 32 |
◆ SZ_MAX_PIXELS_PER_SCANLINE
◆ SZ_MEM_ERROR
#define SZ_MEM_ERROR (-2) |
◆ SZ_MSB_OPTION_MASK
#define SZ_MSB_OPTION_MASK 16 |
◆ SZ_NN_OPTION_MASK
#define SZ_NN_OPTION_MASK 32 |
◆ SZ_NO_ENCODER_ERROR
#define SZ_NO_ENCODER_ERROR (-5) |
◆ SZ_PARAM_ERROR
#define SZ_PARAM_ERROR (-4) |
◆ SZ_RAW_OPTION_MASK
#define SZ_RAW_OPTION_MASK 128 |
◆ SZ_STREAM_ERROR
#define SZ_STREAM_ERROR (-1) |
◆ szip_check_params()
int szip_check_params |
( |
int |
bits_per_pixel, |
|
|
int |
pixels_per_block, |
|
|
int |
pixels_per_scanline, |
|
|
long |
image_pixels, |
|
|
char ** |
msg |
|
) |
| |
◆ szip_compress_memory()
long szip_compress_memory |
( |
int |
options_mask, |
|
|
int |
bits_per_pixel, |
|
|
int |
pixels_per_block, |
|
|
int |
pixels_per_scanline, |
|
|
const void * |
in, |
|
|
long |
pixels, |
|
|
char * |
out |
|
) |
| |
◆ szip_uncompress_memory()
long szip_uncompress_memory |
( |
int |
new_options_mask, |
|
|
int |
new_bits_per_pixel, |
|
|
int |
new_pixels_per_block, |
|
|
int |
new_pixels_per_scanline, |
|
|
const char * |
in, |
|
|
long |
in_bytes, |
|
|
void * |
out, |
|
|
long |
out_pixels |
|
) |
| |
◆ szip_allow_encoding