RetroArch
Classes | Macros | Typedefs | Functions
libchdr_zlib.h File Reference
#include <stdint.h>
#include <zlib.h>
#include "coretypes.h"
#include "chd.h"
Include dependency graph for libchdr_zlib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _zlib_allocator
 
struct  _zlib_codec_data
 
struct  _cdzl_codec_data
 

Macros

#define __LIBCHDR_ZLIB_H__
 
#define MAX_ZLIB_ALLOCS   64
 

Typedefs

typedef struct _zlib_allocator zlib_allocator
 
typedef struct _zlib_codec_data zlib_codec_data
 
typedef struct _cdzl_codec_data cdzl_codec_data
 

Functions

chd_error zlib_codec_init (void *codec, uint32_t hunkbytes)
 
void zlib_codec_free (void *codec)
 
chd_error zlib_codec_decompress (void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
 
voidpf zlib_fast_alloc (voidpf opaque, uInt items, uInt size)
 
void zlib_fast_free (voidpf opaque, voidpf address)
 
chd_error cdzl_codec_init (void *codec, uint32_t hunkbytes)
 
void cdzl_codec_free (void *codec)
 
chd_error cdzl_codec_decompress (void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
 

Macro Definition Documentation

◆ __LIBCHDR_ZLIB_H__

#define __LIBCHDR_ZLIB_H__

◆ MAX_ZLIB_ALLOCS

#define MAX_ZLIB_ALLOCS   64

Typedef Documentation

◆ cdzl_codec_data

◆ zlib_allocator

◆ zlib_codec_data

Function Documentation

◆ cdzl_codec_decompress()

chd_error cdzl_codec_decompress ( void codec,
const uint8_t src,
uint32_t  complen,
uint8_t dest,
uint32_t  destlen 
)
Here is the call graph for this function:

◆ cdzl_codec_free()

void cdzl_codec_free ( void codec)
Here is the call graph for this function:

◆ cdzl_codec_init()

chd_error cdzl_codec_init ( void codec,
uint32_t  hunkbytes 
)
Here is the call graph for this function:

◆ zlib_codec_decompress()

chd_error zlib_codec_decompress ( void codec,
const uint8_t src,
uint32_t  complen,
uint8_t dest,
uint32_t  destlen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zlib_codec_free()

void zlib_codec_free ( void codec)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zlib_codec_init()

chd_error zlib_codec_init ( void codec,
uint32_t  hunkbytes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zlib_fast_alloc()

voidpf zlib_fast_alloc ( voidpf  opaque,
uInt  items,
uInt  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ zlib_fast_free()

void zlib_fast_free ( voidpf  opaque,
voidpf  address 
)
Here is the caller graph for this function: