RetroArch
Classes | Enumerations | Functions | Variables
trans_stream.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <unistd.h>
#include <retro_miscellaneous.h>
#include <retro_common_api.h>
Include dependency graph for trans_stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  trans_stream_backend
 

Enumerations

enum  trans_stream_error {
  TRANS_STREAM_ERROR_NONE = 0, TRANS_STREAM_ERROR_AGAIN, TRANS_STREAM_ERROR_ALLOCATION_FAILURE, TRANS_STREAM_ERROR_INVALID,
  TRANS_STREAM_ERROR_BUFFER_FULL, TRANS_STREAM_ERROR_OTHER
}
 

Functions

bool trans_stream_trans_full (struct trans_stream_backend *backend, void **data, const uint8_t *in, uint32_t in_size, uint8_t *out, uint32_t out_size, enum trans_stream_error *error)
 
const struct trans_stream_backendtrans_stream_get_zlib_deflate_backend (void)
 
const struct trans_stream_backendtrans_stream_get_zlib_inflate_backend (void)
 
const struct trans_stream_backendtrans_stream_get_pipe_backend (void)
 

Variables

const struct trans_stream_backend zlib_deflate_backend
 
const struct trans_stream_backend zlib_inflate_backend
 
const struct trans_stream_backend pipe_backend
 

Enumeration Type Documentation

◆ trans_stream_error

Enumerator
TRANS_STREAM_ERROR_NONE 
TRANS_STREAM_ERROR_AGAIN 
TRANS_STREAM_ERROR_ALLOCATION_FAILURE 
TRANS_STREAM_ERROR_INVALID 
TRANS_STREAM_ERROR_BUFFER_FULL 
TRANS_STREAM_ERROR_OTHER 

Function Documentation

◆ trans_stream_get_pipe_backend()

const struct trans_stream_backend* trans_stream_get_pipe_backend ( void  )
Here is the caller graph for this function:

◆ trans_stream_get_zlib_deflate_backend()

const struct trans_stream_backend* trans_stream_get_zlib_deflate_backend ( void  )
Here is the caller graph for this function:

◆ trans_stream_get_zlib_inflate_backend()

const struct trans_stream_backend* trans_stream_get_zlib_inflate_backend ( void  )
Here is the caller graph for this function:

◆ trans_stream_trans_full()

bool trans_stream_trans_full ( struct trans_stream_backend backend,
void **  data,
const uint8_t in,
uint32_t  in_size,
uint8_t out,
uint32_t  out_size,
enum trans_stream_error error 
)

trans_stream_trans_full: : transcoding backend : (optional) existing stream data, or a target for the new stream data to be saved : input data : input size : output data : output size : (optional) output for error code

Perform a full transcoding from a source to a destination.

trans_stream_trans_full: : (optional) existing stream data, or a target for the new stream data to be saved : input data : input size : output data : output size : (optional) output for error code

Perform a full transcoding from a source to a destination.

Here is the call graph for this function:

Variable Documentation

◆ pipe_backend

const struct trans_stream_backend pipe_backend

◆ zlib_deflate_backend

const struct trans_stream_backend zlib_deflate_backend

◆ zlib_inflate_backend

const struct trans_stream_backend zlib_inflate_backend