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
11#define DECOMPRESS_SHRINKLER_STATE_SIZE 512
12
13#if DECOMPRESS_SHRINKLER_FULL_USE_ASM
14int decompress_shrinkler_full_inplace(const uint8_t* in, size_t cmp_size, uint8_t *out, size_t size);
15#else
16void* decompress_shrinkler_full(const char *fn, int fd, size_t cmp_size, size_t size);
17#endif
18
19#endif
20