RetroArch
Macros | Functions
libchdr_lzma.c File Reference
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libchdr/chd.h>
#include <libchdr/minmax.h>
#include <libchdr/cdrom.h>
#include <libchdr/lzma.h>
#include <libchdr/huffman.h>
#include <zlib.h>
#include <retro_inline.h>
#include <streams/file_stream.h>
Include dependency graph for libchdr_lzma.c:

Macros

#define TRUE   1
 
#define FALSE   0
 

Functions

static voidlzma_fast_alloc (void *p, size_t size)
 
static void lzma_fast_free (void *p, void *address)
 
void lzma_allocator_init (void *p)
 
void lzma_allocator_free (void *p)
 
chd_error lzma_codec_init (void *codec, uint32_t hunkbytes)
 
void lzma_codec_free (void *codec)
 
chd_error lzma_codec_decompress (void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
 
chd_error cdlz_codec_init (void *codec, uint32_t hunkbytes)
 
void cdlz_codec_free (void *codec)
 
chd_error cdlz_codec_decompress (void *codec, const uint8_t *src, uint32_t complen, uint8_t *dest, uint32_t destlen)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

◆ TRUE

#define TRUE   1

Function Documentation

◆ cdlz_codec_decompress()

chd_error cdlz_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:

◆ cdlz_codec_free()

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

◆ cdlz_codec_init()

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

◆ lzma_allocator_free()

void lzma_allocator_free ( void p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lzma_allocator_init()

void lzma_allocator_init ( void p)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lzma_codec_decompress()

chd_error lzma_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:

◆ lzma_codec_free()

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

◆ lzma_codec_init()

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

◆ lzma_fast_alloc()

static void* lzma_fast_alloc ( void p,
size_t  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lzma_fast_free()

static void lzma_fast_free ( void p,
void address 
)
static
Here is the caller graph for this function: