]> git.sesse.net Git - mlt/blob - src/modules/videostab/stab/utils.h
Improvements to qtext to improve the use of cached path and image data
[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
19 float lanc(float, float);
20 float hann(float, float);
21
22 int clamp(int, int, int);
23
24 void lopass(vc *, vc *, int, int);
25 void hipass(vc *, vc *, int, int);
26
27 int* prepare_lanc_kernels();
28 int *select_lanc_kernel(int*,float);
29 void free_lanc_kernels(int*);
30
31 vc interp(int*,vc *, int, float);
32
33 #endif
34