#include <stdint.h>
#include <stddef.h>
#include <retro_common_api.h>
#include <boolean.h>
Go to the source code of this file.
|
typedef typedefRETRO_BEGIN_DECLS struct rpng | rpng_t |
|
|
rpng_t * | rpng_init (const char *path) |
|
bool | rpng_is_valid (rpng_t *rpng) |
|
bool | rpng_set_buf_ptr (rpng_t *rpng, void *data) |
|
rpng_t * | rpng_alloc (void) |
|
void | rpng_free (rpng_t *rpng) |
|
bool | rpng_iterate_image (rpng_t *rpng) |
|
int | rpng_process_image (rpng_t *rpng, void **data, size_t size, unsigned *width, unsigned *height) |
|
bool | rpng_start (rpng_t *rpng) |
|
bool | rpng_save_image_argb (const char *path, const uint32_t *data, unsigned width, unsigned height, unsigned pitch) |
|
bool | rpng_save_image_bgr24 (const char *path, const uint8_t *data, unsigned width, unsigned height, unsigned pitch) |
|
◆ rpng_t
typedef typedefRETRO_BEGIN_DECLS struct rpng rpng_t |
◆ rpng_alloc()
◆ rpng_free()
◆ rpng_init()
◆ rpng_is_valid()
◆ rpng_iterate_image()
◆ rpng_process_image()
int rpng_process_image |
( |
rpng_t * |
rpng, |
|
|
void ** |
data, |
|
|
size_t |
size, |
|
|
unsigned * |
width, |
|
|
unsigned * |
height |
|
) |
| |
◆ rpng_save_image_argb()
bool rpng_save_image_argb |
( |
const char * |
path, |
|
|
const uint32_t * |
data, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
unsigned |
pitch |
|
) |
| |
◆ rpng_save_image_bgr24()
bool rpng_save_image_bgr24 |
( |
const char * |
path, |
|
|
const uint8_t * |
data, |
|
|
unsigned |
width, |
|
|
unsigned |
height, |
|
|
unsigned |
pitch |
|
) |
| |
◆ rpng_set_buf_ptr()
◆ rpng_start()