libdragon
Loading...
Searching...
No Matches
shrinkler_dec_internal.h
1#ifndef LIBDRAGON_COMPRESS_SHRINKLER_DEC_INTERNAL_H
2#define LIBDRAGON_COMPRESS_SHRINKLER_DEC_INTERNAL_H
3
5#ifdef N64
6#define DECOMPRESS_SHRINKLER_FULL_USE_ASM 1
7#else
8#define DECOMPRESS_SHRINKLER_FULL_USE_ASM 0
9#endif
10
14#define DECOMPRESS_SHRINKLER_STATE_SIZE 512
15
16#if DECOMPRESS_SHRINKLER_FULL_USE_ASM
17int decompress_shrinkler_full_inplace(const uint8_t* in, size_t cmp_size, uint8_t *out, size_t size);
18#else
28void* decompress_shrinkler_full(const char *fn, int fd, size_t cmp_size, size_t size);
29#endif
30
31#endif
32