#include <stdint.h>
#include <retro_common_api.h>
#include <boolean.h>
Go to the source code of this file.
|
bool | image_texture_set_color_shifts (unsigned *r_shift, unsigned *g_shift, unsigned *b_shift, unsigned *a_shift, struct texture_image *out_img) |
|
bool | image_texture_color_convert (unsigned r_shift, unsigned g_shift, unsigned b_shift, unsigned a_shift, struct texture_image *out_img) |
|
bool | image_texture_load (struct texture_image *img, const char *path) |
|
void | image_texture_free (struct texture_image *img) |
|
void | image_transfer_free (void *data, enum image_type_enum type) |
|
void * | image_transfer_new (enum image_type_enum type) |
|
bool | image_transfer_start (void *data, enum image_type_enum type) |
|
void | image_transfer_set_buffer_ptr (void *data, enum image_type_enum type, void *ptr) |
|
int | image_transfer_process (void *data, enum image_type_enum type, uint32_t **buf, size_t size, unsigned *width, unsigned *height) |
|
bool | image_transfer_iterate (void *data, enum image_type_enum type) |
|
bool | image_transfer_is_valid (void *data, enum image_type_enum type) |
|
◆ image_process_code
Enumerator |
---|
IMAGE_PROCESS_ERROR | |
IMAGE_PROCESS_ERROR_END | |
IMAGE_PROCESS_NEXT | |
IMAGE_PROCESS_END | |
◆ image_type_enum
Enumerator |
---|
IMAGE_TYPE_NONE | |
IMAGE_TYPE_PNG | |
IMAGE_TYPE_JPEG | |
IMAGE_TYPE_BMP | |
IMAGE_TYPE_TGA | |
◆ image_texture_color_convert()
bool image_texture_color_convert |
( |
unsigned |
r_shift, |
|
|
unsigned |
g_shift, |
|
|
unsigned |
b_shift, |
|
|
unsigned |
a_shift, |
|
|
struct texture_image * |
out_img |
|
) |
| |
◆ image_texture_free()
◆ image_texture_load()
◆ image_texture_set_color_shifts()
bool image_texture_set_color_shifts |
( |
unsigned * |
r_shift, |
|
|
unsigned * |
g_shift, |
|
|
unsigned * |
b_shift, |
|
|
unsigned * |
a_shift, |
|
|
struct texture_image * |
out_img |
|
) |
| |
◆ image_transfer_free()
◆ image_transfer_is_valid()
◆ image_transfer_iterate()
◆ image_transfer_new()
◆ image_transfer_process()
int image_transfer_process |
( |
void * |
data, |
|
|
enum image_type_enum |
type, |
|
|
uint32_t ** |
buf, |
|
|
size_t |
size, |
|
|
unsigned * |
width, |
|
|
unsigned * |
height |
|
) |
| |
◆ image_transfer_set_buffer_ptr()
◆ image_transfer_start()