RetroArch
Classes | Functions | Variables
video_filter.c File Reference
#include <stdlib.h>
#include <file/file_path.h>
#include <file/config_file_userdata.h>
#include <lists/dir_list.h>
#include <dynamic/dylib.h>
#include <features/features_cpu.h>
#include <string/stdstring.h>
#include <retro_miscellaneous.h>
#include "../frontend/frontend_driver.h"
#include "../dynamic.h"
#include "../performance_counters.h"
#include "../verbosity.h"
#include "video_filter.h"
#include "video_filters/softfilter.h"
Include dependency graph for video_filter.c:

Classes

struct  rarch_soft_plug
 
struct  rarch_softfilter
 

Functions

static const struct softfilter_implementationsoftfilter_find_implementation (rarch_softfilter_t *filt, const char *ident)
 
static bool create_softfilter_graph (rarch_softfilter_t *filt, enum retro_pixel_format in_pixel_format, unsigned max_width, unsigned max_height, softfilter_simd_mask_t cpu_features, unsigned threads)
 
static bool append_softfilter_plugs (rarch_softfilter_t *filt, struct string_list *list)
 
rarch_softfilter_trarch_softfilter_new (const char *filter_config, unsigned threads, enum retro_pixel_format in_pixel_format, unsigned max_width, unsigned max_height)
 
void rarch_softfilter_free (rarch_softfilter_t *filt)
 
void rarch_softfilter_get_max_output_size (rarch_softfilter_t *filt, unsigned *width, unsigned *height)
 
void rarch_softfilter_get_output_size (rarch_softfilter_t *filt, unsigned *out_width, unsigned *out_height, unsigned width, unsigned height)
 
enum retro_pixel_format rarch_softfilter_get_output_format (rarch_softfilter_t *filt)
 
void rarch_softfilter_process (rarch_softfilter_t *filt, void *output, size_t output_stride, const void *input, unsigned width, unsigned height, size_t input_stride)
 

Variables

static const struct softfilter_config softfilter_config
 

Function Documentation

◆ append_softfilter_plugs()

static bool append_softfilter_plugs ( rarch_softfilter_t filt,
struct string_list list 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create_softfilter_graph()

static bool create_softfilter_graph ( rarch_softfilter_t filt,
enum retro_pixel_format  in_pixel_format,
unsigned  max_width,
unsigned  max_height,
softfilter_simd_mask_t  cpu_features,
unsigned  threads 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rarch_softfilter_free()

void rarch_softfilter_free ( rarch_softfilter_t filt)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rarch_softfilter_get_max_output_size()

void rarch_softfilter_get_max_output_size ( rarch_softfilter_t filt,
unsigned *  width,
unsigned *  height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rarch_softfilter_get_output_format()

enum retro_pixel_format rarch_softfilter_get_output_format ( rarch_softfilter_t filt)
Here is the caller graph for this function:

◆ rarch_softfilter_get_output_size()

void rarch_softfilter_get_output_size ( rarch_softfilter_t filt,
unsigned *  out_width,
unsigned *  out_height,
unsigned  width,
unsigned  height 
)
Here is the caller graph for this function:

◆ rarch_softfilter_new()

rarch_softfilter_t* rarch_softfilter_new ( const char *  filter_config,
unsigned  threads,
enum retro_pixel_format  in_pixel_format,
unsigned  max_width,
unsigned  max_height 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ rarch_softfilter_process()

void rarch_softfilter_process ( rarch_softfilter_t filt,
void output,
size_t  output_stride,
const void input,
unsigned  width,
unsigned  height,
size_t  input_stride 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ softfilter_find_implementation()

static const struct softfilter_implementation* softfilter_find_implementation ( rarch_softfilter_t filt,
const char *  ident 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ softfilter_config

Initial value:
= {
}
int config_userdata_get_float(void *userdata, const char *key_str, float *value, float default_value)
Definition: config_file_userdata.c:28
int config_userdata_get_float_array(void *userdata, const char *key_str, float **values, unsigned *out_num_values, const float *default_values, unsigned num_default_values)
Definition: config_file_userdata.c:64
int config_userdata_get_string(void *userdata, const char *key_str, char **output, const char *default_output)
Definition: config_file_userdata.c:125
int config_userdata_get_int_array(void *userdata, const char *key_str, int **values, unsigned *out_num_values, const int *default_values, unsigned num_default_values)
Definition: config_file_userdata.c:95
int config_userdata_get_int(void *userdata, const char *key_str, int *value, int default_value)
Definition: config_file_userdata.c:46
void config_userdata_free(void *ptr)
Definition: config_file_userdata.c:145