RetroArch
Typedefs | Enumerations | Functions
rbmp.h File Reference
#include <retro_common_api.h>
#include <boolean.h>
Include dependency graph for rbmp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct rbmp rbmp_t
 

Enumerations

enum  rbmp_source_type {
  RBMP_SOURCE_TYPE_DONT_CARE, RBMP_SOURCE_TYPE_BGR24, RBMP_SOURCE_TYPE_XRGB888, RBMP_SOURCE_TYPE_RGB565,
  RBMP_SOURCE_TYPE_ARGB8888
}
 

Functions

bool rbmp_save_image (const char *filename, const void *frame, unsigned width, unsigned height, unsigned pitch, enum rbmp_source_type type)
 
int rbmp_process_image (rbmp_t *rbmp, void **buf, size_t size, unsigned *width, unsigned *height)
 
bool rbmp_set_buf_ptr (rbmp_t *rbmp, void *data)
 
void rbmp_free (rbmp_t *rbmp)
 
rbmp_trbmp_alloc (void)
 

Typedef Documentation

◆ rbmp_t

typedef struct rbmp rbmp_t

Enumeration Type Documentation

◆ rbmp_source_type

Enumerator
RBMP_SOURCE_TYPE_DONT_CARE 
RBMP_SOURCE_TYPE_BGR24 
RBMP_SOURCE_TYPE_XRGB888 
RBMP_SOURCE_TYPE_RGB565 
RBMP_SOURCE_TYPE_ARGB8888 

Function Documentation

◆ rbmp_alloc()

rbmp_t* rbmp_alloc ( void  )
Here is the caller graph for this function:

◆ rbmp_free()

void rbmp_free ( rbmp_t rbmp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rbmp_process_image()

int rbmp_process_image ( rbmp_t rbmp,
void **  buf,
size_t  size,
unsigned *  width,
unsigned *  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rbmp_save_image()

bool rbmp_save_image ( const char *  filename,
const void frame,
unsigned  width,
unsigned  height,
unsigned  pitch,
enum rbmp_source_type  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rbmp_set_buf_ptr()

bool rbmp_set_buf_ptr ( rbmp_t rbmp,
void data 
)
Here is the caller graph for this function: