RetroArch
Classes | Functions | Variables
normal2x.c File Reference
#include "softfilter.h"
#include <stdlib.h>
Include dependency graph for normal2x.c:

Classes

struct  softfilter_thread_data
 
struct  filter_data
 

Functions

static unsigned normal2x_generic_input_fmts (void)
 
static unsigned normal2x_generic_output_fmts (unsigned input_fmts)
 
static unsigned normal2x_generic_threads (void *data)
 
static voidnormal2x_generic_create (const struct softfilter_config *config, unsigned in_fmt, unsigned out_fmt, unsigned max_width, unsigned max_height, unsigned threads, softfilter_simd_mask_t simd, void *userdata)
 
static void normal2x_generic_output (void *data, unsigned *out_width, unsigned *out_height, unsigned width, unsigned height)
 
static void normal2x_generic_destroy (void *data)
 
static void normal2x_work_cb_xrgb8888 (void *data, void *thread_data)
 
static void normal2x_work_cb_rgb565 (void *data, void *thread_data)
 
static void normal2x_generic_packets (void *data, struct softfilter_work_packet *packets, void *output, size_t output_stride, const void *input, unsigned width, unsigned height, size_t input_stride)
 
const struct softfilter_implementationsoftfilter_get_implementation (softfilter_simd_mask_t simd)
 

Variables

static const struct softfilter_implementation normal2x_generic
 

Function Documentation

◆ normal2x_generic_create()

static void* normal2x_generic_create ( const struct softfilter_config config,
unsigned  in_fmt,
unsigned  out_fmt,
unsigned  max_width,
unsigned  max_height,
unsigned  threads,
softfilter_simd_mask_t  simd,
void userdata 
)
static
Here is the call graph for this function:

◆ normal2x_generic_destroy()

static void normal2x_generic_destroy ( void data)
static
Here is the call graph for this function:

◆ normal2x_generic_input_fmts()

static unsigned normal2x_generic_input_fmts ( void  )
static

◆ normal2x_generic_output()

static void normal2x_generic_output ( void data,
unsigned *  out_width,
unsigned *  out_height,
unsigned  width,
unsigned  height 
)
static

◆ normal2x_generic_output_fmts()

static unsigned normal2x_generic_output_fmts ( unsigned  input_fmts)
static

◆ normal2x_generic_packets()

static void normal2x_generic_packets ( void data,
struct softfilter_work_packet packets,
void output,
size_t  output_stride,
const void input,
unsigned  width,
unsigned  height,
size_t  input_stride 
)
static
Here is the call graph for this function:

◆ normal2x_generic_threads()

static unsigned normal2x_generic_threads ( void data)
static

◆ normal2x_work_cb_rgb565()

static void normal2x_work_cb_rgb565 ( void data,
void thread_data 
)
static
Here is the caller graph for this function:

◆ normal2x_work_cb_xrgb8888()

static void normal2x_work_cb_xrgb8888 ( void data,
void thread_data 
)
static
Here is the caller graph for this function:

◆ softfilter_get_implementation()

const struct softfilter_implementation* softfilter_get_implementation ( softfilter_simd_mask_t  simd)
Here is the call graph for this function:

Variable Documentation

◆ normal2x_generic

const struct softfilter_implementation normal2x_generic
static
Initial value:
= {
"Normal2x",
"normal2x",
}
static void * normal2x_generic_create(const struct softfilter_config *config, unsigned in_fmt, unsigned out_fmt, unsigned max_width, unsigned max_height, unsigned threads, softfilter_simd_mask_t simd, void *userdata)
Definition: normal2x.c:64
static unsigned normal2x_generic_threads(void *data)
Definition: normal2x.c:58
static unsigned normal2x_generic_input_fmts(void)
Definition: normal2x.c:48
#define SOFTFILTER_API_VERSION
Definition: softfilter.h:96
static void normal2x_generic_destroy(void *data)
Definition: normal2x.c:97
static void normal2x_generic_output(void *data, unsigned *out_width, unsigned *out_height, unsigned width, unsigned height)
Definition: normal2x.c:89
static unsigned normal2x_generic_output_fmts(unsigned input_fmts)
Definition: normal2x.c:53
static void normal2x_generic_packets(void *data, struct softfilter_work_packet *packets, void *output, size_t output_stride, const void *input, unsigned width, unsigned height, size_t input_stride)
Definition: normal2x.c:163