RetroArch
Classes | Macros | Typedefs | Functions
libretro_dspfilter.h File Reference
#include <retro_common_api.h>
Include dependency graph for libretro_dspfilter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  dspfilter_info
 
struct  dspfilter_output
 
struct  dspfilter_input
 
struct  dspfilter_config
 
struct  dspfilter_implementation
 

Macros

#define DSPFILTER_SIMD_SSE   (1 << 0)
 
#define DSPFILTER_SIMD_SSE2   (1 << 1)
 
#define DSPFILTER_SIMD_VMX   (1 << 2)
 
#define DSPFILTER_SIMD_VMX128   (1 << 3)
 
#define DSPFILTER_SIMD_AVX   (1 << 4)
 
#define DSPFILTER_SIMD_NEON   (1 << 5)
 
#define DSPFILTER_SIMD_SSE3   (1 << 6)
 
#define DSPFILTER_SIMD_SSSE3   (1 << 7)
 
#define DSPFILTER_SIMD_MMX   (1 << 8)
 
#define DSPFILTER_SIMD_MMXEXT   (1 << 9)
 
#define DSPFILTER_SIMD_SSE4   (1 << 10)
 
#define DSPFILTER_SIMD_SSE42   (1 << 11)
 
#define DSPFILTER_SIMD_AVX2   (1 << 12)
 
#define DSPFILTER_SIMD_VFPU   (1 << 13)
 
#define DSPFILTER_SIMD_PS   (1 << 14)
 
#define DSPFILTER_API_VERSION   1
 

Typedefs

typedef unsigned dspfilter_simd_mask_t
 
typedef const struct dspfilter_implementation *(* dspfilter_get_implementation_t) (dspfilter_simd_mask_t mask)
 
typedef int(* dspfilter_config_get_float_t) (void *userdata, const char *key, float *value, float default_value)
 
typedef int(* dspfilter_config_get_int_t) (void *userdata, const char *key, int *value, int default_value)
 
typedef int(* dspfilter_config_get_float_array_t) (void *userdata, const char *key, float **values, unsigned *out_num_values, const float *default_values, unsigned num_default_values)
 
typedef int(* dspfilter_config_get_int_array_t) (void *userdata, const char *key, int **values, unsigned *out_num_values, const int *default_values, unsigned num_default_values)
 
typedef int(* dspfilter_config_get_string_t) (void *userdata, const char *key, char **output, const char *default_output)
 
typedef void(* dspfilter_config_free_t) (void *ptr)
 
typedef void *(* dspfilter_init_t) (const struct dspfilter_info *info, const struct dspfilter_config *config, void *userdata)
 
typedef void(* dspfilter_free_t) (void *data)
 
typedef void(* dspfilter_process_t) (void *data, struct dspfilter_output *output, const struct dspfilter_input *input)
 

Functions

const struct dspfilter_implementationdspfilter_get_implementation (dspfilter_simd_mask_t mask)
 

Macro Definition Documentation

◆ DSPFILTER_API_VERSION

#define DSPFILTER_API_VERSION   1

◆ DSPFILTER_SIMD_AVX

#define DSPFILTER_SIMD_AVX   (1 << 4)

◆ DSPFILTER_SIMD_AVX2

#define DSPFILTER_SIMD_AVX2   (1 << 12)

◆ DSPFILTER_SIMD_MMX

#define DSPFILTER_SIMD_MMX   (1 << 8)

◆ DSPFILTER_SIMD_MMXEXT

#define DSPFILTER_SIMD_MMXEXT   (1 << 9)

◆ DSPFILTER_SIMD_NEON

#define DSPFILTER_SIMD_NEON   (1 << 5)

◆ DSPFILTER_SIMD_PS

#define DSPFILTER_SIMD_PS   (1 << 14)

◆ DSPFILTER_SIMD_SSE

#define DSPFILTER_SIMD_SSE   (1 << 0)

◆ DSPFILTER_SIMD_SSE2

#define DSPFILTER_SIMD_SSE2   (1 << 1)

◆ DSPFILTER_SIMD_SSE3

#define DSPFILTER_SIMD_SSE3   (1 << 6)

◆ DSPFILTER_SIMD_SSE4

#define DSPFILTER_SIMD_SSE4   (1 << 10)

◆ DSPFILTER_SIMD_SSE42

#define DSPFILTER_SIMD_SSE42   (1 << 11)

◆ DSPFILTER_SIMD_SSSE3

#define DSPFILTER_SIMD_SSSE3   (1 << 7)

◆ DSPFILTER_SIMD_VFPU

#define DSPFILTER_SIMD_VFPU   (1 << 13)

◆ DSPFILTER_SIMD_VMX

#define DSPFILTER_SIMD_VMX   (1 << 2)

◆ DSPFILTER_SIMD_VMX128

#define DSPFILTER_SIMD_VMX128   (1 << 3)

Typedef Documentation

◆ dspfilter_config_free_t

typedef void(* dspfilter_config_free_t) (void *ptr)

◆ dspfilter_config_get_float_array_t

typedef int(* dspfilter_config_get_float_array_t) (void *userdata, const char *key, float **values, unsigned *out_num_values, const float *default_values, unsigned num_default_values)

◆ dspfilter_config_get_float_t

typedef int(* dspfilter_config_get_float_t) (void *userdata, const char *key, float *value, float default_value)

◆ dspfilter_config_get_int_array_t

typedef int(* dspfilter_config_get_int_array_t) (void *userdata, const char *key, int **values, unsigned *out_num_values, const int *default_values, unsigned num_default_values)

◆ dspfilter_config_get_int_t

typedef int(* dspfilter_config_get_int_t) (void *userdata, const char *key, int *value, int default_value)

◆ dspfilter_config_get_string_t

typedef int(* dspfilter_config_get_string_t) (void *userdata, const char *key, char **output, const char *default_output)

◆ dspfilter_free_t

typedef void(* dspfilter_free_t) (void *data)

◆ dspfilter_get_implementation_t

typedef const struct dspfilter_implementation*( * dspfilter_get_implementation_t) (dspfilter_simd_mask_t mask)

◆ dspfilter_init_t

typedef void*(* dspfilter_init_t) (const struct dspfilter_info *info, const struct dspfilter_config *config, void *userdata)

◆ dspfilter_process_t

typedef void(* dspfilter_process_t) (void *data, struct dspfilter_output *output, const struct dspfilter_input *input)

◆ dspfilter_simd_mask_t

typedef unsigned dspfilter_simd_mask_t

Function Documentation

◆ dspfilter_get_implementation()

const struct dspfilter_implementation* dspfilter_get_implementation ( dspfilter_simd_mask_t  mask)
Here is the call graph for this function: