RetroArch
Macros | Functions | Variables
image_core.c File Reference
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <boolean.h>
#include <lists/dir_list.h>
#include <file/file_path.h>
#include <compat/strl.h>
#include <retro_environment.h>
#include <streams/file_stream.h>
#include <formats/image.h>
#include <libretro.h>
Include dependency graph for image_core.c:

Macros

#define IMAGE_CORE_PREFIX(s)   s
 

Functions

static retro_log_printf_t IMAGE_CORE_PREFIX (log_cb)
 
static retro_video_refresh_t IMAGE_CORE_PREFIX (video_cb)
 
static retro_input_poll_t IMAGE_CORE_PREFIX (input_poll_cb)
 
static retro_input_state_t IMAGE_CORE_PREFIX (input_state_cb)
 
static retro_audio_sample_batch_t IMAGE_CORE_PREFIX (audio_batch_cb)
 
static retro_environment_t IMAGE_CORE_PREFIX (environ_cb)
 
static const char * IMAGE_CORE_PREFIX (valid_extensions)
 
void IMAGE_CORE_PREFIX() retro_get_system_info (struct retro_system_info *info)
 
void IMAGE_CORE_PREFIX() retro_get_system_av_info (struct retro_system_av_info *info)
 
static void imageviewer_reset (void)
 
void IMAGE_CORE_PREFIX() retro_init (void)
 
static void imageviewer_free_image (void)
 
void IMAGE_CORE_PREFIX() retro_deinit (void)
 
void IMAGE_CORE_PREFIX() retro_set_environment (retro_environment_t cb)
 
void IMAGE_CORE_PREFIX() retro_set_video_refresh (retro_video_refresh_t cb)
 
void IMAGE_CORE_PREFIX() retro_set_audio_sample (retro_audio_sample_t unused)
 
void IMAGE_CORE_PREFIX() retro_set_audio_sample_batch (retro_audio_sample_batch_t cb)
 
void IMAGE_CORE_PREFIX() retro_set_input_poll (retro_input_poll_t cb)
 
void IMAGE_CORE_PREFIX() retro_set_input_state (retro_input_state_t cb)
 
void IMAGE_CORE_PREFIX() retro_set_controller_port_device (unsigned a, unsigned b)
 
void IMAGE_CORE_PREFIX() retro_reset (void)
 
size_t IMAGE_CORE_PREFIX() retro_serialize_size (void)
 
bool IMAGE_CORE_PREFIX() retro_serialize (void *data, size_t size)
 
bool IMAGE_CORE_PREFIX() retro_unserialize (const void *data, size_t size)
 
void IMAGE_CORE_PREFIX() retro_cheat_reset (void)
 
void IMAGE_CORE_PREFIX() retro_cheat_set (unsigned a, bool b, const char *c)
 
static bool imageviewer_load (const char *path, int image_index)
 
bool IMAGE_CORE_PREFIX() retro_load_game (const struct retro_game_info *info)
 
bool IMAGE_CORE_PREFIX() retro_load_game_special (unsigned a, const struct retro_game_info *b, size_t c)
 
void IMAGE_CORE_PREFIX() retro_unload_game (void)
 
unsigned IMAGE_CORE_PREFIX() retro_get_region (void)
 
void *IMAGE_CORE_PREFIX() retro_get_memory_data (unsigned id)
 
size_t IMAGE_CORE_PREFIX() retro_get_memory_size (unsigned id)
 
void IMAGE_CORE_PREFIX() retro_run (void)
 
unsigned IMAGE_CORE_PREFIX() retro_api_version (void)
 

Variables

static bool process_new_image
 
static uint32_timage_buffer
 
static struct texture_image image_texture
 
static int image_width
 
static int image_height
 
static bool image_uploaded
 
static bool slideshow_enable
 
struct string_listfile_list
 

Macro Definition Documentation

◆ IMAGE_CORE_PREFIX

#define IMAGE_CORE_PREFIX (   s)    s

Function Documentation

◆ IMAGE_CORE_PREFIX() [1/7]

static retro_log_printf_t IMAGE_CORE_PREFIX ( log_cb  )
static

◆ IMAGE_CORE_PREFIX() [2/7]

static retro_video_refresh_t IMAGE_CORE_PREFIX ( video_cb  )
static

◆ IMAGE_CORE_PREFIX() [3/7]

static retro_input_poll_t IMAGE_CORE_PREFIX ( input_poll_cb  )
static

◆ IMAGE_CORE_PREFIX() [4/7]

static retro_input_state_t IMAGE_CORE_PREFIX ( input_state_cb  )
static

◆ IMAGE_CORE_PREFIX() [5/7]

static retro_audio_sample_batch_t IMAGE_CORE_PREFIX ( audio_batch_cb  )
static

◆ IMAGE_CORE_PREFIX() [6/7]

static retro_environment_t IMAGE_CORE_PREFIX ( environ_cb  )
static

◆ IMAGE_CORE_PREFIX() [7/7]

static const char* IMAGE_CORE_PREFIX ( valid_extensions  )
static

◆ imageviewer_free_image()

static void imageviewer_free_image ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageviewer_load()

static bool imageviewer_load ( const char *  path,
int  image_index 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ imageviewer_reset()

static void imageviewer_reset ( void  )
static
Here is the caller graph for this function:

◆ retro_api_version()

unsigned IMAGE_CORE_PREFIX() retro_api_version ( void  )

◆ retro_cheat_reset()

void IMAGE_CORE_PREFIX() retro_cheat_reset ( void  )

◆ retro_cheat_set()

void IMAGE_CORE_PREFIX() retro_cheat_set ( unsigned  a,
bool  b,
const char *  c 
)

◆ retro_deinit()

void IMAGE_CORE_PREFIX() retro_deinit ( void  )
Here is the call graph for this function:

◆ retro_get_memory_data()

void* IMAGE_CORE_PREFIX() retro_get_memory_data ( unsigned  id)

◆ retro_get_memory_size()

size_t IMAGE_CORE_PREFIX() retro_get_memory_size ( unsigned  id)

◆ retro_get_region()

unsigned IMAGE_CORE_PREFIX() retro_get_region ( void  )

◆ retro_get_system_av_info()

void IMAGE_CORE_PREFIX() retro_get_system_av_info ( struct retro_system_av_info info)
Here is the caller graph for this function:

◆ retro_get_system_info()

void IMAGE_CORE_PREFIX() retro_get_system_info ( struct retro_system_info info)

◆ retro_init()

void IMAGE_CORE_PREFIX() retro_init ( void  )
Here is the call graph for this function:

◆ retro_load_game()

bool IMAGE_CORE_PREFIX() retro_load_game ( const struct retro_game_info info)
Here is the call graph for this function:

◆ retro_load_game_special()

bool IMAGE_CORE_PREFIX() retro_load_game_special ( unsigned  a,
const struct retro_game_info b,
size_t  c 
)

◆ retro_reset()

void IMAGE_CORE_PREFIX() retro_reset ( void  )

◆ retro_run()

void IMAGE_CORE_PREFIX() retro_run ( void  )
Here is the call graph for this function:

◆ retro_serialize()

bool IMAGE_CORE_PREFIX() retro_serialize ( void data,
size_t  size 
)
Here is the call graph for this function:

◆ retro_serialize_size()

size_t IMAGE_CORE_PREFIX() retro_serialize_size ( void  )

◆ retro_set_audio_sample()

void IMAGE_CORE_PREFIX() retro_set_audio_sample ( retro_audio_sample_t  unused)

◆ retro_set_audio_sample_batch()

void IMAGE_CORE_PREFIX() retro_set_audio_sample_batch ( retro_audio_sample_batch_t  cb)

◆ retro_set_controller_port_device()

void IMAGE_CORE_PREFIX() retro_set_controller_port_device ( unsigned  a,
unsigned  b 
)

◆ retro_set_environment()

void IMAGE_CORE_PREFIX() retro_set_environment ( retro_environment_t  cb)
Here is the call graph for this function:

◆ retro_set_input_poll()

void IMAGE_CORE_PREFIX() retro_set_input_poll ( retro_input_poll_t  cb)

◆ retro_set_input_state()

void IMAGE_CORE_PREFIX() retro_set_input_state ( retro_input_state_t  cb)

◆ retro_set_video_refresh()

void IMAGE_CORE_PREFIX() retro_set_video_refresh ( retro_video_refresh_t  cb)

◆ retro_unload_game()

void IMAGE_CORE_PREFIX() retro_unload_game ( void  )
Here is the call graph for this function:

◆ retro_unserialize()

bool IMAGE_CORE_PREFIX() retro_unserialize ( const void data,
size_t  size 
)
Here is the call graph for this function:

Variable Documentation

◆ file_list

◆ image_buffer

uint32_t* image_buffer
static

◆ image_height

int image_height
static

◆ image_texture

struct texture_image image_texture
static

◆ image_uploaded

bool image_uploaded
static

◆ image_width

int image_width
static

◆ process_new_image

bool process_new_image
static

◆ slideshow_enable

bool slideshow_enable
static