RetroArch
|
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <retro_miscellaneous.h>
#include <libretro_dspfilter.h>
#include <string/stdstring.h>
Classes | |
struct | iir_data |
Macros | |
#define | sqr(a) ((a) * (a)) |
#define | CHECK(x) if (string_is_equal(str, #x)) return x |
Enumerations | |
enum | IIRFilter { LPF, HPF, BPCSGF, BPZPGF, APF, NOTCH, RIAA_phono, PEQ, BBOOST, LSH, HSH, RIAA_CD } |
Functions | |
static void | iir_free (void *data) |
static void | iir_process (void *data, struct dspfilter_output *output, const struct dspfilter_input *input) |
static enum IIRFilter | str_to_type (const char *str) |
static void | make_poly_from_roots (const double *roots, unsigned num_roots, float *poly) |
static void | iir_filter_init (struct iir_data *iir, float sample_rate, float freq, float qual, float gain, enum IIRFilter filter_type) |
static void * | iir_init (const struct dspfilter_info *info, const struct dspfilter_config *config, void *userdata) |
const struct dspfilter_implementation * | dspfilter_get_implementation (dspfilter_simd_mask_t mask) |
Variables | |
static const struct dspfilter_implementation | iir_plug |
enum IIRFilter |
const struct dspfilter_implementation* dspfilter_get_implementation | ( | dspfilter_simd_mask_t | mask | ) |
|
static |
|
static |
|
static |
|
static |