RetroArch
Classes | Functions | Variables
trans_stream_zlib.c File Reference
#include <stdlib.h>
#include <string.h>
#include <compat/zlib.h>
#include <string/stdstring.h>
#include <streams/trans_stream.h>
Include dependency graph for trans_stream_zlib.c:

Classes

struct  zlib_trans_stream
 

Functions

static voidzlib_deflate_stream_new (void)
 
static voidzlib_inflate_stream_new (void)
 
static void zlib_deflate_stream_free (void *data)
 
static void zlib_inflate_stream_free (void *data)
 
static bool zlib_deflate_define (void *data, const char *prop, uint32_t val)
 
static bool zlib_inflate_define (void *data, const char *prop, uint32_t val)
 
static void zlib_deflate_set_in (void *data, const uint8_t *in, uint32_t in_size)
 
static void zlib_inflate_set_in (void *data, const uint8_t *in, uint32_t in_size)
 
static void zlib_set_out (void *data, uint8_t *out, uint32_t out_size)
 
static bool zlib_deflate_trans (void *data, bool flush, uint32_t *rd, uint32_t *wn, enum trans_stream_error *error)
 
static bool zlib_inflate_trans (void *data, bool flush, uint32_t *rd, uint32_t *wn, enum trans_stream_error *error)
 

Variables

const struct trans_stream_backend zlib_deflate_backend
 
const struct trans_stream_backend zlib_inflate_backend
 

Function Documentation

◆ zlib_deflate_define()

static bool zlib_deflate_define ( void data,
const char *  prop,
uint32_t  val 
)
static
Here is the call graph for this function:

◆ zlib_deflate_set_in()

static void zlib_deflate_set_in ( void data,
const uint8_t in,
uint32_t  in_size 
)
static

◆ zlib_deflate_stream_free()

static void zlib_deflate_stream_free ( void data)
static
Here is the call graph for this function:

◆ zlib_deflate_stream_new()

static void* zlib_deflate_stream_new ( void  )
static

◆ zlib_deflate_trans()

static bool zlib_deflate_trans ( void data,
bool  flush,
uint32_t rd,
uint32_t wn,
enum trans_stream_error error 
)
static
Here is the call graph for this function:

◆ zlib_inflate_define()

static bool zlib_inflate_define ( void data,
const char *  prop,
uint32_t  val 
)
static
Here is the call graph for this function:

◆ zlib_inflate_set_in()

static void zlib_inflate_set_in ( void data,
const uint8_t in,
uint32_t  in_size 
)
static

◆ zlib_inflate_stream_free()

static void zlib_inflate_stream_free ( void data)
static
Here is the call graph for this function:

◆ zlib_inflate_stream_new()

static void* zlib_inflate_stream_new ( void  )
static

◆ zlib_inflate_trans()

static bool zlib_inflate_trans ( void data,
bool  flush,
uint32_t rd,
uint32_t wn,
enum trans_stream_error error 
)
static
Here is the call graph for this function:

◆ zlib_set_out()

static void zlib_set_out ( void data,
uint8_t out,
uint32_t  out_size 
)
static

Variable Documentation

◆ zlib_deflate_backend

const struct trans_stream_backend zlib_deflate_backend
Initial value:
= {
"zlib_deflate",
}
static void zlib_deflate_stream_free(void *data)
Definition: trans_stream_zlib.c:55
static void zlib_set_out(void *data, uint8_t *out, uint32_t out_size)
Definition: trans_stream_zlib.c:133
const struct trans_stream_backend zlib_inflate_backend
Definition: trans_stream_zlib.c:281
static void zlib_deflate_set_in(void *data, const uint8_t *in, uint32_t in_size)
Definition: trans_stream_zlib.c:100
static bool zlib_deflate_trans(void *data, bool flush, uint32_t *rd, uint32_t *wn, enum trans_stream_error *error)
Definition: trans_stream_zlib.c:144
static void * zlib_deflate_stream_new(void)
Definition: trans_stream_zlib.c:37
static bool zlib_deflate_define(void *data, const char *prop, uint32_t val)
Definition: trans_stream_zlib.c:76

◆ zlib_inflate_backend

const struct trans_stream_backend zlib_inflate_backend
Initial value:
= {
"zlib_inflate",
}
static void * zlib_inflate_stream_new(void)
Definition: trans_stream_zlib.c:46
static void zlib_inflate_stream_free(void *data)
Definition: trans_stream_zlib.c:65
static void zlib_set_out(void *data, uint8_t *out, uint32_t out_size)
Definition: trans_stream_zlib.c:133
const struct trans_stream_backend zlib_deflate_backend
Definition: trans_stream_zlib.c:270
static void zlib_inflate_set_in(void *data, const uint8_t *in, uint32_t in_size)
Definition: trans_stream_zlib.c:117
static bool zlib_inflate_define(void *data, const char *prop, uint32_t val)
Definition: trans_stream_zlib.c:88
static bool zlib_inflate_trans(void *data, bool flush, uint32_t *rd, uint32_t *wn, enum trans_stream_error *error)
Definition: trans_stream_zlib.c:207