13 #ifndef __LIBCHDR_ZLIB_H__ 14 #define __LIBCHDR_ZLIB_H__ 22 #define MAX_ZLIB_ALLOCS 64 zlib_allocator allocator
Definition: libchdr_zlib.h:36
#define MAX_ZLIB_ALLOCS
Definition: libchdr_zlib.h:22
z_stream inflater
Definition: libchdr_zlib.h:35
GLuint address
Definition: glext.h:10300
enum _chd_error chd_error
Definition: chd.h:280
GLsizeiptr size
Definition: glext.h:6559
void zlib_codec_free(void *codec)
Definition: libchdr_zlib.c:185
Byte FAR * voidpf
Definition: zconf.h:353
Definition: libchdr_zlib.h:42
voidpf zlib_fast_alloc(voidpf opaque, uInt items, uInt size)
Definition: libchdr_zlib.c:240
UINT32 * allocptr[MAX_ZLIB_ALLOCS]
Definition: libchdr_zlib.h:29
chd_error zlib_codec_decompress(void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
Definition: libchdr_zlib.c:210
GLenum src
Definition: glext.h:6980
Definition: libchdr_zlib.h:33
chd_error cdzl_codec_init(void *codec, uint32_t hunkbytes)
Definition: libchdr_zlib.c:60
uint32_t UINT32
Definition: coretypes.h:10
Definition: libchdr_zlib.h:27
zlib_codec_data base_decompressor
Definition: libchdr_zlib.h:44
void zlib_fast_free(voidpf opaque, voidpf address)
Definition: libchdr_zlib.c:284
uint8_t * buffer
Definition: libchdr_zlib.h:48
unsigned int uInt
Definition: zconf.h:333
chd_error cdzl_codec_decompress(void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
Definition: libchdr_zlib.c:98
unsigned char uint8_t
Definition: stdint.h:124
unsigned int uint32_t
Definition: stdint.h:126
void cdzl_codec_free(void *codec)
Definition: libchdr_zlib.c:86
chd_error zlib_codec_init(void *codec, uint32_t hunkbytes)
Definition: libchdr_zlib.c:152