r668: Configure.in and autogen.sh cleanup based on ideas by giskard.
[cinelerra_cv.git] / cinelerra / maskautos.h
blob37f868a306a0c8bf11058058f5964cbb3cac2464
1 #ifndef MASKAUTOS_H
2 #define MASKAUTOS_H
5 #include "autos.h"
6 #include "edl.inc"
7 #include "maskauto.inc"
8 #include "track.inc"
10 class MaskAutos : public Autos
12 public:
13 MaskAutos(EDL *edl, Track *track);
14 ~MaskAutos();
16 Auto* new_auto();
19 void dump();
21 static void avg_points(MaskPoint *output,
22 MaskPoint *input1,
23 MaskPoint *input2,
24 int64_t output_position,
25 int64_t position1,
26 int64_t position2);
27 int mask_exists(int64_t position, int direction);
28 // Perform interpolation
29 void get_points(ArrayList<MaskPoint*> *points, int submask, int64_t position, int direction);
30 int total_submasks(int64_t position, int direction);
31 // Translates all mask points
32 void translate_masks(float translate_x, float translate_y);
38 #endif