libdragon
Loading...
Searching...
No Matches
shrinkler_dec_internal.h
Go to the documentation of this file.
1
5#ifndef LIBDRAGON_COMPRESS_SHRINKLER_DEC_INTERNAL_H
6#define LIBDRAGON_COMPRESS_SHRINKLER_DEC_INTERNAL_H
7
9#ifdef N64
10#define DECOMPRESS_SHRINKLER_FULL_USE_ASM 1
11#else
12#define DECOMPRESS_SHRINKLER_FULL_USE_ASM 0
13#endif
14
18#define DECOMPRESS_SHRINKLER_STATE_SIZE 512
19
20#if DECOMPRESS_SHRINKLER_FULL_USE_ASM
21int decompress_shrinkler_full_inplace(const uint8_t* in, size_t cmp_size, uint8_t *out, size_t size);
22#else
32void* decompress_shrinkler_full(const char *fn, int fd, size_t cmp_size, size_t size);
33#endif
34
35#endif
36
void * decompress_shrinkler_full(const char *fn, int fd, size_t cmp_size, size_t size)
Decompress a full Shrinkler-compressed file into a buffer.
Definition shrinkler_dec.c:188