13 #ifndef __LIBCHDR_LZMA_H__ 14 #define __LIBCHDR_LZMA_H__ 24 #define MAX_LZMA_ALLOCS 64 29 void *(*Alloc)(
void *
p,
size_t size);
lzma_allocator allocator
Definition: lzma.h:39
uint8_t * buffer
Definition: lzma.h:50
GLuint address
Definition: glext.h:10300
void(* FreeSz)(void *p, void *address, size_t size)
Definition: lzma.h:31
enum _chd_error chd_error
Definition: chd.h:280
GLsizeiptr size
Definition: glext.h:6559
chd_error lzma_codec_decompress(void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
Definition: libchdr_lzma.c:254
typedef void(__stdcall *PFN_DESTRUCTION_CALLBACK)(void *pData)
#define MAX_LZMA_ALLOCS
Definition: lzma.h:24
chd_error lzma_codec_init(void *codec, uint32_t hunkbytes)
Definition: libchdr_lzma.c:183
chd_error cdlz_codec_decompress(void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
Definition: libchdr_lzma.c:308
CLzmaDec decoder
Definition: lzma.h:38
GLenum src
Definition: glext.h:6980
GLfloat GLfloat p
Definition: glext.h:9809
Definition: libchdr_zlib.h:33
chd_error cdlz_codec_init(void *codec, uint32_t hunkbytes)
Definition: libchdr_lzma.c:273
void cdlz_codec_free(void *codec)
Definition: libchdr_lzma.c:296
void lzma_codec_free(void *codec)
Definition: libchdr_lzma.c:238
void(* Free)(void *p, void *address)
Definition: lzma.h:30
unsigned char uint8_t
Definition: stdint.h:124
uint32_t * allocptr[MAX_LZMA_ALLOCS]
Definition: lzma.h:32
lzma_codec_data base_decompressor
Definition: lzma.h:46
unsigned int uint32_t
Definition: stdint.h:126