libdragon
Loading...
Searching...
No Matches
src
compress
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
21
int
decompress_shrinkler_full_inplace(
const
uint8_t* in,
size_t
cmp_size, uint8_t *out,
size_t
size);
22
#else
32
void
*
decompress_shrinkler_full
(
const
char
*fn,
int
fd,
size_t
cmp_size,
size_t
size);
33
#endif
34
35
#endif
36
decompress_shrinkler_full
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
Generated on Mon Aug 4 2025 07:24:05 for libdragon by
1.9.8