Ardour  9.0-pre0-582-g084a23a80d
spline.h File Reference
#include "ardour/libardour_visibility.h"
#include <cstdint>
Include dependency graph for spline.h:

Go to the source code of this file.

Classes

struct  _spline_point
 
struct  _spline
 

Typedefs

typedef struct _spline Spline
 
typedef struct _spline_point SplinePoint
 

Functions

Splinespline_new (void)
 
void spline_free (Spline *)
 
void spline_set (Spline *, uint32_t n, SplinePoint *)
 
void spline_add (Spline *, uint32_t n, SplinePoint *)
 
void spline_solve (Spline *)
 
float spline_eval (Spline *, float val)
 
void spline_fill (Spline *, float x0, float x1, float *vec, uint32_t veclen)
 
float spline_get_max_x (Spline *)
 
float spline_get_min_x (Spline *)
 

Typedef Documentation

◆ Spline

typedef struct _spline Spline

Definition at line 1 of file spline.h.

◆ SplinePoint

typedef struct _spline_point SplinePoint

Definition at line 1 of file spline.h.

Function Documentation

◆ spline_add()

void spline_add ( Spline ,
uint32_t  n,
SplinePoint  
)

◆ spline_eval()

float spline_eval ( Spline ,
float  val 
)

◆ spline_fill()

void spline_fill ( Spline ,
float  x0,
float  x1,
float *  vec,
uint32_t  veclen 
)

◆ spline_free()

void spline_free ( Spline )

◆ spline_get_max_x()

float spline_get_max_x ( Spline )

◆ spline_get_min_x()

float spline_get_min_x ( Spline )

◆ spline_new()

Spline* spline_new ( void  )

◆ spline_set()

void spline_set ( Spline ,
uint32_t  n,
SplinePoint  
)

◆ spline_solve()

void spline_solve ( Spline )