44 #define SZ_ALLOW_K13_OPTION_MASK 1 45 #define SZ_CHIP_OPTION_MASK 2 46 #define SZ_EC_OPTION_MASK 4 47 #define SZ_LSB_OPTION_MASK 8 48 #define SZ_MSB_OPTION_MASK 16 49 #define SZ_NN_OPTION_MASK 32 50 #define SZ_RAW_OPTION_MASK 128 52 #define SZ_STREAM_ERROR (-1) 53 #define SZ_MEM_ERROR (-2) 54 #define SZ_INIT_ERROR (-3) 55 #define SZ_PARAM_ERROR (-4) 56 #define SZ_NO_ENCODER_ERROR (-5) 58 #define SZ_MAX_BLOCKS_PER_SCANLINE 128 59 #define SZ_MAX_PIXELS_PER_BLOCK 32 60 #define SZ_MAX_PIXELS_PER_SCANLINE (SZ_MAX_BLOCKS_PER_SCANLINE)*(SZ_MAX_PIXELS_PER_BLOCK) 66 int pixels_per_scanline,
73 int new_bits_per_pixel,
74 int new_pixels_per_block,
75 int new_pixels_per_scanline,
84 int pixels_per_scanline,
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)
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)
int szip_check_params(int bits_per_pixel, int pixels_per_block, int pixels_per_scanline, long image_pixels, char **msg)