]> git.sesse.net Git - mlt/blob - src/modules/videostab/stab/utils.h
Fix compile error on MAXFLOAT.
[mlt] / src / modules / videostab / stab / utils.h
1 #ifndef UTILS_H
2 #define UTILS_H
3
4 #include "vector.h"
5
6 #ifndef M_PI
7 #define M_PI 3.14159265358979323846
8 #endif
9
10 #ifndef TRUE
11 #define TRUE 1
12 #endif
13
14 #ifndef FALSE
15 #define FALSE 0
16 #endif
17
18 int *lanc_kernels;
19
20 float lanc(float, float);
21 float hann(float, float);
22
23 int clamp(int, int, int);
24
25 void lopass(vc *, vc *, int, int);
26 void hipass(vc *, vc *, int, int);
27
28 void prepare_lanc_kernels();
29 int *select_lanc_kernel(float);
30 void free_lanc_kernels();
31
32 vc interp(vc *, int, float);
33
34 #endif
35