23 #ifndef _LIBRETRO_SDK_FILTERS_H 24 #define _LIBRETRO_SDK_FILTERS_H 27 #define _USE_MATH_DEFINES 49 if (pa <= pb && pa <= pc)
62 double factorial = 1.0;
63 double factorial_mult = 0.0;
65 double two_div_pow = 1.0;
70 for (i = 0; i < 18; i++)
72 sum += x_pow * two_div_pow / (factorial * factorial);
74 factorial_mult += 1.0;
77 factorial *= factorial_mult;
GLuint GLfloat * val
Definition: glext.h:7847
#define INLINE
Definition: retro_inline.h:35
static INLINE double lanzcos_window_function(double index)
Definition: filters.h:88
#define M_PI
Definition: compat.h:190
const GLubyte * c
Definition: glext.h:9812
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
#define fabs(x)
Definition: math.h:27
static INLINE double sinc(double val)
Definition: filters.h:34
static INLINE int paeth(int a, int b, int c)
Definition: filters.h:42
GLint GLint GLint GLint GLint x
Definition: glext.h:6295
GLfloat GLfloat p
Definition: glext.h:9809
GLuint index
Definition: glext.h:6671
#define sin(x)
Definition: math.h:23
static INLINE double besseli0(double x)
Definition: filters.h:58
static INLINE double kaiser_window_function(double index, double beta)
Definition: filters.h:83
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844