RetroArch
Classes | Enumerations | Functions
task_image.c File Reference
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <file/nbio.h>
#include <formats/image.h>
#include <compat/strl.h>
#include <string/stdstring.h>
#include <retro_miscellaneous.h>
#include "../gfx/video_driver.h"
#include "../file_path_special.h"
#include "../verbosity.h"
#include "tasks_internal.h"
Include dependency graph for task_image.c:

Classes

struct  nbio_image_handle
 

Enumerations

enum  image_status_enum { IMAGE_STATUS_TRANSFER = 0, IMAGE_STATUS_TRANSFER_PARSE, IMAGE_STATUS_PROCESS_TRANSFER, IMAGE_STATUS_PROCESS_TRANSFER_PARSE }
 

Functions

static int cb_image_menu_upload_generic (void *data, size_t len)
 
static int task_image_process (struct nbio_image_handle *image, unsigned *width, unsigned *height)
 
static int cb_image_menu_thumbnail (void *data, size_t len)
 
static int task_image_iterate_process_transfer (struct nbio_image_handle *image)
 
static void task_image_cleanup (nbio_handle_t *nbio)
 
static void task_image_load_free (retro_task_t *task)
 
static int cb_nbio_image_menu_thumbnail (void *data, size_t len)
 
bool task_image_load_handler (retro_task_t *task)
 
bool task_push_image_load (const char *fullpath, retro_task_callback_t cb, void *user_data)
 

Enumeration Type Documentation

◆ image_status_enum

Enumerator
IMAGE_STATUS_TRANSFER 
IMAGE_STATUS_TRANSFER_PARSE 
IMAGE_STATUS_PROCESS_TRANSFER 
IMAGE_STATUS_PROCESS_TRANSFER_PARSE 

Function Documentation

◆ cb_image_menu_thumbnail()

static int cb_image_menu_thumbnail ( void data,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cb_image_menu_upload_generic()

static int cb_image_menu_upload_generic ( void data,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cb_nbio_image_menu_thumbnail()

static int cb_nbio_image_menu_thumbnail ( void data,
size_t  len 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_image_cleanup()

static void task_image_cleanup ( nbio_handle_t nbio)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_image_iterate_process_transfer()

static int task_image_iterate_process_transfer ( struct nbio_image_handle image)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_image_load_free()

static void task_image_load_free ( retro_task_t task)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_image_load_handler()

bool task_image_load_handler ( retro_task_t task)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_image_process()

static int task_image_process ( struct nbio_image_handle image,
unsigned *  width,
unsigned *  height 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ task_push_image_load()

bool task_push_image_load ( const char *  fullpath,
retro_task_callback_t  cb,
void user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function: